DPI calculator

Enter a print size and DPI to get the pixels you need, or your image’s pixels to see how big it prints.

Print size → pixels needed

Pixels → print size

Formulas

pixels = inches × DPI
inches = pixels ÷ DPI
cm = pixels ÷ DPI × 2.54

Example: a 3000 × 2000 photo at 300 DPI prints at 10 × 6.67 inches (25.4 × 16.9 cm).

What DPI should I use?

DPIUse
72–96Screens only; the number has no effect on web display
150Posters and banners viewed from a distance
200–240Good quality prints, large photos
300Standard for sharp photo prints and magazines
600Line art, small text, archival scans

Changing the DPI number in a file’s metadata without changing pixels does not change quality; only pixel count matters. Popular lookups:

Frequently asked questions

Does DPI matter for web images?
No. Browsers display pixels; the DPI tag is ignored. Only pixel dimensions matter on screens.
How do I change an image to 300 DPI?
Make sure it has enough pixels for the print size (inches × 300). Print software uses the pixel count; the stored DPI value is just a hint.