HomeTech › DPI / PPI

DPI / PPI Calculator

px
px
in
DPI / PPI
Megapixels
Print Quality
Show the math
Enter values to see the worked formula.

What Your Result Means

How This Calculator Works

This calculator divides the pixel width by the physical width (in inches) to calculate DPI. It then multiplies the total pixel count (width × height) and divides by 1,000,000 to get megapixels. Finally, it assigns a quality rating based on the DPI threshold: 300+ dpi is "Photo Quality," 150–299 dpi is "Good Quality," and below 150 dpi is "Screen Only." These thresholds align with industry print standards.

Quick Questions

What DPI do I need for printing?

300 dpi is the gold standard for sharp photo prints. Magazines use 300 dpi; newspapers use 150 dpi because they're viewed from farther away. For large-format prints (posters) viewed from distance, 150 dpi is often sufficient.

Why does megapixels matter?

More megapixels let you enlarge an image while maintaining DPI. A 12 MP photo can print larger at 300 dpi than a 5 MP photo. However, megapixels alone don't guarantee quality—sensor size and lens quality also matter.

Can I print a low-DPI image at high quality?

Not without loss. Upscaling (interpolation) adds pixels but doesn't add real detail. If your image is below 150 dpi for your print size, it will look soft or pixelated no matter what software tricks you use.

Sources

Method & review

MethodologyHow we calculate this Reviewed & Updated2026-04 Next review2027-04

Estimate only. Results reflect your inputs and standard formulas. Double-check important decisions independently.