Px to mm Converter: Pixels to cm & Inches by PPI

Px to mm Converter. Enter a pixel value and your PPI in this px to mm converter to get the size in millimeters, centimeters and inches. The free px to rem converter converts your input instantly, right in your browser.

Interactive Tool

96 PPI is the fixed CSS reference density used by browsers by default — it is a convention, not a measurement of your actual screen. Enter your display's real PPI above for a physically accurate result, or use the resolution + diagonal fields below to work it out.

Don't Know Your PPI? Calculate It

Enter values above to see results.

This px to mm converter turns a pixel value into real-world size by working out how big it is in millimeters, centimeters, and inches at a given pixel density. Enter your Pixels value and either type in a known PPI or fill in Resolution plus Screen Diagonal to have the PPI worked out for you, and the physical size updates as you type. There's also a Detect My Screen button that fills in your resolution automatically, though you'll still need to enter your screen's diagonal size yourself since a browser has no way to measure that.

Need to know how big a screen design will be once it leaves the monitor? This px to mm converter, a full px to mm/cm/inches converter, turns any pixel value into its physical equivalent in millimeters, centimeters and inches, using the resolution value you choose. A pixel is not a fixed measurement unit, so the answer depends on PPI, which is why this pixel converter asks for it before it gives you a size for print media, paper sizes or any other design job.

How to Use the Px to mm/cm/inches Converter

The tool works in both directions, so you can go from pixels to a physical size or from a physical size back to pixels.

  • Enter the PPI. Leave the default PPI of 96 for web design and CSS work, or set 300 for a print job.
  • Type the pixel value, or switch to printing mode and enter a width and height together.
  • Read the result in millimeters, centimeters and inches at once.
  • To go the other way (mm to px, or millimeters to pixels), type into the mm box instead.

Because the pixels to mm converter applies one formula at whatever resolution you set, the same 2,000-pixel image can come out as a poster or a postcard.

Pixel to Millimeter Conversion Formula

Every pixels to millimeters converter rests on one fact: 1 inch = 25.4 mm. Divide the pixels by the PPI to get inches, then multiply by 25.4: Use the free monitor viewing distance calculator any time you need a fast, accurate figure without doing the arithmetic yourself.

$$\text{mm} = \frac{\text{pixels}}{\text{PPI}} \times 25.4 \qquad \text{cm} = \frac{\text{pixels}}{\text{PPI}} \times 2.54 \qquad \text{in} = \frac{\text{pixels}}{\text{PPI}}$$

For the web, the World Wide Web Consortium fixes a CSS pixel at 1/96th of an inch, so px to millimeters on screen is always \(25.4 \div 96 = 0.2646\) mm per pixel. That is the conversion formula behind every pixel to millimeters value at 96 PPI.

Convert Pixels to mm, Step by Step

Say you have a logo image that is 1,350 px wide and you want its print dimensions at 300 PPI:

  • Pixels ÷ PPI: \(1350 \div 300 = 4.5\) in
  • Inches × 25.4: \(4.5 \times 25.4 = 114.3\) mm, or 11.43 cm

The same pixel dimension at 96 PPI comes out at 357.19 mm (35.72 cm, 14.06 in), more than three times wider. A px to mm conversion is only right when the PPI matches where the file will end up.

Conversion ladder showing 1,350 pixels divided by 300 PPI giving 4.5 inches, then 114.3 mm or 11.43 cm
The worked example: divide pixels by PPI for inches, then multiply by 25.4 for millimeters or 2.54 for centimeters.

Pixels to Inches, Centimeters and Typography Units

Pixels to inches is the first half of the formula (pixels ÷ PPI), and pixels to centimeters is the result × 2.54, or the mm figure ÷ 10. One cm is 10 mm. In typography, a CSS point is 1/72 in (4/3 px), a pica is 12 points (16 px) and a twip is 1/20 of a point.

PPI and DPI in Pixels to Millimeters Conversion

Pixels are samples, not lengths. PPI or DPI is the bridge that gives them a physical size, and picking it is the only real decision in the conversion. The free retina display distance calculator tool runs the calculation entirely in your browser — no data ever leaves your device.

What Is PPI (Pixels Per Inch)?

Pixels per inch counts how many pixels fit in one inch of a digital image. On the web, screen rendering uses 96 pixels per CSS inch regardless of the actual display or monitor, which is why a pixel measurement means something different from one screen size to the next.

DPI, Dots Per Inch and Print Resolution

Dots per inch describes how many ink dots a printer lays down per inch, so it measures print resolution and print quality. People use PPI and DPI interchangeably, and in photo editing apps such as Photoshop the "resolution" field is the number this converter needs. More dots per inch means a smaller, sharper result with better image quality.

Common Pixel Density Values by Use Case

There is no single right pixel density. These starting points cover most printing and photography work:

  • Graphics and website images: 72-96 PPI for the web
  • Draft proofs and newspapers: 150 PPI
  • Photographs and magazines viewed up close: 300 PPI, the print standard
  • Fine offset and gallery prints: 600 PPI for high quality
  • Large-format banner or billboard viewed from a distance: 50 PPI or lower

In graphic design, start from these and adjust to how close people will stand.

Zone bar of common pixel density values from 50 PPI for billboards to 600 PPI for fine offset, with the 300 PPI print standard marked
Typical PPI by job; the worked example uses the 300 PPI print standard.

Fitting a Photo to A3 with the Pixels to mm Converter

I have a landscape photo straight off the camera, 4,912 × 3,264 px, and a print lab order form that asks for A3 (420 × 297 mm under ISO 216). The question is simple: does this file fill the sheet at the 300 PPI print standard, and if not, what do I send instead?

The answer, up front: no, it falls 4.12 mm short on width at 300 PPI, but at 297.06 PPI it fills the 420 mm exactly, and that is what I send.

I switch the converter to printing mode, enter 4912 for width and 3264 for height, and set PPI to 300. The width works out as \(4912 \div 300 = 16.37\) in, times 25.4, so 415.88 mm; the height is 276.35 mm. That pixel to millimeter result tells me the print would leave a thin strip down one side of the sheet.

So I solve for the PPI that makes the width exactly 420 mm: \(4912 \div (420 \div 25.4) = 297.06\) PPI. I re-enter that value and the converter shows 420.00 mm × 279.09 mm. As a cross-check, 16.54 in × 25.4 gives 420.1 mm, which matches once rounding is accounted for.

PPIWidthHeightFits A3?
300415.88 mm276.35 mm4.12 mm short
297.06420.00 mm279.09 mmWidth fills
240519.85 mm345.44 mmOverflows

What stands out is the height. Even at the right width, the photo is 279.09 mm tall on a 297 mm sheet, leaving about 8.96 mm of white border top and bottom. That has nothing to do with resolution: the camera's 3:2 frame is wider than the A-series 1:1.414 ratio, so no PPI setting makes both edges meet. Filling the height instead would need 279.14 PPI and crop roughly 27 mm off the width, which would cut into the subject.

My judgement: the drop from 300 to 297.06 PPI is about 1% and nobody will see it at arm's length, so resolution is not the input to worry about here. The aspect ratio is. I send the file at 297.06 PPI and tick the lab's "fit with border" option, rather than letting the lab's auto-crop decide what gets cut.

Pixel to Millimeters Conversion Table

Both tables were computed with the formula above.

Conversion Chart at 96 DPI: px, mm, cm and in

This conversion chart uses common screen widths, the values you meet most in web development.

PixelsMillimetersCentimetersInches
375 px99.22 mm9.92 cm3.91 in
744 px196.85 mm19.69 cm7.75 in
1024 px270.93 mm27.09 cm10.67 in
1366 px361.42 mm36.14 cm14.23 in
1440 px381.00 mm38.10 cm15.00 in
2732 px722.84 mm72.28 cm28.46 in

1px to mm at 72, 150, 300 and 600 DPI

The size of one pixel shrinks as density rises. At 300 dpi a pixel is about a third of its 96 DPI size.

Heatmap of physical width in millimeters for 600 to 4,000 pixel images at 72 to 600 PPI, with 1,350 px at 300 PPI outlined
Physical width in mm across pixel count and PPI; each doubling of pixel density halves the width.
Resolution1 px in mmpx per mm
72 DPI0.3528 mm2.83 px
96 DPI0.2646 mm3.78 px
150 DPI0.1693 mm5.91 px
300 DPI0.0847 mm11.81 px
600 DPI0.0423 mm23.62 px

Pixel to mm Converter for Print Size and Physical Paper

To get a sharp print, work backwards: start from the paper and find the canvas you need. These are the standard paper sizes in mm with the pixels each needs at 150 and 300 DPI:

PaperSize in mmPixels at 150 DPIPixels at 300 DPI
Business card (EU)85 × 55 mm502 × 325 px1004 × 650 px
A6105 × 148 mm620 × 874 px1240 × 1748 px
DL flyer99 × 210 mm585 × 1240 px1169 × 2480 px
A5148 × 210 mm874 × 1240 px1748 × 2480 px
A4210 × 297 mm1240 × 1754 px2480 × 3508 px
A3297 × 420 mm1754 × 2480 px3508 × 4961 px

If your file has fewer pixels than the 300 DPI column, the print size at 300 will come out smaller than the sheet. Lower the PPI and accept a softer photo, or ask the print shop what they need. A designer who checks this before sending a file saves a reprint.

Frequently Asked Questions

How do I convert pixels to mm?
Divide the pixel count by the PPI to get inches, then multiply by 25.4. For example, 1,350 px at 300 PPI is 4.5 inches, or 114.3 mm.
How many millimeters is one pixel?
It depends on the PPI. At the 96 PPI web default, one pixel is about 0.2646 mm. At 300 PPI it is about 0.0847 mm, and at 72 PPI about 0.3528 mm.
What PPI should I use for print?
300 PPI is the usual standard for photos, flyers and magazines viewed up close. Large banners and posters seen from a distance can use 150 PPI or less, and fine offset work often uses 600.
Why does the web use 96 PPI?
CSS defines one pixel as 1/96th of an inch, so browsers treat 96 pixels as one inch regardless of the physical screen. That is why 96 PPI is the default for web and CSS conversions.
Are PPI and DPI the same thing?
They are often used interchangeably. PPI (pixels per inch) describes a digital image, while DPI (dots per inch) describes how many ink dots a printer places per inch. For a pixel to mm conversion, enter the same number either way.
How do I convert pixels to centimeters or inches?
Pixels divided by PPI gives inches. Multiply inches by 2.54 for centimeters, or by 25.4 for millimeters.
How many pixels do I need for an A4 print?
A4 is 210 × 297 mm, so at 300 PPI you need about 2480 × 3508 pixels. At 150 PPI, about 1240 × 1754 pixels is enough.

About the author

Vinitha Pu

Founder and designer

Vinitha Pu is a graphic designer based in Palakkad, Kerala, who builds free, privacy-friendly browser tools. She studied Textile and Apparel Design at Avinashilingam University and completed a C-Tech in Graphic Design at Image Creative Education in 2025. She designs, builds and maintains the screen and display tools, calculators and guides on ScreenResolutionChecker.

  • Content author: Vinitha Pu
  • Fact checked by: Vinitha Pu. Each calculator is checked against the standard formulas for pixel density, aspect ratio and viewing distance, and each display test is tried on real monitors, TVs and phones before it goes live.
  • Published Updated