This pixels to inches converter turns a size in pixels into inches, centimeters and millimeters, and inches back into pixels. Enter the width, and the height if you like, set the pixel density in pixels per inch (PPI, often called DPI), and the pixels to inches converter shows the physical size, plus the same width at other common pixel densities so you can see how print size changes.
How to use the pixels to inches converter
- Choose pixels to inches or inches to pixels.
- Enter the width, and the height if you want both.
- Enter the pixels per inch, such as the PPI you'll print at, or leave it blank for 96.
- Press Convert.
The formula
A pixel has no size of its own: it's a sample of an image. It only gets a physical size when the image is printed, displayed or scanned, and that size depends on the pixel density. The relationship is simple: the number of pixels equals the size in inches times the pixels per inch. So inches = pixels ÷ PPI and pixels = inches × PPI. For example, a 100 × 100 pixel image printed in a 2-inch square has a pixel density of 50 pixels per inch.
Why 96 pixels per inch?
On the web, CSS defines its length units together. In CSS, one pixel (px) is 1/96th of an inch, and one centimeter is 96 px divided by 2.54. That's why the converter uses 96 PPI when you leave the field blank: it matches how browsers measure CSS inches. A CSS inch is a reference size, though, and doesn't always match a physical inch on your particular screen, because screens differ in how many device pixels they pack into each inch.
Pixels per inch and print size
When you print, the PPI you choose decides how large the picture comes out. The same 3,000-pixel-wide image is 31.25 inches wide at 96 PPI but only 10 inches wide at 300 PPI. A higher PPI packs the same pixels into a smaller area, which gives a smaller, sharper print; a lower PPI spreads them out into a bigger print with less detail per inch. To print a letter-size page of 8.5 × 11 inches at 300 PPI, you need an image of 2,550 × 3,300 pixels.
Common sizes at 96 PPI
| Pixels | Inches | Centimeters |
|---|---|---|
| 96 | 1 | 2.54 |
| 300 | 3.125 | 7.94 |
| 800 | 8.33 | 21.17 |
| 1,080 | 11.25 | 28.58 |
| 1,920 | 20 | 50.8 |
Worked examples
Say you have a 1,920 × 1,080 pixel image and use the CSS standard of 96 pixels per inch. The width is 1,920 ÷ 96 = 20 inches and the height 1,080 ÷ 96 = 11.25 inches, which is 50.8 × 28.58 centimeters. Printed at 300 pixels per inch instead, the same image would be 6.4 × 3.6 inches. Going the other way, if you need a 4 × 6 inch photo at 300 PPI, multiply: 4 × 300 = 1,200 and 6 × 300 = 1,800, so you need 1,200 × 1,800 pixels.
PPI and DPI
Pixels per inch measures the pixel density of a screen, camera or scanner, and describes the detail of an image file once its print size is known. Some apps and printers label the same setting DPI. For this conversion, enter whichever number your app shows: what matters is how many pixels make up one inch of the output.
Centimeters and millimeters
One inch is exactly 2.54 centimeters, or 25.4 millimeters, so the converter shows every result in all three. CSS defines its centimeter the same way, as 96 pixels divided by 2.54, about 37.8 pixels. That makes it easy to design for paper sizes measured in centimeters: an A-series page width in millimeters divided by 25.4 gives inches, and multiplying by your PPI gives the pixels you need. At 96 PPI, 10 centimeters is about 378 pixels; at 300 PPI it's about 1,181 pixels.
Width and height together
Enter both sides to see the full size of an image, such as a banner or a photo, and to check that its shape matches the space it has to fit. If the ratio of width to height doesn't match your paper or frame, part of the picture will be cropped or there will be a border. The converter keeps both sides at the same PPI, because an image printed at one pixel density has the same density across and down.
Moving an image between devices
When you move an image from one device to another, such as printing a picture that was designed on a monitor, it helps to know the pixel density of both. An image that looks large on screen may print small if you print it at a high PPI, and an image made for print may look huge on screen. Converting pixels to inches at the target PPI before you export tells you exactly how big the result will be.
Common mistakes
- Assuming pixels have a fixed size. They don't until you choose a PPI.
- Using the screen PPI for print. Print size depends on the PPI you print at.
- Forgetting the height. Enter both sides to check the shape fits your paper.
- Confusing CSS inches with physical inches. A CSS inch is 96 CSS pixels.
Tips
- Decide the print size first, then work out the pixels you need.
- Use the comparison table to pick a PPI that fits your paper.
- Keep the original high-resolution image and export copies at the size you need.
What next
Use this often? Add Pixels to In to your Home screen.
Frequently asked questions
How many pixels are in an inch?
It depends on the pixel density. In CSS, an inch is 96 pixels; at 300 PPI, an inch is 300 pixels.
How does the pixels to inches converter work?
It divides the number of pixels by the pixels per inch: inches = pixels ÷ PPI.
How big is 1920 × 1080 in inches?
20 × 11.25 inches at 96 PPI, or 6.4 × 3.6 inches at 300 PPI.
How many pixels do I need to print 8.5 × 11 inches at 300 PPI?
2,550 × 3,300 pixels.
What if my app shows DPI instead of PPI?
Enter that number in the PPI box. The converter only needs how many pixels make up one inch of the output.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.