How to use
- Drop JPG or PNG photos on the page or click to choose them. Several at once is fine.
- Pick the Target DPI. Choose 72, 96, 150, 300, 350 or 600, or use “Custom” for any value from 1 to 10,000.
- The table shows each file’s current DPI and the size it would print at the chosen DPI (cm and inches). Download the results; file names stay the same and multiple files come as a ZIP.
What DPI is and what this changes
DPI (dots per inch) is a note in the file saying how many pixels to print per inch. Because it is only a note, this tool leaves the pixels alone and edits just that value.
- Unchanged: width and height in pixels, quality, file size, how the photo looks in a browser or on social media
- Changed: the size some programs (word processors, design apps, print dialogs) pick when they first place the photo, and its print size
Size follows pixels ÷ DPI = inches. A 4032×3024 px photo comes out at 34.1×25.6 cm (13.4×10.1 in) at 300 dpi and 142.2×106.7 cm (56×42 in) at 72 dpi. Same photo, just printed smaller or larger.
If someone asks for “300 dpi”
What the recipient usually needs is not the DPI number itself but enough pixels to print without looking soft. Switching a 72 dpi label to 300 makes the number match, yet a photo with too few pixels still prints blurry. Check the pixel counts below. If the photo has too few pixels, changing DPI will not fix it.
Pixels needed per paper size
| Paper (portrait) | 150 dpi | 300 dpi | 600 dpi |
|---|---|---|---|
| A5 (148×210 mm) | 874×1240 | 1748×2480 | 3496×4961 |
| A4 (210×297 mm) | 1240×1754 | 2480×3508 | 4961×7016 |
| A3 (297×420 mm) | 1754×2480 | 3508×4961 | 7016×9921 |
| Letter (215.9×279.4 mm) | 1275×1650 | 2550×3300 | 5100×6600 |
| 4×6 in photo | 600×900 | 1200×1800 | 2400×3600 |
| 5×7 in photo | 750×1050 | 1500×2100 | 3000×4200 |
Values are mm ÷ 25.4 × DPI, rounded. The “Pixels needed for a paper size” section in the tool shows them for the DPI you selected.
How it is stored
- JPG: the JFIF header gets the unit (inch) and the horizontal and vertical density. If there is no JFIF header, an 18-byte one is inserted at the start of the file, and if the Exif block has XResolution and YResolution they are set to the same value.
- PNG: stored in a pHYs chunk as pixels per meter. 300 dpi is 11,811 pixels per meter (300 ÷ 0.0254, rounded). If the chunk is missing, a new one is inserted right after the header.
Neither format is recompressed, so quality is unchanged.
Good to know
- The tool reads the JFIF and Exif values in JPG and the pHYs chunk in PNG. Files without a value show “not set” and are usually treated as 72 dpi.
- Other formats such as WebP and HEIC are left as they are and flagged.
- To change the pixel count use Resize Image. To remove camera data or location use Remove Photo EXIF Data, and for PDF page sizes see Resize PDF Paper.
Your files are processed only in your browser and are never sent to a server.