What this converter covers
- Pixels to inches and inches to pixels. Type in either box and the other one is calculated.
- One value, or a width and height at once for a screen, an image or a print size. Width and height mode also gives the diagonal.
- Results in inches, centimeters and millimeters.
- Density presets of 72, 96, 110, 150, 160, 220, 300 and 600 pixels per inch, or any density greater than 0 and up to 100,000.
- Pixel and inch values greater than 0 and up to 1,000,000,000, with decimals.
- Results rounded to 2 to 6 decimal places, with the unrounded result always shown as well.
- Everything is calculated in your browser. No sign-up, no login, no pop-ups, and nothing is uploaded.
How pixels are converted to inches
Inches = pixels ÷ pixels per inch. At 96 PPI, 1920 px is 1920 ÷ 96 = 20 in.
Pixels = inches × pixels per inch. At 300 PPI, 8 in is 8 × 300 = 2400 px. When the result is not a whole number, the converter also shows the nearest whole pixel, because an image is made of whole pixels.
Centimeters = inches × 2.54 and millimeters = inches × 25.4. The CSS Values and Units specification defines 1in = 2.54cm = 96px.
In width and height mode the diagonal is √(width² + height²), converted the same way.
The unrounded line is the result of the division or multiplication before rounding, as your browser computes it in double-precision floating point.
How density changes the result
A pixel has no fixed physical size. The density, in pixels per inch, says how many pixels fit in one inch, so the same pixel count gives a different size at every density: 1200 px is 16.67 in at 72 PPI, 12.5 in at 96 PPI, 4 in at 300 PPI and 2 in at 600 PPI. A higher density gives a smaller physical size for the same pixels, and needs more pixels for the same physical size.
Web and CSS: CSS defines one inch as 96 pixels, which is why 96 PPI is the default here.
Print: use the density your printer or print shop asks for. The same setting may be labelled PPI, DPI or resolution; this converter reads the number as pixels per inch whichever name is used. To check the DPI of a whole image at a print size, or the pixels a print needs, use the DPI calculator.
Screens: a phone, tablet or monitor has its own physical pixel density, listed in its specifications. Enter that number to get the physical size on that screen. If you only know the resolution and the screen size, the PPI calculator works out the density.
Pixels to inches conversion table
Inches for common pixel values at five densities, rounded to 2 decimal places.
| Pixels | 72 PPI | 96 PPI | 150 PPI | 300 PPI | 600 PPI |
|---|---|---|---|---|---|
| 100 px | 1.39 in | 1.04 in | 0.67 in | 0.33 in | 0.17 in |
| 300 px | 4.17 in | 3.13 in | 2 in | 1 in | 0.5 in |
| 600 px | 8.33 in | 6.25 in | 4 in | 2 in | 1 in |
| 720 px | 10 in | 7.5 in | 4.8 in | 2.4 in | 1.2 in |
| 1,080 px | 15 in | 11.25 in | 7.2 in | 3.6 in | 1.8 in |
| 1,200 px | 16.67 in | 12.5 in | 8 in | 4 in | 2 in |
| 1,920 px | 26.67 in | 20 in | 12.8 in | 6.4 in | 3.2 in |
| 2,400 px | 33.33 in | 25 in | 16 in | 8 in | 4 in |
| 3,000 px | 41.67 in | 31.25 in | 20 in | 10 in | 5 in |
| 3,840 px | 53.33 in | 40 in | 25.6 in | 12.8 in | 6.4 in |
| 6,000 px | 83.33 in | 62.5 in | 40 in | 20 in | 10 in |
Inches to pixels conversion table
Pixels for common inch values at the same densities.
| Inches | 72 PPI | 96 PPI | 150 PPI | 300 PPI | 600 PPI |
|---|---|---|---|---|---|
| 1 in | 72 px | 96 px | 150 px | 300 px | 600 px |
| 2 in | 144 px | 192 px | 300 px | 600 px | 1,200 px |
| 3 in | 216 px | 288 px | 450 px | 900 px | 1,800 px |
| 4 in | 288 px | 384 px | 600 px | 1,200 px | 2,400 px |
| 5 in | 360 px | 480 px | 750 px | 1,500 px | 3,000 px |
| 6 in | 432 px | 576 px | 900 px | 1,800 px | 3,600 px |
| 8 in | 576 px | 768 px | 1,200 px | 2,400 px | 4,800 px |
| 10 in | 720 px | 960 px | 1,500 px | 3,000 px | 6,000 px |
| 12 in | 864 px | 1,152 px | 1,800 px | 3,600 px | 7,200 px |
| 16 in | 1,152 px | 1,536 px | 2,400 px | 4,800 px | 9,600 px |
| 20 in | 1,440 px | 1,920 px | 3,000 px | 6,000 px | 12,000 px |
| 24 in | 1,728 px | 2,304 px | 3,600 px | 7,200 px | 14,400 px |
FAQ
How do I convert px to inches?
Divide the pixels by the pixels per inch. At 96 PPI, 960 px is 960 ÷ 96 = 10 in. Type the pixels into the converter above and pick the density; the inches, centimeters and millimeters appear as you type.
How many pixels are in an inch?
As many as the density says. In CSS one inch is 96 pixels. A file set to 300 PPI has 300 pixels per inch, and one set to 600 PPI has 600.
Can I use it as an inches to px converter?
Yes. Type into the inches box instead and the pixels are calculated from the same density.
How do I change pixels to inches for a whole image?
Choose Width × height and enter the image width and height in pixels. You get the width and height in inches, centimeters and millimeters, and the diagonal. For the ratio of that size, use the Aspect Ratio Calculator.
Why does the same image get a different size in inches?
The pixel count stays the same, but the density changes how many of those pixels go into each inch. Doubling the density halves the size in inches.
Is PPI the same as DPI in this pixel to inch converter?
Here the number is always read as pixels per inch. If your program labels the setting DPI, enter that number the same way.
Does this converter upload anything?
No. There is no file upload. You type the numbers and the calculation runs in your browser.