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.

- Use “Load spectrum example” above, or save the example PNG and select or drop that file in the checker.
- Enter 96 mm for width, 60 mm for height and 300 for the target resolution.
- 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 × height | Horizontal × vertical PPI | At a 300 PPI target |
|---|---|---|
| 96 × 60 mm | 304.8 × 304.8 | Both axes meet |
| 192 × 120 mm | 152.4 × 152.4 | Both 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.
Learn R

