Pixel Converter

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.

pxcm
38px1.0054cm
76px2.0108cm
96px2.54cm
114px3.0163cm
151px3.9952cm
189px5.0006cm
227px6.006cm
302px7.9904cm
378px10.0013cm
454px12.0121cm
567px15.0019cm
756px20.0025cm
945px25.0031cm
1134px30.0038cm

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.

Related converters

Pixels to Centimeters Converter FAQs

Divide the pixel count by the DPI to get inches, then multiply by 2.54. At 96 DPI, 96px = 2.54cm, so 1cm ≈ 37.8px.
At the 96 DPI CSS reference, 1cm ≈ 37.8 pixels (96 ÷ 2.54). At 300 DPI, 1cm ≈ 118 pixels. It depends on the DPI you set.
The pixel-to-physical relationship is defined per inch (DPI). Centimeters relate to inches by the fixed factor 2.54, so px → inches → cm is the reliable path.
Use 300 DPI for high-quality print and 150 for larger formats. Enter your export DPI so the centimeter result matches the physical output.