DPI / PPI Calculator
Use this tool to calculate screen pixel density, print resolution, or required pixel dimensions.
Formula: PPI = √(width² + height²) ÷ diagonal
Formula: DPI = pixels ÷ inches (calculated separately for width and height)
Formula: Required pixels = inches × DPI
What is the difference between DPI and PPI?
DPI (dots per inch) and PPI (pixels per inch) are related, but they are not exactly the same thing. In everyday conversation, people often use them interchangeably, which causes confusion.
- PPI describes digital images and displays. It tells you how many pixels fit in one inch.
- DPI describes printed output. It tells you how many ink dots a printer places in one inch.
- A higher value usually means finer detail, but viewing distance and content quality also matter.
For screens, focus on PPI. For print, focus on DPI and your final print dimensions.
How to use this DPI/PPI calculator
1) Screen PPI mode
Enter your display resolution (pixel width and height) and diagonal size in inches. The calculator gives you:
- Screen PPI
- Approximate pixel pitch (mm per pixel)
2) Print DPI mode
Enter the image pixel dimensions and your intended print size. The calculator reports:
- Horizontal DPI
- Vertical DPI
- Effective DPI (the limiting side)
Effective DPI is useful because the lower axis usually determines visible sharpness.
3) Required Pixels mode
Enter print size and desired DPI to estimate the pixel dimensions you should capture or export.
- Required pixel width
- Required pixel height
- Estimated megapixels
Common DPI/PPI targets
- 72–110 PPI: Older or low-density displays.
- 150–220 PPI: Many laptops and desktop monitors.
- 250–450+ PPI: Modern phones, tablets, and high-density screens.
- 150 DPI print: Large posters viewed from a distance.
- 240–300 DPI print: Typical high-quality photo and brochure printing.
Practical examples
Example A: Monitor sharpness
A 27-inch display at 2560×1440 gives roughly 109 PPI. A 27-inch display at 3840×2160 (4K) gives about 163 PPI. Text and fine UI details appear sharper on the 4K panel.
Example B: Photo printing
A 6000×4000 image printed at 20×13.33 inches yields ~300 DPI, which is excellent for close viewing. If you enlarge that same file to 40×26.67 inches, resolution drops to ~150 DPI, still good for wall viewing.
Tips for better results
- Keep aspect ratio consistent between image and print size to avoid cropping surprises.
- Don’t over-upscale aggressively; interpolation adds pixels but not real detail.
- For print, ask your lab or printer for preferred DPI and color profile requirements.
- For UI work, test readability at the target viewing distance, not only by raw PPI numbers.
Frequently asked questions
Is 300 DPI always required for printing?
No. It depends on viewing distance and print purpose. High-end photo books often target 300 DPI, but posters are frequently acceptable at lower values.
Can I convert DPI to PPI directly?
Not as a strict one-to-one conversion, because DPI refers to printer dots and PPI refers to image pixels. In many workflows, they are treated similarly for planning output size, but technically they are different units.
Why do width and height DPI differ sometimes?
Because the file aspect ratio and intended print aspect ratio may not match perfectly. Any mismatch produces different horizontal and vertical DPI values.
Final takeaway
Use PPI to judge screen density and DPI to plan print quality. If you know your pixel dimensions, desired physical size, and viewing distance, you can confidently choose the right output settings. This calculator gives you the numbers instantly so you can make those decisions quickly.