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.
Centimeters to Pixels table
Standard values at 96 DPI.
| Centimeters (cm) | Pixels (px) |
|---|---|
| 1 | 37.7953 |
| 2 | 75.5906 |
| 2.54 | 96 |
| 5 | 188.9764 |
| 10 | 377.9528 |
| 15 | 566.9291 |
| 21 | 793.7008 |
| 25 | 944.8819 |
| 29.7 | 1122.5197 |
| 30 | 1133.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.