Image DPI Checker

Inspect stored pixel density without changing your image.

Choose an image

One still JPEG, PNG or WebP. Up to 20 MiB, 8 MP and 4096 px per side.

Reads JFIF, PNG pHYs and EXIF IFD0 density fields only. No file changes or uploads.

Select an image to begin.

Stored density

Missing or unitless metadata is not 72 or 300 PPI. Stored pixel density is not printer DPI. Other metadata namespaces are not read.

Check the DPI stored in your image

Choose the original file under Image file. When the status reads Image checked, review the Stored density panel. The checker reads the file in your browser without uploading or modifying it.

Check the file name and image dimensions first, then read each metadata source:

  • Stored X / Y: the horizontal and vertical values read from that source, formatted for display (not the original fraction or raw bytes).
  • Units: the unit attached to those numbers, if any.
  • PPI X / Y: the corresponding pixels per inch when a physical unit is available, also formatted for display.

Use Reset or select another file to check a different image. This is a read-only metadata check, not an automatic print-quality test or DPI converter.

What the result means

Result heading How to interpret it
Physical density found At least one supported source provides a physical density for at least one axis. Check both axes and every source.
Physical density unknown No supported source provides a density with a physical unit. Read the details to distinguish absent fields from unitless values.
Conflicting density values Supported physical density sources disagree on a comparable axis beyond the checker’s tolerance. No single density is selected.

If you see Supported density fields — Not present, none of the density records that this tool reads provides a value. That does not mean the file contains no metadata at all. If the source has a number but the corresponding PPI says Not stored, the unit or axis needed to express physical density is missing. The checker does not substitute 72, 96 or 300 PPI.

Where the density comes from

A single image may contain more than one density record. The checker examines these specific locations:

  • JPEG: JFIF density in the APP0 segment and XResolution, YResolution and ResolutionUnit in the first EXIF image file directory (IFD0).
  • PNG: the pHYs chunk and those same EXIF IFD0 fields if an eXIf chunk is present.
  • WebP: the EXIF IFD0 fields in an EXIF chunk, when present.

It does not inspect XMP, Photoshop-specific density records, thumbnail resolution tags or camera focal-plane resolution. A result without conflicts only describes the supported fields that were compared, not every metadata namespace.

The JFIF specification defines inch, centimeter and unitless density values. The Exif 2.3 specification documents the XResolution, YResolution and ResolutionUnit fields. The PNG specification defines physical density and pixel aspect ratio; its EXIF data may also describe an earlier version of the image. The WebP container specification distinguishes EXIF and XMP.

Why the stored number can differ from PPI

When a record uses pixels per inch, the stored value is already PPI. For other physical units, convert each axis separately:

  • Pixels per centimeter × 2.54 = PPI. A JFIF record with X = 100 and Y = 200 pixels/cm gives 254 / 508 PPI.
  • Pixels per meter × 0.0254 = PPI. A PNG pHYs record with 11811 pixels/m on both axes gives 299.9994 / 299.9994 PPI.

PNG pHYs stores whole numbers of pixels per meter, so a value intended to represent 300 PPI can be slightly different after conversion. Do not mistake that difference for fewer pixels or a damaged file. For an exact metadata requirement, confirm how the recipient handles this rounding; 299.9994 is not mathematically equal to 300.

Missing, incomplete and conflicting metadata

The following examples describe what the checker reports for otherwise accepted files.

  • A PNG has no pHYs or EXIF density values: Physical density unknown and Supported density fields — Not present.
  • A PNG has pHYs X = 2, Y = 1, with an unknown unit: the tool reports Stored X / Y as 2 / 1, unitless ratio, and PPI X / Y as Not stored / Not stored. Those numbers describe relative pixel proportions, not physical pixels per inch. A JFIF record with no unit is also shown as a unitless ratio.
  • An EXIF record contains XResolution and YResolution but no explicit ResolutionUnit: its stored numbers are shown with unit not specified, and no PPI is inferred. The checker also treats an EXIF unit code of 1 as unspecified, rather than a physical unit. If only one resolution axis is stored with a physical unit, that axis can have a PPI value while the other says Not stored. The heading can still be Physical density found.

Software may display its own default density even when an explicit physical value is unavailable. Conversely, a literal stored value such as 72 may have been written as a default rather than measured from the original scene or print. Checking metadata cannot establish which of these intentions produced a stored number.

When one JPEG says both 72 and 300 PPI

Suppose the same file contains JFIF 72 / 72 PPI and EXIF IFD0 300 / 300 PPI. The checker shows both sources and Conflicting density values. Do not assume EXIF or JFIF wins: the application receiving your file may use a different source.

The conflict check compares the same axis across supported sources after conversion to PPI. It flags a difference greater than the larger of 0.01 PPI or 0.01% of the larger reading. This accommodates small representation differences, such as PNG 299.9994 PPI and EXIF 300 PPI. It does not compare unitless records as physical density, and cannot compare an axis missing in either source. A file with one physical record and one unitless record may therefore show Physical density found without resolving the unitless one.

A single source with X = 300 and Y = 240 PPI can show Physical density found, rather than a conflict. The two axes are still different. Do not average them, assume an unrecorded axis matches the other, or treat the lack of a conflict warning as proof that both axes meet a requirement.

Does a displayed 300 PPI mean exactly 300?

Not necessarily. EXIF can store resolution as a fraction (a RATIONAL numerator and denominator). The checker divides those numbers and formats both Stored X / Y and PPI X / Y to at most six decimal places (very small positive values use rounded scientific notation). The display is not a raw fraction viewer.

For example, a JPEG with JFIF 300 / 300 pixels/inch and EXIF XResolution = 2999999999/10000000, YResolution = 300/1, ResolutionUnit = inches has EXIF X density of 299.9999999 PPI. Both sources can display 300 / 300, and the conflict warning will not appear: the difference is smaller than the approximately 0.03 PPI comparison tolerance at 300. The exact X value is still below 300. Values just above 300 can also display as 300. The difference in this example is negligible for ordinary print quality, but a strict metadata equality or minimum requirement could distinguish the values.

If a recipient requires an exact tag or a hard minimum rather than an approximate density, use the checker to identify the sources, then verify the unchanged file you intend to submit:

  1. Check both axes and the explicit unit in each source the recipient uses. Do not treat a displayed 300 or the absence of a conflict warning as proof of exact equality or of meeting a hard minimum.
  2. Use a local metadata viewer that exposes the original EXIF rational values, rather than only a rounded resolution. For example, a version of ExifTool supporting the original rational output described in its JSON output documentation can read the file without editing it: exiftool -j -l -G1:4 -api SaveBin=1 -XResolution -YResolution -ResolutionUnit "image.jpg". Replace the filename with your actual file. Look for the rat fields for XResolution and YResolution in IFD0 (not thumbnail IFD1) and the stored ResolutionUnit. Check JFIF or other relevant sources separately in the grouped output.
  3. For an inch-unit fraction n/d, compare n with 300 times d: equal means exactly 300 PPI, greater means above 300, and smaller means below 300. For a centimeter-unit fraction, compare 254 times n with 300 times 100 times d to account for the exact 2.54 conversion. Do this for both axes. For PNG pHYs, compare the original integer density converted from pixels per meter.
  4. Confirm the recipient’s accepted sources, required fields and rounding or tolerance. If the viewer cannot expose the original values and explicit units, or you cannot establish which metadata the recipient uses, ask the recipient to validate that exact file. Until the requirement can be verified, do not conclude that the file meets it.

These steps are for strict metadata checks. For ordinary print planning, use the actual pixel dimensions and intended physical size, as explained below.

Images stored sideways

The Image dimensions line uses orientation-adjusted dimensions for accepted JPEGs. Density X and Y, however, refer to the stored image axes. The checker adds an Orientation note when the image has a non-default EXIF orientation.

For example, a JPEG stored as 1200 × 800 px with a 90-degree display rotation can show 800 × 1200 px. If the stored X / Y density is 300 / 240 PPI, the corresponding upright horizontal / vertical densities are 240 / 300 PPI. Pair the correct axes if you calculate physical dimensions; a quarter-turn swaps them. For an actual print requirement, use the dimensions in the intended output orientation.

Does the image really meet a 300 DPI print requirement?

Separate two questions: does the file contain the required metadata, and does it have enough pixels at the intended print size?

DPI technically describes the printer’s ink or toner dots per inch. PPI describes image pixels per inch of physical output. Many applications call image density DPI, but the checker cannot measure printer hardware resolution. The stored value is a layout or density instruction, not a guarantee of the final print size or sharpness.

For an image used without cropping, divide its pixel dimensions by the physical dimensions in inches to calculate the effective PPI on each axis. For example:

Image printed at 6 × 4 in Effective PPI
1200 × 800 px, tagged 300 PPI 200 / 200
1800 × 1200 px, tagged 72 PPI 300 / 300
1800 × 1200 px, no density tag 300 / 300

The first file is tagged 300 PPI but does not have enough pixels for 300 PPI at that size. The latter two have sufficient pixels for that target, even though they lack a matching stored tag. If the final layout crops away pixels, calculate from the retained image region instead. Other factors such as focus, compression and source detail still affect quality.

Use the pixels to print size calculator for this separate calculation. Select Effective PPI, enter the image dimensions and intended print dimensions, choose Inches (or the appropriate unit), and select Calculate. To find the size at a chosen density, choose Print size from pixels instead. If the horizontal and vertical effective densities differ, check whether your layout needs crop or margins rather than stretching the picture.

What to do after the check

If the pixels meet the required output size but the tag is missing, inconsistent or wrong, a metadata-only edit may be enough. For a supported still JPEG or PNG, the image DPI changer can set a whole-number target PPI on both axes without resizing or re-encoding the image when it can safely edit and verify the supported fields. Incomplete or competing metadata may prevent editing; WebP writing is not supported. Save a separate copy, then check that exact copy again. For a strict metadata requirement, also verify the underlying values and units or use the recipient validation described above; a rounded reading is not proof of exact compliance. Confirm the receiving application interprets it as intended.

If the pixels are insufficient, changing the tag alone cannot fix that. Use a larger original, a smaller print size or a lower density target if the recipient permits it. Resampling can change the pixel grid but cannot recover lost original detail. See Adobe’s image size and resolution reference for the distinction. For ordinary web display, the actual pixel dimensions and display layout matter more than a 72 or 300 PPI label; changing only that label does not add image detail.

If the checker cannot read the file

The checker accepts one still JPEG, PNG or WebP up to 20 MiB (20,971,520 bytes), 4096 px per side and 8 million total pixels. All limits apply. For example, a 4032 × 3024 photo is about 12.19 MP and exceeds the total limit despite fitting within 4096 px on each side.

Animated images, unsupported formats such as TIFF, HEIC and PDF, damaged or truncated files, mismatched declared file types, and PNG or WebP files with EXIF orientation other than 1 are not supported. An invalid or ambiguous density record, such as a zero denominator in EXIF or duplicate pHYs chunks, can also cause an error. The browser must be able to decode the image and verify its orientation-adjusted dimensions. An error clears the old result; it is not a finding that the selected file lacks DPI.

For an unsupported original, use a compatible local metadata viewer that identifies the actual source fields and units. Check the unchanged file, not a resized or converted copy that may have lost or replaced its density records. If you only need the effective PPI, obtain the original pixel dimensions and use the print size calculator without relying on metadata. For general file dimensions, format or byte count on a supported file, use the image dimensions checker.