Pixels to Inches Converter px, cm, mm and points
Pick your units, set the resolution, and convert in either direction. The pixel density is a visible input, not a hidden assumption.
Exact Factors
Pixels Are Not a Length
How do you convert pixels to inches?
At a Glance
Divide the pixel count by the pixel density: inches = pixels ÷ DPI. At the CSS default of 96 DPI, 96 px is exactly 1 inch and 1920 px is exactly 20 inches. Every other unit follows from the inch, which is why this converter routes everything through it.
Inches, centimetres and points are physical lengths with fixed relationships. A pixel is not: it is one addressable dot, and how big that dot is depends entirely on the device or the output resolution. The same 1920-pixel image is 20 inches wide on a 96 DPI screen and 6.4 inches wide printed at 300 DPI.
That is why any px conversion needs a density. The three you will meet most often:
| DPI | Where it comes from | 1 inch equals |
|---|---|---|
| 96 | The CSS reference pixel — the default for web and UI work | 96 px |
| 72 | The classic point size; still the default in some design tools | 72 px |
| 300 | Common print resolution for photos and brochures | 300 px |
Physical device densities are higher still — modern phones run 400 DPI and above — which is why an image that looks large on a monitor looks small on a phone at the same pixel count.
inches = px ÷ DPI · cm = inches × 2.54 · pt = inches × 72These are the values the converter loads by default.
Start with the pixel count
1920 px — a common full-HD width.
Divide by the pixel density
1920 ÷ 96 = 20 inches. Every conversion routes through the inch, because that is the unit all the fixed factors are defined against.
Convert the inches to your target unit
For centimetres: 20 × 2.54 = 50.8 cm. For points: 20 × 72 = 1440 pt.
Swap the units to go the other way
Setting From to inches and To to pixels converts back: 20 × 96 = 1920 px. The swap button does this in one click.
Two conversions on this page behave differently, and it is worth knowing which one you are doing.
Between physical units (in ⇄ cm ⇄ mm ⇄ pt) the result is exact and the DPI is irrelevant — 1 inch is 2.54 cm by definition, whatever screen you are on.
Anything involving pixels is only as good as the DPI you entered. If you are sizing a UI element, 96 DPI is the right answer because that is what the W3C CSS specification defines. If you are preparing artwork for print, use the printer's resolution — usually 300 DPI, which makes the same pixel count roughly three times smaller on paper than it appears on screen.
Working the other way round? The PPI Calculator derives a screen's actual pixel density from its resolution and diagonal, and the Screen Dimensions Calculator gives the physical width and height of a display.
CSS pixels and device pixels are not the same thing
The 96 DPI default is the CSS reference pixel, not your monitor's real density. On a high-DPI display the browser maps one CSS pixel onto two or more physical pixels, so a 96 px element still measures about 1 inch even though the panel packs far more dots into that inch.
For physical measurements of a specific screen, measure the density instead of assuming it. For print, take the DPI from the print job, not from the file.