Pixels to Centimeters

Convert in either direction between pixel length and centimeters using an explicit PPI.

px
PPI

Physical length

50.8 cm
Density used
96 PPI

CSS uses 96 reference pixels per inch. Enter the actual screen density or chosen print PPI for a physical measurement.

Worked example

At 300 PPI, 1500 px spans 12.7 cm. A 15 cm print at that density needs at least 1772 whole pixels along that edge.

How it works

Divide pixels by PPI and multiply by 2.54 to get centimeters. For the reverse conversion, divide centimeters by 2.54 and multiply by PPI.

What to check

Round up if you need enough whole pixels to meet a minimum print density.