Pixels to Centimeters Converter
Convert pixels to centimeters at a chosen resolution. There are 2.54 cm per inch, and 96px equals 1 inch at the CSS reference.
Pixels per inch — 96 for screen, 150–300 for print.
Result
0.4233cm
Formula
cm = (px ÷ DPI) × 2.54 (default DPI 96)Conversion table
px → cm at resolution (dpi) = 96.
About the Pixels to Centimeters conversion
A centimeter is a metric length. Converting pixels to centimeters goes through inches: divide the pixel count by the DPI to get inches, then multiply by 2.54 because there are 2.54 centimeters in one inch.
At the 96 DPI CSS reference, 96px is 2.54cm, so roughly 37.8px make up 1cm. Set the DPI to your export resolution when preparing assets for print at 150 or 300 DPI.
This pixels to centimeters converter is handy for print preparation, physical layout sizing, or understanding the real-world width of a screen element in metric units.