Skip to content

Pixels to cm and cm to pixels: free converter with mm and inches

Convert pixels to centimetres, millimetres or inches at any DPI. Both directions, instant math.

No sign-up · calculated right in your browser

01How it works

Pixels to centimetres and millimetres

Convert pixels to cm, mm or inches at any DPI — and back. Check that your photo file really matches the printed size. The formula is shown on the page.

  1. 01

    Type a value in any unit (px, cm, mm, in).

  2. 02

    Pick your DPI (300 is the safe default).

  3. 03

    Read the converted value in the other units.

Digital upload vs printed photo — what changes →

02Price

Calculating is free. A document photo — by the AI

Free, right here

  • 01Instant, no photo upload
  • 02Calculated right in your browser
  • 03No ads
  • 04As many times as you like

No sign-up, no card.

AI correction

When adjusting the file is not enough: fixes light, shadows, clothing and pose and makes the photo to the document’s rules. You see the result before paying.

€5.99per photo, one-off, no subscription

If it’s rejected, we refund you

Make a document photo
03Questions

Frequently asked questions about document photos

What's the formula for pixels to cm?

cm = (pixels ÷ DPI) × 2.54. Example: 1200 pixels at 300 DPI = (1200 ÷ 300) × 2.54 = 10.16 cm.

And mm to pixels?

pixels = (mm ÷ 25.4) × DPI. Example: 35 mm at 300 DPI = (35 ÷ 25.4) × 300 ≈ 413 pixels.

Why does the result have decimals?

Pixels are integers but the conversion factor (25.4 mm per inch) isn't. We round the pixel output to the nearest integer (since you can't have a fractional pixel) and show physical dimensions to 0.1 mm.