Length in cm and DPI

Physical length in centimeters and DPI—pixel count along that length (px = cm ÷ 2.54 × DPI).

FAQ

How does DPI enter the formula?

Pixels = (cm ÷ 2.54) × DPI—inches from centimeters times dots per inch. The displayed pixel count is rounded to the nearest whole pixel. Physical DPI on a screen may differ from your design DPI.

Does the decimal separator matter?

This calculator uses plain decimal numbers. If a result looks wrong, check whether you used a comma instead of a dot (or vice versa) where the field expects one.