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

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

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 outputPixelsMax print at 300 DPIMax print at 150 DPI
12 MP4000 × 300013.3 × 10 in26.7 × 20 in
16 MP4608 × 345615.4 × 11.5 in30.7 × 23 in
24 MP6000 × 400020 × 13.3 in40 × 26.7 in
45 MP8256 × 550427.5 × 18.3 in55 × 36.7 in
50 MP8640 × 576028.8 × 19.2 in57.6 × 38.4 in
108 MP (phone quad-bayer)12000 × 900040 × 30 in80 × 60 in
Sensor ceilings at two viewing distances; the 150 DPI column is the honest size for wall pieces viewed from a meter

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 distanceEye-resolvable densityWhat lives there
10 in, handheld344 PPIWallet prints and photo books; labs standardize on 300
12 in, reading287 PPIStandard photo prints, the origin of the 300 DPI convention
24 in, across a desk143 PPIDesktop prints and 16×20 wall pieces
36 in, gallery spacing96 PPIFramed gallery wraps and trade-show panels
10 ft, across a room29 PPIBanners and foam-core signage
100 ft, the highway3 PPIBillboards, which is why billboard RIPs accept 10–15 PPI files
The 3438 ÷ distance formula behind every density standard, computed at six viewing distances.

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.

ApplicationPhysical sizeInchesPixels at 300 DPI
US passport, DV lottery51 × 51 mm2.00 × 2.00600 × 600
Schengen visa, UK visa35 × 45 mm1.38 × 1.77413 × 531
China visa33 × 48 mm1.30 × 1.89390 × 567
Japan visa45 × 45 mm1.77 × 1.77531 × 531
Australia passport35 × 45 mm1.38 × 1.77413 × 531
Millimeters convert at 25.4 per inch, then multiply by the DPI the spec implies, 300 unless the form states otherwise
A phone portrait becomes a Schengen visa photo

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.

OperationChanges pixels?Changes metadata?Use when
DPI change (metadata)NoYes, density tagPixel count already covers the print size
Upscale / resampleYes, adds interpolated pixelsYesPixel count falls short of the print size
Plain resizeYes, adds or removes pixelsUsually unchangedYou need different pixel dimensions for screen use
Same search results page, three different jobs; this tool is row one

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.

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

We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.