Unit Converter / Centimeters to Pixels

Centimeters to Pixels Converter

1 centimeter = 37.7953 pixels at 96 DPI, the CSS reference resolution. To convert, multiplycentimeters by 37.7953: cm × 37.7953 = px. Change the DPI below for print and image work, where a pixel is whatever the output resolution says it is.

=
Swap: convert pixels to centimeters instead

Centimeters to Pixels table

Standard values at 96 DPI.

Centimeters (cm)Pixels (px)
137.7953
275.5906
2.5496
5188.9764
10377.9528
15566.9291
21793.7008
25944.8819
29.71122.5197
301133.8583

How the conversion works

The metric print unit outside the US: A4 paper is 21 by 29.7 centimeters. One centimeter is exactly 0.3937 inches. The screen unit. CSS defines the reference pixel so that 96 px make one inch at arm's-length viewing distance. The CSS specification anchors the whole system to the inch: at the reference resolution of 96 DPI, one inch is exactly 96 pixels, one point is 96/72 pixels, and the metric units follow from the inch being exactly 25.4 millimeters. Converting centimeters to pixels therefore goes through that anchor: centimeters to pixels, then pixels to pixels. For example,15 cm = 566.9291 px.

The DPI setting matters only when pixels meet the physical world. On screen, CSS pixels are defined by the 96 DPI reference and the conversion above is exact. In a 300 DPI print file or image, an inch holds 300 pixels instead, so the same measurement converts differently; set the resolution to match the file you are working with.

Related conversions

Convert centimeters to

Convert to pixels

All converters