Home

Converting pixels to centimeters, considering DPI resolution

Published on 10 Feb 2009. Tagged with dpi, pixels, centimeters.

px  = cm * dpi / 2.54
cm  = px / dpi * 2.54
dpi = px / cm  * 2.54

Using a resolution of 140 DPI, 248 pixels would be equal to 4.5 centimeters:

140 ~= 248 / 4.5 * 2.54