UTILITY · DPI / PPI

Calculate Photo DPI at a Chosen Print Size

Find the PPI of a photo at its intended print size, or write a resolution tag to a supported file without resampling.

  • Browser-localImage bytes stay in this tab
  • ✓ Real resultNo mock processing
  • Explicit limitsMemory-aware safeguards
Image DPI Calculator / Converter illustrationIMAGE DPI CALCULATOR / CONVERTER
Processed in your browser · No file upload

JavaScript calculates print density and writes supported PNG or JPEG resolution tags without resampling the image.

The tool loads its interface and processing files from the site. This workflow handles the contents you select or enter in the browser.

File picker filter: image/jpeg, image/png. The selected file must also pass this tool’s content and decoder checks.

Input per file
25 MiB
Source pixels
24 MP
Image edge
16,384 px

Limits are safeguards, not a guarantee every file below them will process. Complex files and device memory can require a smaller input.

Read the privacy policy

See how MAGODUCK tests tool outputs

1

Print-size calculator

Pixels ÷ PPI = inches.

Changing only PPI metadata does not create pixels or image detail.

Write PPI metadata

Metadata-only operation. Pixel dimensions are unchanged.

Pixels are not DPI

A 3000 px-wide image printed at 300 PPI is 10 inches wide. Changing its metadata to 150 PPI changes the intended print size to 20 inches but does not add or remove pixels.

Format-specific writing

PNG stores physical pixel density in the pHYs chunk as pixels per metre. JPEG commonly exposes density in JFIF units. These representations are handled separately.

YOUR QUESTIONS, ANSWERED

Image DPI Calculator / Converter FAQs

Does changing DPI improve image quality?

No. Metadata-only PPI changes do not add pixels or new detail.

How many inches is 3000 px at 300 PPI?

10 inches.

Does this tool resample?

No in the metadata writer. It changes supported resolution metadata only.

Technical references checked October 2, 2026. PNG pHYs follows the W3C PNG specification; one inch is exactly 0.0254 metre. The JPEG path writes JFIF density and re-reads metadata for verification.