Guide

How to change the DPI of a photo on Android

A form wants a 300 DPI photo, or a print shop wants 4×6. Here is what DPI really is, how many pixels a print needs, and how to set it on your phone without uploading anything.

The short answer

You were asked for Do this
"300 DPI", with no size given Set the DPI only (Imgport's Print size, DPI only mode): the pixel size stays the same
A print size, like 4×6 in or A4, at 300 DPI Resize to the print size (Print size mode), fitted inside the paper or cropped to fill it
Proof that the file says 300 DPI Read it back from the saved file, on the phone or a computer (below)

Neither one makes a photo sharper. That part surprises people, and it is the key to doing this right.

What DPI is, and what it is not

A photo is a grid of pixels: a 12 MP phone photo is about 4000 × 3000. DPI is a number stored in the file that says how many of those pixels go into each inch on paper, which tells printing and layout software how big to print it. At 300 DPI, 4000 × 3000 pixels print at 13.33 × 10 inches; at 150 DPI the same pixels print at 26.67 × 20 inches, with the detail spread twice as wide.

So changing the DPI changes no pixel and adds no detail. It changes one number. Phones usually write a placeholder of 72 DPI, or none at all, because a camera cannot know what size you will print at. When a form asks for 300 DPI, it wants that number recorded, and enough pixels behind it to print sharply at the size it has in mind.

How many pixels a print needs

Multiply each side in inches by the DPI. These are the pixel sizes for the common paper sizes, in portrait orientation:

Print size At 300 DPI At 150 DPI
4×6 in1200 × 1800 px600 × 900 px
5×7 in1500 × 2100 px750 × 1050 px
8×10 in2400 × 3000 px1200 × 1500 px
A5 (148 × 210 mm)1748 × 2480 px874 × 1240 px
A4 (210 × 297 mm)2480 × 3508 px1240 × 1754 px

Any recent phone photo has more than enough pixels for 300 DPI at 8×10. A small photo saved from a chat app may not, and no setting can conjure the missing detail; the honest answer is a smaller print or a lower DPI.

Option 1: set the DPI, keep the pixel size

When a form or a print shop asks for 300 DPI and nothing else, change only the number. With Imgport:

  1. Install Imgport from Google Play. No account, no ads.
  2. Tap "Print size" on the Home screen, then Choose photos (or Browse files to keep the original file names).
  3. Switch the control at the top to "DPI only" and pick 150, 300, 600, or Custom.
  4. Check each row: it shows the pixel size and what the photo will print at, like "4,000 × 3,000 px → prints at 13.33 × 10 in". Lengths show in inches in the US and in centimeters elsewhere; the unit switch sits with the paper sizes in Print size mode.
  5. Choose where to save under Save to, and tap Start. Your original stays untouched.

JPG and PNG photos keep their encoded image exactly: the file is rewritten with the new DPI, not re-compressed. Some must be saved again, such as a photo stored on its side (turned upright as it is saved) or an Ultra HDR photo keeping its HDR: each is marked on its row, and the screen names the JPG quality it is saved at. Like the Strip operation, DPI only removes the photo's metadata, GPS location included.

The privacy part: Imgport does not declare the internet permission, so Android itself prevents the app from sending the photo anywhere. Setting the DPI of one photo at a time is free; a whole batch is the Pro convenience.

When the size matters too, such as a 4×6 print or a document that must fill an A4 page, let the app work out the pixels:

  1. Open Print size as above and leave the control on Print size.
  2. Pick a paper size: 4×6 in, 5×7 in, 8×10 in, A4, A5, or Custom for any width and height, in inches or centimeters (the app starts in inches in the US, centimeters elsewhere).
  3. Choose how it meets the paper: Fit, no crop keeps the whole photo inside the paper; Crop cuts it around its center to fill the paper edge to edge.
  4. Pick the DPI (300 is the default) and tap Start.

Each photo is turned to match its own orientation, so 4×6 becomes 6×4 for a landscape shot and a mixed batch needs one run. Every row says the size it will print at and the DPI the file will state, like "Prints at 6 × 4 in, 300 DPI"; with Fit, no crop, a photo whose shape differs from the paper prints smaller on one side, and its row says so ("fits inside 6 × 4"). A photo is never enlarged unless you turn on Allow upscaling: when one has too few pixels, the size wins and its row says the lower DPI it will print at, for example "Prints at 6 × 4 in, 200 DPI: not enough pixels for 300 DPI at this size". Up to 5 photos per run are free, unlimited with Pro.

Online DPI changers (read this first)

Many web-based DPI tools upload your photo to a server, change it there, and send a copy back. That is a lot of trust for a photo headed to a visa form, an ID application, or a job portal. Ask what the site's retention policy says, and whether you would email that photo to a stranger. Then check the result below: some tools change one DPI field and leave another one saying 72, and the software reading the file may believe either.

Check the DPI the file really states

  • In Imgport: Results says what each photo prints at, and the verified receipt, a tap away on each row, reads the DPI back from the saved file: 300 DPI · checked. A file whose DPI fields disagree, or do not hold the DPI written, is flagged in red, never ticked.
  • On Windows: right-click the file, Properties, Details: Horizontal and Vertical resolution. A file that states no DPI may show a default figure there, such as 96.
  • On a Mac: open it in Preview, Tools, Show Inspector: the resolution is listed under General Info.

Most phone gallery apps never show DPI at all, which is why so many people are unsure whether the change worked.

The honest fine print

  • Some formats have no DPI field print software reliably reads. HEIC (where your phone can open it), AVIF, WebP, and JXL photos come out as JPG, and the screen says so before you start.
  • Print apps may resize anyway. Many print services scale every photo to fill the paper you order, whatever its DPI says. The DPI matters most to forms, layout software, and anyone who prints at "actual size".
  • Upscaling is not a fix. Allow upscaling reaches the DPI a form asks for by adding pixels, and the app says plainly that it adds pixels, not detail.
  • JPG and PNG re-saves keep their DPI. Since 1.27.0, every JPG and PNG Imgport saves again keeps the DPI stored in its source's JPG or PNG DPI field, so a 300 DPI scan stays 300 DPI through a convert or a resize. A camera's EXIF-only 72 is removed with the rest of the metadata, unless you keep the original metadata (Pro), in which case the file states it consistently. WebP, AVIF, and JXL outputs carry no DPI.

DPI, answered

The questions behind most "it must be 300 DPI" requests.

No. DPI is a number stored in the file that tells printing and layout software how big to print it. Changing it changes no pixel: the same photo at 300 DPI prints smaller and denser, at 150 DPI larger and coarser, with exactly the same detail. Detail comes from the camera; enlarging a photo (upscaling) adds pixels, not detail.

300 DPI is the usual figure for photos looked at up close, such as 4×6 prints and documents, and it is what forms and print shops most often ask for. 150 DPI is often fine for a large print seen from a few steps away. If a form or a lab gives a number, use theirs.

Strictly, the number stored in a photo is pixels per inch (PPI), while dots per inch describes how a printer lays down ink. In practice forms, print shops and most software call the stored number DPI, and when someone asks for a 300 DPI photo, that stored number is what they mean.

Phone cameras do not know what size you will print at, so most write a placeholder of 72 DPI or no DPI at all. Neither says anything about quality: a 12 MP photo at 72 DPI holds exactly the same pixels as at 300 DPI. Setting 300 DPI just records how big it should print.

In Imgport, setting the DPI of one photo at a time is free, and a whole batch is part of the one-time Pro purchase. Resizing photos to print at a paper size is free for up to 5 photos per run, and unlimited with Pro.

Set the DPI. Keep the pixel size.

Setting one photo's DPI is free, resizing to a print size is free for up to 5 photos, and nothing ever leaves your phone: the app cannot reach the internet at all.