When you need this tool
Deciding what size to order for a print, a canvas or a photo book, or comparing cameras and phones by what they can actually print. Camera specs quote megapixels; print shops want inches or centimeters at a given DPI.
How it’s calculated
- Total pixels = megapixels × 1,000,000.
- For a w:h shape, the width is √(total × w ÷ h) and the height is width × h ÷ w.
- Print size = pixels ÷ DPI.
The pixel dimensions are close approximations; your camera’s exact figures may differ by a few pixels.
Sharp print sizes at 300 DPI
- 12 MP (4:3): 13.33 × 10 in
- 24 MP (3:2): 20 × 13.33 in
- 45 MP (3:2): about 27.4 × 18.3 in
Common mistakes
Cropping and forgetting. A crop from 3:2 to a square 8 × 8 print throws away a third of the pixels. Calculate from the cropped size.
Ignoring viewing distance. Big wall prints are seen from further away, so they need fewer DPI to look sharp.
Related: image print size calculator and DPI calculator.