DPI and PPI Calculator
Calculate whether an image has enough pixels for a target print size, screen preview, or export requirement. The calculator keeps pixel count, physical inches, megapixels, print DPI, and diagonal PPI visible together.
Live calculator
DPI and PPI inputs
Enter pixel dimensions and physical output size to calculate print DPI, diagonal PPI, megapixels, and 300 DPI print size.
Calculated resolution
300 DPI
Diagonal PPI
300
Megapixels
7.2 MP
300 DPI print
8 x 10 in
Print checks
Estimate whether a raster image can support a selected physical print size.
Screen density
Use diagonal PPI when comparing image dimensions to physical display size.
Export planning
Find the largest 300 DPI print size before resizing or exporting artwork.
DPI and PPI formulas
print DPI = pixels / print inches
PPI = diagonal pixels / diagonal inches
megapixels = width px x height px / 1,000,000
300 DPI width = width px / 300
DPI and PPI questions
What is the difference between DPI and PPI?
PPI usually describes pixels per inch in an image or display, while DPI often describes dots per inch in print output. In practical export conversations the terms are sometimes mixed, so this calculator shows both the physical print-density result and the diagonal pixel-density result.
How do I calculate print DPI?
Divide image pixels by physical print inches. For example, a 2400 pixel wide image printed at 8 inches wide has 300 pixels per inch across that edge. The calculator uses the limiting edge as the practical print DPI.
What is a good DPI for printing?
Three hundred DPI is a common target for sharp photo and document printing, but the right number depends on viewing distance, printer technology, paper, and image content. Posters viewed from farther away can often use lower effective DPI.
Why does diagonal PPI differ from print DPI?
Diagonal PPI uses the diagonal pixel count divided by the diagonal physical size. Print DPI in this calculator checks width and height separately, then reports the smaller edge density because that edge limits the final print resolution.
Can changing metadata increase image quality?
No. Changing a DPI metadata field does not add real pixels. To print larger at the same density, the image needs more pixel data or careful resampling, and resampling cannot recover detail that was not captured.