What is a PX to CM converter?
A PX to CM converter calculates a centimeter length from a pixel value at a chosen pixel density. Pixels describe a digital dimension, while centimeters describe a physical length, so the conversion needs a PPI value.
At the CSS reference density of 96 PPI, 100px equals about 2.645833cm. The same 100 pixels equal only 0.846667cm at 300 PPI because more pixels are packed into each inch.
How to convert pixels to centimeters
- Enter a pixel value, or choose Dimensions to enter width and height.
- Keep 96 PPI for CSS calculations, choose 300 for a common print target, or enter another PPI.
- Copy the centimeter result or export the current conversion table.
Both unit panels are editable. You can also change the displayed decimal places without changing the value used for calculation.
PX to CM formula and example
Use this formula:
Centimeters = Pixels × 2.54 ÷ PPI
For 300 pixels at 96 PPI:
300 × 2.54 ÷ 96 = 7.9375cm
The factor 2.54 comes from the exact relationship 1 inch = 2.54 centimeters.
Common pixels to centimeters conversions
The interactive table above follows the selected PPI. This comparison shows why a pixel value has no single physical size:
| Pixels | 96 PPI | 150 PPI | 300 PPI |
|---|---|---|---|
| 1px | 0.026458cm | 0.016933cm | 0.008467cm |
| 100px | 2.645833cm | 1.693333cm | 0.846667cm |
| 300px | 7.9375cm | 5.08cm | 2.54cm |
| 600px | 15.875cm | 10.16cm | 5.08cm |
| 1920px | 50.8cm | 32.512cm | 16.256cm |
CSS pixels vs. physical centimeters
CSS defines 1in = 96px and 1in = 2.54cm, which makes 1cm equal to about 37.795276px in CSS unit calculations. This is useful when converting stylesheet values.
That relationship does not guarantee that a CSS centimeter will measure exactly one physical centimeter on every screen. Browser zoom, operating-system scaling, and device characteristics can change the displayed physical size. For images and print, use the PPI required by the output workflow.
Single values and image dimensions
Single value mode is useful for a quick CSS or design measurement. Dimensions mode converts width and height with the same PPI, such as 1920 × 1080px.
Changing PPI changes the centimeter result but does not resample or edit an image. Use an image resizing tool when the pixel dimensions themselves must change.
PPI vs. DPI
PPI means pixels per inch and is the value used by the conversion formula. DPI means dots per inch and usually describes printer output. The terms are often mixed in print workflows, so the converter labels the setting PPI / DPI while calculating with PPI.
Need the reverse calculation? Use the CM to PX Converter. For root-relative CSS values, use the PX to REM Converter.
PX to CM FAQ
How many centimeters is one pixel?
It depends on PPI. At 96 PPI, one pixel is about 0.026458cm. At 300 PPI, it is about 0.008467cm.
Can I convert pixels to centimeters without PPI?
Only by choosing an assumption. Use 96 PPI for the CSS unit relationship, or enter the target PPI for an image or print job.
What is 1920 × 1080 pixels in centimeters?
At 96 PPI it is 50.8 × 28.575cm. At 300 PPI it is 16.256 × 9.144cm.
Why does a higher PPI produce fewer centimeters?
A higher PPI packs the same number of pixels into a smaller physical area.
Does changing PPI change my image?
No. This converter only calculates dimensions. It does not upload, resize, resample, or export an image.
Can I enter negative pixel values?
No. Physical width and height cannot be negative, so this converter accepts only zero or positive values.