Pixel Converter

Centimeters to Pixels Converter

Convert centimeters to pixels at a chosen resolution. There are 2.54 cm per inch, and 1 inch equals 96px at the CSS reference.

Pixels per inch — 96 for screen, 150–300 for print.

Result

604.7244px

Formula

px = (cm ÷ 2.54) × DPI (default DPI 96)

Conversion table

cm → px at resolution (dpi) = 96.

cmpx
0.5cm18.8976px
1cm37.7953px
1.5cm56.6929px
2cm75.5906px
2.54cm96px
3cm113.3858px
4cm151.1811px
5cm188.9764px
6cm226.7717px
8cm302.3622px
10cm377.9528px
15cm566.9291px
20cm755.9055px
21cm793.7008px
29.7cm1122.5197px
30cm1133.8583px

About the Centimeters to Pixels conversion

A centimeter is a metric length; converting it to pixels goes through inches. Divide the centimeter value by 2.54 to get inches, then multiply by the DPI to get pixels.

At the 96 DPI CSS reference, 2.54cm is 96px, so 1cm is about 37.8px. For print, set the DPI to 150 or 300 to compute the correct pixel dimensions.

Use this centimeters to pixels converter when a physical measurement in metric units needs to become the pixel dimensions your design or print workflow requires.

Related converters

Centimeters to Pixels Converter FAQs

Divide the cm value by 2.54 to get inches, then multiply by the DPI. At 96 DPI, 1cm ≈ 37.8px and 2.54cm = 96px.
At the 96 DPI CSS reference, 1cm ≈ 37.8 pixels. At 300 DPI it is about 118 pixels. The result depends on the DPI you enter.
Use 96 for on-screen CSS, and 150–300 for print. Higher DPI yields more pixels for the same physical size, producing sharper output.
A centimeter is a length and a pixel is a count, so you must know how many pixels fit per inch (the DPI) to convert accurately between them.