Check the DPI of an Image

See the DPI saved inside a PNG, JPG or WebP file, and how big it prints at that DPI and at 300 DPI. Need a different number? Save a copy with a new DPI: only the label changes, and every pixel stays exactly the same.

  1. 1Choose an image
  2. 2Read the DPI
  3. 3Change it if needed

1Choose an image

PNG, JPG or WebP. Drop it here, or paste with Ctrl/Cmd+V. The example is an AI-generated sample, not a real person.

No image yet

Your file stays in your browser; it is not uploaded. No cookies unless you accept: what we count.

2Change the DPI
dots per inch

Only the DPI label changes. The pixel size and every pixel stay the same, so the image does not get sharper or blurrier.

DPI is a label, not a quality setting

The DPI saved in a file only says how many pixels should fill one inch when printed. Changing it adds or removes no pixels, so the image looks the same on screen; it only changes the suggested print size: inches = pixels ÷ DPI. A photo 3000 px wide prints 10 inches wide at 300 DPI, or 20 inches at 150 DPI. To print bigger at the same DPI you need more pixels: the Pixels to Inches converter works out how many, and our photo size chart lists them from wallet to 30x40.

Change the DPI of an image without resampling

Changing the DPI here rewrites only the resolution field, like unticking Resample in an image editor's Image Size dialog. A 2400 × 3000 px photo changed from 72 to 300 DPI goes from a 33.3 × 41.7 in print to 8 × 10 in, with exactly the same pixels. Any whole number from 1 to 65535 works, and 72, 96, 150, 300 and 600 are one press away.

If you need 300 DPI at a bigger print size than the pixels allow, the image needs resizing in an image editor; this tool doesn't resample.

Where the DPI is stored

  • PNG: the pHYs chunk stores pixels per metre, so 300 DPI is saved as 11811 pixels per metre and reads back as 299.99. Some PNGs also carry the DPI in Exif data (eXIf); this tool reads and updates both.
  • JPG: the JFIF header stores whole dots per inch or per centimetre, and Exif data stores XResolution and YResolution. A file can have one, both or neither. When both are there, they can disagree; the download sets both to your new value.
  • WebP: the format has no DPI field of its own. A DPI can only be kept in its Exif data, and not every app reads it. The download adds or updates that Exif data. A few WebPs carry Exif data without a resolution field; the tool can't extend that without dropping it, so it says so and leaves the file alone.

The image data (the compressed pixels) is copied byte for byte. Nothing is decoded and saved again, so a JPG does not lose quality, and other metadata such as colour profiles is kept.

Looking for when a photo was taken rather than its DPI? See when was this picture taken.

Created by Saad Danish.

Report a problem or suggest a feature

More free tools