The quick answer
Change an image's DPI to 300, or any value from 1 to 2400, in your browser: load the file, press one of the presets (72, 150, 300, 600) or type the density, and download. The pixel dimensions stay exactly as they were; only the density metadata changes, so a 2400×3000 file prints at exactly 8×10 inches. No upload, no signup, free.
The email every photographer has received
The print shop's email is one line: 'We can't print this, your file is only 72 DPI.' No explanation, a bounced file, a deadline. The photo looks fine on screen, which is the trap: screen software ignores the density tag, and print software reads it as the physical-size instruction.
This tool answers the note. Load an image, set the density to 300 or whatever the form asks for, and download a file whose pixels are untouched and whose print size is now what you meant it to be. The number changes; the picture does not.
Setting the DPI, start to finish
Load the image
Drag in a JPG or PNG, or use the picker. The controls appear the moment it loads: four preset buttons, a custom field, and a print-size panel already showing the inches your pixels imply at the current setting.
Know your target print size
Decide the physical size first. 8×10 inches is the classic photo print, US Letter is 8.5×11, A4 is 8.27×11.69.
Set the density
Press 72, 150, 300, or 600, or type any value from 1 to 2400. The print-size panel updates as you type: a 2400×3000 image reads 8.00″ × 10.00″ at 300 DPI, and 4.00″ × 5.00″ at 600.
Check the arithmetic
Divide pixels by density and compare with the print you want: 2400 ÷ 300 = 8 inches wide. If the result is smaller than the print you need, the pixels are short, and no tag value can fix that; the honest repair is a resample in other software.
Download and verify
Press Set DPI & download, save image-300dpi.png, and check your editor's size dialog: density 300, print size as intended, pixel dimensions unchanged. The shop's automated check now passes.
DPI, PPI, and what the number actually means
Strip the jargon and the concept is one multiplication. An image is a grid of pixels, say 2400 by 3000; a physical print is measured in inches, say 8 by 10. The density is pixels divided by inches: 2400 ÷ 8 = 300, which is where the print standard comes from.
Where the number lives depends on the format. PNG carries a pHYs chunk storing density in pixels per metre; 300 DPI becomes 11,811 pixels per metre. JPEG carries two-byte Xdensity and Ydensity values in its JFIF header. This tool takes the PNG route: it re-encodes your image as a PNG, whatever the input was, and splices in a pHYs chunk carrying your density on both axes. The download is one file, image-300dpi.png, with the density baked in.
DPI versus PPI deserves one honest paragraph. Strictly, PPI is pixels per inch, an image or display property, and DPI is dots per inch, a printer's ink-laying capability. Everyone says DPI, everyone means PPI, and no print shop has ever cared about the difference in your email.
Print-size math with real numbers
Here is the table worth keeping: the pixel counts that standard print sizes require at standard densities. Every cell is inches times DPI; a 4 × 6 at 300 DPI needs 1200 × 1800 pixels, and every other row is the same arithmetic.
| Print size | At 150 DPI | At 300 DPI |
|---|---|---|
| 4×6 in | 600×900 | 1200×1800 |
| 5×7 in | 750×1050 | 1500×2100 |
| 8×10 in | 1200×1500 | 2400×3000 |
| US Letter 8.5×11 in | 1275×1650 | 2550×3300 |
| A4 (8.27×11.69 in) | 1241×1754 | 2480×3508 |
| 16×20 in poster | 2400×3000 | 4800×6000 |
| 24×36 in poster | 3600×5400 | 7200×10800 |
Input
2400×3000 pixel photo, tagged 72 DPI, rejected for printing at 8×10 inches
Output
Metadata-only change to 300 DPI: pixels untouched, print size becomes exactly 8×10, file re-accepted. Check the math: 2400 ÷ 300 = 8 and 3000 ÷ 300 = 10. The pixels were always sufficient; only the note was wrong.
Input
1200×1500 pixel photo, intended for the same 8×10 print at 300 DPI
Output
Setting 300 DPI here declares a 4×5 inch print: sharp, but half size, and no setting on this tool changes that. Reaching a full 8×10 means resampling to 2400×3000 in other software, at the cost of interpolated softness. There is no third option; 1200 pixels across 8 inches is 150 DPI no matter what any tag claims.
That second example is where honesty earns its keep. Resampling up is real interpolation, new pixels invented from old ones, and at a 2× factor the softness is visible up close. Viewing distance forgives it: a 16×20 poster from a 2400×3000 file is 150 effective DPI and looks fine from three feet, where people actually stand. An 8×10 held in the hand at 150 effective DPI looks soft, and no metadata edit changes that.
The megapixel budget: what your camera can honestly print
Every camera has a print ceiling set by its sensor, worth knowing before you promise a client a 24×36 gallery piece. The multiplication runs in reverse: pixel dimensions divided by density gives physical inches, and the table below runs it for common sensor resolutions at arm's-length and viewing-distance densities.
| Camera output | Pixels | Max print at 300 DPI | Max print at 150 DPI |
|---|---|---|---|
| 12 MP | 4000 × 3000 | 13.3 × 10 in | 26.7 × 20 in |
| 16 MP | 4608 × 3456 | 15.4 × 11.5 in | 30.7 × 23 in |
| 24 MP | 6000 × 4000 | 20 × 13.3 in | 40 × 26.7 in |
| 45 MP | 8256 × 5504 | 27.5 × 18.3 in | 55 × 36.7 in |
| 50 MP | 8640 × 5760 | 28.8 × 19.2 in | 57.6 × 38.4 in |
| 108 MP (phone quad-bayer) | 12000 × 9000 | 40 × 30 in | 80 × 60 in |
One phone-camera caveat: the 108-megapixel figure comes from quad-bayer sensors that bin pixels in most shooting modes, so the file you hold is more often 27 megapixels, a 20-inch 300-DPI print, not a 40-inch one. Check the image's real pixel dimensions rather than the number on the box.
The math behind the magic numbers: viewing distance
Every DPI standard on this page descends from one biological fact and one formula. Human eyes resolve about one arcminute of angular detail; at a viewing distance of d inches, one arcminute spans d × 0.000291 inches, so the density the eye can distinguish is roughly 3438 ÷ d pixels per inch. Run the division and the industry's magic numbers fall out in order:
| Viewing distance | Eye-resolvable density | What lives there |
|---|---|---|
| 10 in, handheld | 344 PPI | Wallet prints and photo books; labs standardize on 300 |
| 12 in, reading | 287 PPI | Standard photo prints, the origin of the 300 DPI convention |
| 24 in, across a desk | 143 PPI | Desktop prints and 16×20 wall pieces |
| 36 in, gallery spacing | 96 PPI | Framed gallery wraps and trade-show panels |
| 10 ft, across a room | 29 PPI | Banners and foam-core signage |
| 100 ft, the highway | 3 PPI | Billboards, which is why billboard RIPs accept 10–15 PPI files |
The formula also prices the upscale decision. Resampling a 24-megapixel file to cover a 40-inch canvas means inventing pixels the eye cannot resolve at three feet; softness that matters at reading distance disappears at gallery distance. Print shops that demand 300 DPI for a business card and accept 100 for a poster are not being inconsistent, they are both times solving 3438 ÷ d.
The ID-photo workbook: density and pixels, per country
Government photo specs are the strictest DPI customers in the world: they name a physical size, a minimum pixel count, and often a file format and size cap, all at once. The physical sizes convert to exact pixel targets at 300 DPI, and knowing the target before you shoot or scan prevents the crop-and-hope workflow that produces rejected applications.
| Application | Physical size | Inches | Pixels at 300 DPI |
|---|---|---|---|
| US passport, DV lottery | 51 × 51 mm | 2.00 × 2.00 | 600 × 600 |
| Schengen visa, UK visa | 35 × 45 mm | 1.38 × 1.77 | 413 × 531 |
| China visa | 33 × 48 mm | 1.30 × 1.89 | 390 × 567 |
| Japan visa | 45 × 45 mm | 1.77 × 1.77 | 531 × 531 |
| Australia passport | 35 × 45 mm | 1.38 × 1.77 | 413 × 531 |
Input
1500 × 2000 pixel headshot, tagged 72 DPI, needs to be 35 × 45 mm at 300 DPI (413 × 531 pixels)
Output
Pixel check: 1500 and 2000 both clear their targets with room to crop. Crop to the 413:531 ratio (about 0.78), resample to 413 × 531 in your editor or the resizer, then set the density to 300 here and the print size lands on 35 × 45 mm exactly. The original 72 tag never mattered; the pixel count did.
What a DPI change will not fix
The limits are physical, and knowing them saves you from shipping files that pass the shop's check and still disappoint the eye. A metadata change cannot add detail that the sensor never recorded, and no density value fixes a file that was soft at capture.
- Detail that was never captured. A soft photo stays soft at 300 DPI. Density tags describe pixel spacing; focus, motion blur, and heavy compression live in the pixels themselves.
- A short pixel count. A 12-megapixel camera produces roughly 4000×3000 pixels, enough for a beautiful 10×13 at 300 DPI but not a 300-DPI 24×36. The gap is physics, not software, and the honest fixes are a bigger print viewed from farther away or an upscale with its softness.
- Printer dot gain. Ink spreads on paper, which is why print shops ask for 300 DPI rather than 600 for photo work; extra density mostly feeds the dots into each other.
- Viewing-distance mismatches. Large-format printers routinely produce excellent output at 100 to 150 DPI because billboards and banners are viewed from meters away. Paying for 300 DPI on a banner is buying detail nobody can stand close enough to see.
DPI change versus upscale versus resize
Three operations that sound alike in a search box and do different things to your file: a DPI change rewrites metadata and leaves pixels alone, an upscale invents new pixels, and a resize resamples to a different pixel count. The table keeps them straight; only the first row is what this page's tool does.
| Operation | Changes pixels? | Changes metadata? | Use when |
|---|---|---|---|
| DPI change (metadata) | No | Yes, density tag | Pixel count already covers the print size |
| Upscale / resample | Yes, adds interpolated pixels | Yes | Pixel count falls short of the print size |
| Plain resize | Yes, adds or removes pixels | Usually unchanged | You need different pixel dimensions for screen use |
The decision rule is one comparison: required pixels (print inches × DPI) versus actual pixels. Enough actual pixels means a metadata change is the complete, honest fix. Not enough means resampling, with the softness that comes with invented pixels. The JPG to PNG Converter handles the format half of a print-ready request; this tool handles the density half.
Print files, kept private
Everything happens inside the browser tab: the file parses locally, the PNG encodes in memory, the density chunk is spliced in with byte-level code, and the download is built from the result. No image data crosses the network at any point, because there is no upload form to cross it through.
Print files are the images that deserve that property most: unreleased product photography, family portraits, client artwork, ID documents. The local route deletes the retention-policy question; the file is read, fixed, and saved without ever existing anywhere but your machine.
Frequently asked questions
How do I change an image to 300 DPI?
Load the image, press the 300 preset or type any value from 1 to 2400, and download. The tool rewrites the density metadata, the pHYs chunk of the PNG it outputs, without changing a pixel dimension. If the pixel count is too low for your print size, no setting here fixes that; resampling in other software is the only route.
Does changing DPI change the image quality?
The pixels survive intact, so a 2400×3000 image is exactly as sharp before and after; only the declared print size changes, 8×10 at 300 DPI versus enormous at 72. Quality enters only when you resample, adding or removing real pixels, and this tool does not resample.
What is the difference between DPI and PPI?
PPI is pixels per inch, a property of an image or a screen; DPI is dots per inch, originally a printer term for ink dots laid down per inch. Software, print shops, and form instructions use the two interchangeably, and the number they want is the image's stored pixel density. If a form says '300 DPI,' it wants the density metadata set to 300.
What DPI do I actually need for printing?
300 for photo prints viewed at arm's length: 4×6s, 8×10s, magazines. 150 to 200 for posters viewed from a few feet, 15 to 30 for billboards. More is not always better: 600 DPI doubles file size for detail most paper and most eyes cannot resolve at normal viewing distance.
My image says 72 DPI. Can I still print it?
Yes. The 72 tag is a default from screen-oriented software, not a quality verdict; pixel count versus print size is what matters. A 2400×3000 image tagged 72 DPI prints beautifully at 8×10 once the density is set correctly, because 2400 pixels across 8 inches is 300 per inch no matter what the tag said.
Can I increase DPI without changing the pixel dimensions?
You can set the metadata to any number without resizing; that is the only mode this tool has. Setting 300 DPI on a 576×720 image declares 1.92 inches of print (576 ÷ 300), so it prints tiny and sharp. If you need it big, you need more real pixels, which means resampling elsewhere, not retagging.
How do I check what DPI my image currently is?
On Windows, right-click the file, choose Properties, and open the Details tab; resolution appears under Image. On a Mac, open the file in Preview and press Command-I. Or drop the file here and watch the print-size panel: a 2400-pixel-wide image reading 8.00 inches is sitting at 300 DPI.
My printer claims 4800 DPI. Why do print shops ask for 300 DPI images?
Because they measure different things. The printer counts physical ink dots, and one photographic pixel needs several dots of different colored inks in dither patterns; a 4800-dot-per-inch printer spends sixteen dots per 300-DPI pixel, which is how smooth photographic tone gets built. Sending 4800 DPI images would add nothing.
Should I scan photos at 600 DPI instead of 300?
Scan at 300 for prints you will reprint at the same size; it captures everything a photographic print resolves. Move to 600 for small originals you intend to enlarge, like 2.5-inch snapshots heading for 5-inch frames, or fine-text documents an OCR pass must read. File size quadruples with the doubled density: an 8×10 at 600 DPI is 4800 × 6000 pixels.
Does DPI matter for images displayed on a website?
No. Browsers ignore the density tag; a 3000-pixel image renders at whatever CSS size the layout gives it, whatever the tag says. The tag matters only to software that converts pixels to physical size: print drivers, layout engines, file managers. Set it for print, forget it for the web.
What is the difference between DPI and LPI?
LPI is lines per inch, the halftone screen a press uses to fake continuous tone with dots of ink. Newspapers run 85–100 LPI, glossy magazines 133–150 LPI. The working rule: supply image pixels at about twice the LPI, which is how 300 DPI became the magazine standard (2 × 150). Supplying more than 2× LPI wastes bytes the screen cannot reproduce.
Can an image have different horizontal and vertical DPI?
The formats allow it. JPEG carries separate Xdensity and Ydensity fields, and TIFF pairs XResolution with YResolution, but the pixels are still a uniform grid, so unequal values stretch the image instead of resampling it. This tool writes matching values on both axes; a file showing 72 × 300 has one axis written wrong, and the fix is setting both equal.
Resize and convert: the print-pipeline neighbors
DPI work travels with one neighboring stop: Image Resizer, the pixel-count side of the same problem, for when dimensions are the goal rather than print density.
Sources and further reading
Sources and further reading
- W3C PNG Specification: pHYs chunk, pixels per metre(w3.org)
- MDN Web Docs: Canvas API(developer.mozilla.org)
- MDN Web Docs: imageSmoothingQuality(developer.mozilla.org)
- ICC: sRGB color space profile(color.org)
- MDN Web Docs: HTMLCanvasElement.toBlob()(developer.mozilla.org)
We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.