Image resolution and PPI checker

Does my PNG, JPEG or TIFF meet 300 PPI at its final size?

Choose a PNG, JPEG or TIFF and enter its final print size. This 1,152 × 720 px example is 304.8 PPI at 96 × 60 mm.

Drop one image here, or choose a file below.

Choose an image to check its dimensions.

The file stays on this device. The check reads dimensions and TIFF resolution metadata locally.

The example button loads a public PNG from this website and sets the example print dimensions. Your selected files are processed on this device.

Updated 29 November 2026.

How do I check a figure with this tool?

I’ll use the spectrum image shown here so you can compare your result with mine. This article uses simulated example data.

A frequency spectrum in a complete 1152 by 720 pixel image.
The horizontal axis shows frequency in hertz; the vertical axis shows amplitude. This check uses the complete image’s pixel dimensions.
  1. Use “Load spectrum example” above, or save the example PNG and select or drop that file in the checker.
  2. Enter 96 mm for width, 60 mm for height and 300 for the target resolution.
  3. Check the result: 1,152 × 720 px · 304.8 × 304.8 PPI. Both axes meet this target.

Example files

  • after.png — The image to select in the checker.
  • example.py — Complete Python code that generates the spectrum figure.
  • data.csv — Sample values used by the code.
  • LICENSE.txt — Usage terms for the code, data, figure and fonts.

Read the spectrum example and its calculations

What happens when I make the print larger?

Keep the same file and change the width to 192 mm and height to 120 mm. Both PPI values become 152.4. Doubling each print dimension halves its pixel density.

Print width × heightHorizontal × vertical PPIAt a 300 PPI target
96 × 60 mm304.8 × 304.8Both axes meet
192 × 120 mm152.4 × 152.4Both axes fall below

Check both directions. At 96 × 120 mm, this file gives 304.8 × 152.4 PPI, and the tool also reports a change in aspect ratio.

What should I do when a value falls below the target?

For this example, returning to 96 × 60 mm brings both axes above 300 PPI. If your journal requires the larger size, return to the original plotting code and export more pixels, then select the new file and check again.

How is effective resolution calculated?

Divide each pixel dimension by the matching print dimension in inches. A 1,200 × 600 px image at 100 × 50 mm is 304.8 PPI on both axes. TIFF dimensions follow its Orientation tag. JPEG rotation metadata is not applied. Review sharpness and labels in the full-size image, and verify the scientific content separately.

For example, 1,200 × 600 pixels at 300 PPI fill 101.6 × 50.8 mm (4 × 2 inches). The result uses pixel dimensions; inspect the image at its final size to judge detail and label clarity.

Figure size and DPI calculator

How are TIFF orientation and stored DPI handled?

TIFF Orientation values 5–8 swap the width and height used for the calculation. Stored density tags are reported separately from the effective PPI at your entered size. Only the first main image directory is read. A link to further images is reported without opening them. Supported TIFF input is TIFF 6.0 with a main IFD. BigTIFF and SubIFDs require another reader. Pixel integrity requires a separate image check.

How do I export a TIFF figure with Matplotlib?

TIFF 6.0, sections 2 and 8

Nature figure specifications