What it does
This calculator connects an image's pixel size with its print size. Enter the pixels to see how big it prints at a given resolution, the megapixels and the aspect ratio. Or enter a print size to see how many pixels you need. A table shows the resolution your image would have at standard photo sizes, so you can see how large you can print before it gets soft.
How it's calculated
For centimeters, multiply inches by 2.54, since an inch is exactly 2.54 cm. When the print's shape doesn't match the image's, the image has to be cropped. Then the effective resolution is set by whichever side is shorter on pixels:
Worked example
A 24-megapixel camera makes 6000 × 4000 pixel photos. At 300 PPI that prints at 6000 ÷ 300 = 20 by 4000 ÷ 300 = 13.33 inches. For an 8 × 10 print at 300 PPI you need 2400 × 3000 pixels, which is 7.2 megapixels. The 6000 × 4000 photo has plenty: on 8 × 10 paper it gives min(6000 ÷ 10, 4000 ÷ 8) = 500 PPI after cropping to the 4:5 shape.
What resolution is "good"?
300 PPI is a common target for photos viewed up close, and it's what the Library of Congress suggests when scanning everyday 4 × 6 to 8 × 10 photos. Printer drivers typically produce a finished resolution between 240 and 360 dpi. Large prints are viewed from further away, so they can use fewer pixels per inch without looking worse. The table under the result shows your image at several sizes so you can judge.
PPI vs DPI
PPI (pixels per inch) describes the image: how many of its pixels fit in an inch of print. DPI (dots per inch) strictly describes the printer: how many ink dots it lays down, often several per pixel. In practice, photo labs and software use "300 DPI" to mean 300 PPI. The DPI number stored in an image file changes nothing until you print. A 6000 × 4000 image is the same whether its file says 72 or 300.
Limitations
- More pixels can't add detail that isn't there. Upscaling, a blurry shot or heavy compression won't print sharply at any PPI.
- The size shown is the full image. Borders and cropping to a paper shape reduce it.
- Screens don't use PPI from the file. On a screen, only the pixel dimensions matter.