
Web Scripts & Software
DEV3 Image DPI Changer & Print Size Calculator — Source Code (React + Tailwind)
from $29
Live demoDesign tool
Free, no sign-up. Runs in your browser; nothing is uploaded. Buy the source code: $29 Regular / $69 Extended
Only the header is changed: no re-encoding, no quality loss and the file size stays the same. JPEG and PNG are patched directly; other formats are saved as lossless PNG first. The DPI is written to the JFIF header (and EXIF when present) for JPEG, and a pHYs chunk with a checksum for PNG.
Inches = pixels / DPI. Centimetres = inches x 2.54 and millimetres = inches x 25.4 (exact by definition). Pixels needed = inches x DPI, rounded to a whole pixel. DPI of an existing image over a length = pixels / inches.
A picture is a fixed grid of pixels. DPI (dots per inch) or PPI is only a label that tells a printer or layout program how big to draw those pixels. Changing it from 72 to 300 in the header changes the print size (a 3000 px photo goes from 41.7 inches to 10 inches wide), not the sharpness or the file size.
To get more real detail you need more pixels. "Resize for print" resamples to the exact pixel count a print size needs; it cannot invent detail that was never captured. Screens ignore DPI completely.
Need Image DPI Changer & Print Size Calculator as a complete website or app for your brand? We design and build it end to end. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The image dpi changer & print size calculator stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Launch the full site, not just the asset. Buy once, own the source, and try each one live first.

Web Scripts & Software
from $29
Live demo
Enterprise SaaS Starters
from $99
Live demo
Web Scripts & Software
from $99
Live demo
Web Scripts & Software
from $29
Live demo

Web Scripts & Software
from $29
Live demo
Web Scripts & Software
from $29
Live demo
Web Scripts & Software Mobile app
from $99
Live demoPrinters and layout programs use DPI (dots per inch), sometimes called PPI, to decide how large a picture appears on paper. This tool reads it, changes it and shows what it means for your photo.
The pixels are not touched. For a JPEG the tool rewrites the density in the JFIF header (adding one if missing) and keeps any EXIF resolution in step. For a PNG it writes a pHYs chunk with a correct CRC checksum. The file size stays identical, apart from a few bytes. Because nothing is re-encoded there is no quality loss.
Choose Resize for print, enter a width in inches, centimetres or millimetres, or use a preset such as 4 x 6 or A4, and set the DPI. The new pixel size is the size in inches times the DPI, so 6 inches at 300 DPI needs 1800 pixels. Keep the shape or crop to fill an exact rectangle. A warning appears when you ask for more than the original pixels, because enlarging cannot add detail.
The quality table lists common sizes (passport, 4 x 6, A4, A3, posters) with the effective PPI your picture reaches at each. 300 PPI and above is excellent, 200 and above is good, 150 is fair at arm's length, and below 100 prints look soft.
Convert pixels to inches, centimetres and millimetres, or find how many pixels a given length needs. All conversions use 25.4 mm per inch.
Everything runs on your device.
Add the file, choose Set DPI, pick 300 and press the button. The tool edits only the density value in the header, so the pixels and file quality are untouched. The new print size is the pixel width divided by 300.
No. DPI is a label, not a measure of detail. Raising it from 72 to 300 makes the picture print smaller on paper (the same pixels packed tighter). To get a bigger sharp print you need more pixels from the camera. Resizing up adds pixels but cannot add real detail.
300 PPI is the standard for close-up photo prints. 200 to 240 is fine for posters viewed from about a metre, and 100 to 150 works for big banners seen from afar. The quality table shows where your photo falls for each common size.
JPEG stores it in the JFIF header (and in EXIF), and PNG in a pHYs chunk measured in pixels per metre. WebP, GIF and AVIF have no standard DPI field, so those files are saved as a lossless PNG first.
Add the file and read the "DPI now" column. The value comes from the JFIF or EXIF header for JPEG and from pHYs for PNG. "Not set" means the file stores no density, which software treats as 72 or 96.
No. Files are read and rewritten in your browser, and a ZIP is built locally for batches. Nothing leaves your device.