Skip to content
PictureToLink logoPictureToLink
Menu

Pixels to cm converter

100 pixels is 2.646 cm at the 96 PPI that CSS uses, and a 1920 × 1080 px image is 16.256 × 9.144 cm when printed at 300 DPI. Enter a number of pixels, or a width and height, and the resolution to get the length in centimeters, millimeters and inches.

Change any value and the result updates as you type.

px

96 PPI is the CSS reference pixel (1 in = 96 px) and the default Windows setting. Pick 300 DPI for the size a photo prints at.

Centimeters

28.575 cm

1,080 px ÷ 96 PPI × 2.54

Millimeters
285.75 mm
Inches
11.25 in
Resolution used
96 PPI
1,080 px at other resolutions
ResolutionCentimetersMillimeters
72 PPI38.1 cm381 mm
96 PPI28.575 cm285.75 mm
150 PPI18.288 cm182.88 mm
300 PPI9.144 cm91.44 mm
600 PPI4.572 cm45.72 mm

Calculated in your browser; nothing you type is sent or stored. Spotted a wrong result? Tell us.

By Ahsan Khowaja (CEO) · Updated 10 November 2026

On this page

How to convert pixel dimensions to cm

  1. Leave single length selected to convert one number (how long is 350 px?), or switch to image size to convert a width and height at once.
  2. Type the pixels.
  3. Choose a resolution. By default it uses 96 PPI, the value CSS and Windows use for screens, so it answers the everyday "how big is 100 px?" question. Switch to 300 DPI to see how large the same pixels come out on photo paper, or use Custom.
  4. Read the centimeters, the millimeters and the inches. Below the result, a table repeats the conversion at each other resolution, so you can compare screen and print.

Why does the pixel to cm converter always ask for a resolution? Because a pixel is a count and has no length of its own. Those same 1080 pixels are 28.575 cm across a 96 PPI screen and 9.144 cm on a 300 DPI print.

So decide first where the image will end up. If it's going on a screen, use 96 PPI. If it's being printed, use the printer's DPI, usually 300. Mixing them up is the usual reason an answer comes out three times too big or too small.

Formula: cm = pixels ÷ PPI × 2.54

Divide the pixels by the pixels per inch to get inches. Then multiply by 2.54, because an inch is defined as exactly 2.54 centimeters. On one line:

cm = px ÷ PPI × 2.54, and mm = px ÷ PPI × 25.4.

  • 100 px to cm at 96 PPI: 100 ÷ 96 = 1.0417 in; × 2.54 = 2.646 cm (26.458 mm).
  • 200 pixels in cm: 200 ÷ 96 × 2.54 = 5.292 cm. At 300 DPI it is 1.693 cm.
  • 350 pixels in cm: 350 ÷ 96 × 2.54 = 9.26 cm; at 300 DPI, 2.963 cm.
  • 1080 pixels in cm: 1080 ÷ 96 × 2.54 = 28.575 cm, or 9.144 cm at 300 DPI.

At 96 PPI each pixel is 2.54 ÷ 96 = 0.026458 cm, so for screen centimeters you can multiply the pixels by 0.0265 in your head. For print at 300 DPI the factor is 2.54 ÷ 300 = 0.008467 cm per pixel. That is why a 350 px logo measures 9.26 cm on a standard screen and shrinks to 2.963 cm on photo paper.

How many px are in 1 cm, and what is 1 pixel in mm?

On the web the answer is fixed by the CSS standard. CSS Values and Units Level 4 defines 1in as 96px and 1cm as 96px ÷ 2.54, so 1 cm is 37.795 px, usually rounded to 38, and 1 pixel is 0.02646 cm, or 0.2646 mm. That specification also describes its reference pixel in physical terms: for reading at arm's length, 1px thus corresponds to about 0.26 mm (1/96 inch). A Windows PC at 100 % scaling also uses 96 PPI.

Those are CSS pixels, though, not the dots on your screen. A high-density phone draws each one with several physical pixels, which is how a 6 inch phone can show more pixels than a 24 inch monitor.

In print, 1 pixel is as wide as the printer makes it. At 300 DPI it is 0.0847 mm, and 1 cm holds 118 pixels. Our cm to pixels converter does the division for any resolution, and the PPI calculator works out a real screen's density from its diagonal and resolution.

Pixels to cm lookup table

Here are the lengths people look up most, at screen density (96 PPI) and at print density (300 DPI). Values are rounded to three decimals, or four for lengths under 1 cm.

PixelsAt 96 PPI (CSS)In mm at 96 PPIAt 300 DPI (print)
1 px0.0265 cm0.2646 mm0.0085 cm
5 px0.1323 cm1.323 mm0.0423 cm
10 px0.2646 cm2.646 mm0.0847 cm
20 px0.529 cm5.292 mm0.169 cm
50 px1.323 cm13.229 mm0.423 cm
100 px2.646 cm26.458 mm0.847 cm
200 px5.292 cm52.917 mm1.693 cm
300 px7.938 cm79.375 mm2.54 cm
350 px9.26 cm92.604 mm2.963 cm
500 px13.229 cm132.292 mm4.233 cm
1000 px26.458 cm264.583 mm8.467 cm
1024 px27.093 cm270.933 mm8.67 cm
1080 px28.575 cm285.75 mm9.144 cm
1920 px50.8 cm508 mm16.256 cm

Two rows come out exact. 300 px at 300 DPI is 2.54 cm (one inch), and 1920 px at 96 PPI is 50.8 cm (twenty inches).

Pixels to cm for printing: image sizes in centimeters

Width × height for common image sizes, at 300 DPI (the size a lab prints them without losing sharpness) and at 96 PPI (the size a browser or Windows assigns them):

Image (px)At 300 DPIAt 96 PPINearest metric print
1080 × 10809.144 × 9.144 cm28.575 × 28.575 cm9 × 9 cm square
1080 × 13509.144 × 11.43 cm28.575 × 35.719 cm9 × 13 cm with a small crop
1200 × 180010.16 × 15.24 cm31.75 × 47.625 cm10 × 15 cm
1920 × 108016.256 × 9.144 cm50.8 × 28.575 cm15 × 10 cm (landscape)
2480 × 350820.997 × 29.701 cm65.617 × 92.816 cmA4 (21 × 29.7 cm)
3000 × 200025.4 × 16.933 cm79.375 × 52.917 cm25 × 17 cm, or 20 × 30 at 254 DPI
4032 × 302434.138 × 25.603 cm106.68 × 80.01 cm30 × 40 cm at 256 DPI
6000 × 400050.8 × 33.867 cm158.75 × 105.833 cm50 × 75 cm at 203 DPI

Look at the last column. It shows what you give up. A 3000 × 2000 px photo fills a 20 × 30 cm print at 254 DPI instead of 300, which is still sharp in the hand. Our DPI calculator gives the effective DPI for any print, and the print size calculator lists what a given photo supports. A4 at 300 DPI is 2480 × 3508 px, which is why that odd-looking size appears so often in document scans.

An image that only goes on a screen has no size in centimeters until someone prints it. For a Reddit post, say, what counts is the pixel dimensions and a safe format (JPG, PNG or GIF), and our guide on how to post images on Reddit covers the rest.

Pixels and centimeters in CSS

CSS lets you write lengths in cm, mm and in as well as px, and converts them with the fixed 96 PPI ratio: width: 10cm is 377.95 px, and 1mm is 3.78 px. Browsers don't measure the real screen, so 10cm only comes out as 10 physical centimeters on a display that happens to be 96 PPI. For screens, stick to px, rem and %. For print stylesheets, cm and mm are useful because the printer's inch is real. Our px to rem converter covers the other common CSS conversion, and MDN's length reference lists every unit.

Questions and answers

Why do different websites give different answers for pixels to cm?

They assume different resolutions. Most use 96 PPI, so 100 px becomes 2.646 cm. Some still use 72 PPI, which gives 3.528 cm, and print-focused ones use 300 DPI, which gives 0.847 cm. None of them is wrong. Each answers a different question, but only one matches yours. This converter shows the resolution it used next to every result.

What are pixels in centimeters at 72 PPI?

At 72 PPI, 1 pixel is 0.3528 mm and 1 cm holds 28 px. That makes 100 px 3.528 cm and 350 px 12.347 cm. Few screens work at 72 PPI today, so use it only when a tool or a brief asks for it. It's a leftover from early Macs, not a print standard.

How big is a real pixel on a phone screen?

Far smaller than a CSS pixel. Physical pixels on a phone are often under 0.06 mm wide, while the CSS pixel the browser works with stays at 0.2646 mm. To get the true figure for a device, enter its diagonal and resolution in the PPI calculator.

How do I measure an object in a photo in centimeters?

You need the photo's scale first. Photograph a ruler in the same plane as the object, count how many pixels one centimeter covers, and divide. In a 4032 px wide photo where a 30 cm ruler spans 1500 px, the scale is 50 px per cm, so an object 400 px long is 8 cm. It won't hold for anything nearer or further than the ruler, though, because perspective makes closer things look bigger. The resolution setting doesn't help here either, since the photo's DPI tag says nothing about the real scene.

All image, photo and design calculators