CM to PX Converter

cm
px

Result: 37.8px

Calculation based on the CSS reference pixel of 37.795275591 pixels per inch (96px = 2.54cm).

How to Use the Converter?

1

Select the input field labeled "Centimeters"

2

Change the number in an input field

3

Converter will automatically convert

Support Our Work

Your support powers this tool for developers everywhere.

You May Like These Websites

Find the perfect website for your needs with our curated list of top-rated options.

CM to PX: How the Conversion Works

Converting centimeters to pixels translates a physical, metric measurement into digital design units. Since the CSS standard fixes 1 inch at 96px, and 1 inch equals 2.54cm, each centimeter works out to approximately 37.8 pixels.

This conversion is especially useful when working from metric print specifications, packaging dimensions, or European paper sizes and needing to reproduce them accurately in a web layout or design tool.

For example, a 15cm × 21cm A5 page equals roughly 567px × 794px at 96 DPI. A 5cm icon equals about 189px.

Use the converter above to instantly switch between centimeters and pixels for any value.

Common CM to PX Conversions

0.5cm

19px

1cm

38px

2.54cm

96px

5cm

189px

10cm

378px

15cm

567px

21cm

794px

29.7cm

1123px

Quick Conversion Tips

Converting CM to PX

Multiply the centimeter value by 37.795275591. Example: 10cm × 37.8 ≈ 378px

Converting PX to CM

Divide the pixel value by 37.795275591. Example: 378px ÷ 37.8 ≈ 10cm

Learn More About CSS Units

PX vs Inches, MM, and CM

Learn how pixels relate to inches, millimeters, and centimeters using the CSS 96 DPI standard, and avoid the most common print-design conversion mistake.

Read our comprehensive guide →

Related Converters

Frequently Asked Questions

How many px is 1cm?

1 centimeter equals approximately 37.8 pixels, based on the CSS standard of 96 pixels per inch.

How do I convert cm to px?

Multiply the centimeter value by 37.795275591. For example, 2cm × 37.8 ≈ 75.6px. Use the converter above for instant results.

How do I convert px to cm?

Divide the pixel value by 37.795275591. For example, 75.6px ÷ 37.8 ≈ 2cm.

Why use cm instead of inches?

Centimeters are the standard metric unit of length used by most countries, making cm-to-px conversion practical for international print and packaging specifications.

Does screen resolution affect this conversion?

No, this conversion uses the fixed CSS reference pixel (96 DPI), a logical unit that stays consistent regardless of a screen's actual physical pixel density.