Skip to content

Pixel to CM

300 for photo prints, 96 for CSS/screen layouts, 72 for old Mac and some camera files.

Length —
Millimetres
—
Inches
—
Pixels per centimetre
—

Pixels have no fixed physical size; centimetres depend on density. Divide the pixel count by the pixels per inch, then multiply by 2.54. At 300 PPI, 1,000 px is 1000 ÷ 300 × 2.54 = 8.47 cm. On a CSS screen layout (96 px per inch), 96 px equals 2.54 cm.

About this tool

Designers sizing a print, photographers checking how large a crop will come out, and developers translating a mockup measured in centimetres all hit the same question: how long is this many pixels? The answer depends entirely on the density the pixels are laid out at. Enter a pixel length and a density in pixels per inch, and the tool returns the length in centimetres, with millimetres, inches and pixels per centimetre alongside and the two-line working. Use 300 for photo-lab and offset printing, 150 for large posters seen from a distance, and 96 for CSS. One limit: the result describes how the file will be sized, not how a particular monitor shows it, because physical screen pixel sizes vary from device to device.

How to use it

  1. Enter the pixel length

    Type the width or height of the image, crop or element in pixels.

  2. Set the pixel density

    Enter the PPI you will print at, or 96 for CSS layout measurements.

  3. Read the length

    The centimetre figure updates as you type, with millimetres, inches and px per cm below it.

Examples

96 px on screen (CSS)

Length in pixels
96
Pixel density
96

Result Length: 2.54
Millimetres: 25.4
Inches: 1
Pixels per centimetre: 37.8

  1. Inches = 96 px ÷ 96 PPI = 1 in
  2. Centimetres = 1 in × 2.54 = 2.54 cm

CSS defines 96 pixels per inch, so 96 px measures exactly one inch, 2.54 cm.

1,000 px printed at 300 PPI

Length in pixels
1000
Pixel density
300

Result Length: 8.47
Millimetres: 84.7
Inches: 3.333
Pixels per centimetre: 118.11

  1. Inches = 1000 px ÷ 300 PPI = 3.3333 in
  2. Centimetres = 3.3333 in × 2.54 = 8.47 cm

A 1,000-pixel edge printed at photo-lab density covers about 8.5 cm.

1920 px poster edge at 150 PPI

Length in pixels
1920
Pixel density
150

Result Length: 32.51
Millimetres: 325.1
Inches: 12.8
Pixels per centimetre: 59.06

  1. Inches = 1920 px ÷ 150 PPI = 12.8 in
  2. Centimetres = 12.8 in × 2.54 = 32.51 cm

Halving density from 300 to 150 PPI doubles the printed size; 1920 px spans 32.5 cm.

How it is calculated

cm = px ÷ PPI × 2.54

px
length in pixels
PPI
pixel density, pixels per inch (often labelled DPI)
2.54
centimetres in one inch, exact by the 1959 international definition

Dividing pixels by pixels per inch gives the physical length in inches; multiplying by 2.54 turns inches into centimetres. Pixels per centimetre is the density divided by 2.54, so 300 PPI is about 118.11 px per cm. CSS fixes its reference pixel at 1/96 inch, which is why 96 px is treated as 2.54 cm in browsers and print stylesheets.

When not to use it

  • Do not use it to measure what a specific phone or monitor physically shows, since panel densities differ.
  • It does not resample an image; changing the PPI here only changes the stated print size.

Common mistakes

  • Assuming 72 PPI is the screen standard; CSS uses 96 px per inch.
  • Reading the camera file's DPI tag as fixed when the printer will use whatever density you set.
  • Converting width and height with different densities for the same print.

Frequently asked questions

How many centimetres is 1 pixel?

At 96 PPI one pixel is 0.0265 cm (0.265 mm). At 300 PPI it is 0.00847 cm. A pixel only gets a size once you pick a density.

Is DPI the same as PPI here?

For sizing, yes. PPI counts image pixels per inch; DPI strictly counts printer ink dots, which are often several per pixel. Software and print shops commonly write DPI when they mean PPI, and either number works in this formula.

What density should I use for a photo print?

300 PPI is the usual target for prints viewed at arm's length. Posters seen from a metre or more look fine at 150 PPI, and banners viewed across a room can go lower.

Why does CSS say 96 pixels per inch?

The W3C defines the CSS reference pixel so that 1in equals 96px and 2.54cm. Browsers keep this ratio for layout and print stylesheets, even though the physical size on a given screen varies.

How do I get the pixel count needed for a set size in centimetres?

Reverse the formula: pixels = cm ÷ 2.54 × PPI. A 10 cm edge at 300 PPI needs 10 ÷ 2.54 × 300 ≈ 1,181 px.

Does changing PPI in an editor reduce image quality?

Not if resampling is off. The pixel count stays the same and only the stated physical size changes, which is exactly what this calculation shows.

Cite this tool

Using this tool in an assignment, article or report? Copy a citation, or a link for your website.

APA

Tools Directory Editorial Team. (2026, October 27). Pixel to CM. Tools Directory. Retrieved October 27, 2026, from https://tools.milunir.com/photography/image-size-and-print/pixel-to-cm/

MLA

Tools Directory Editorial Team. “Pixel to CM.” Tools Directory, 27 Oct. 2026, https://tools.milunir.com/photography/image-size-and-print/pixel-to-cm/. Accessed 27 Oct. 2026.

Chicago

Tools Directory Editorial Team. “Pixel to CM.” Tools Directory. Last modified October 27, 2026. Accessed October 27, 2026. https://tools.milunir.com/photography/image-size-and-print/pixel-to-cm/.

Link<a href="https://tools.milunir.com/photography/image-size-and-print/pixel-to-cm/">Pixel to CM – Tools Directory</a>