b2KIT

Image Dimension Checker

Check width, height, DPI, color depth, and file size of multiple images at once.

Tested tool guide Tested browser tools Checked August 16, 2026

What Image Dimension Checker does, with a checked example

Drop in one image or several at once and the tool reads each file's header to report pixel dimensions, DPI, color depth, and byte size together in one pass, so a mixed batch of PNGs, JPEGs, GIFs, and WebPs comes back comparable. Parsing happens locally in the browser; no file is uploaded. The thing users most often get wrong is DPI: it is a print hint stored in metadata, not a property of the pixels. Two files with identical 1200x800 pixels can read 72 DPI and 300 DPI, and editing the tag never changes the pixel count.

Worked example

A concrete input and expected output from the current implementation.

Input

A 64x64 PNG saved from a graphics editor with 8-bit RGBA color and a 72 DPI print tag (2835 pixels per meter).

Expected output

Width 64 px, height 64 px, DPI 72, color depth 32-bit (RGBA), plus the file's byte size as read from disk. Content, sharpness, and compression are not reported.

PNG headers store dimensions and a pixels-per-meter tag: 2835 ppm converts to 72 DPI (2835 / 39.37 = 72.0). Four 8-bit channels add up to 32-bit depth. File size is read from the actual file and cannot be derived from the other fields, since it depends on the compressed content.

How the result is produced

1

Where each number is stored

Every format keeps this information differently. PNG puts width, height, bit depth, and color type in its IHDR chunk and resolution in a pHYs chunk; JPEG records dimensions in frame-header markers and density in a JFIF segment; GIF and WebP carry their own header fields. The tool resolves each format's layout and returns one comparable row per file, which is why a mixed batch works in a single pass.

2

What DPI actually means

DPI comes from the file's resolution tag and controls only physical print size. PNG stores pixels per meter: 2835 ppm converts to 72 DPI, 11811 ppm to 300 DPI. Screenshots and web downloads often carry no tag at all, so no DPI is shown for them. A 1200-pixel image tagged 300 DPI prints 4 inches wide; the same pixels tagged 72 DPI print 16.7 inches. On screen both are 1200 pixels wide.

Good uses

  • Before sending a photo batch to a print shop, confirming every file meets the shop's resolution requirement (for example 300 DPI at the intended print size) instead of trusting file names or previews.
  • After a bulk resize or export, verifying that all output files actually have the expected dimensions and bit depth, and catching the one image a script processed incorrectly.
  • When assembling a contact sheet or newsletter from mixed sources (PNG logos, JPEG photos, GIF graphics), checking size, depth, and transparency in one pass so unsuitable files are caught before layout.

Limits and checks

  • A 72 DPI reading is usually read backwards: it most often means the file has no resolution tag at all (or an exporter's default), not that the image is low quality. A 3000x2000 untagged file can print perfectly; it is 10 inches at 300 DPI.
  • DPI says nothing about pixels: an image can carry a 300 DPI tag and still be a tiny 100x100 file that prints as a 0.33-inch square. Always pair the DPI reading with the pixel dimensions.
  • Color depth is per-channel and fixed by format: every baseline JPEG is 24-bit, a PNG is whatever depth it was saved at, and a GIF is at most 8-bit. A high number does not mean more detail, and file size reflects compression, not dimensions: a flat-color 4000x4000 PNG can be smaller than a noisy 800x600 JPEG.

Common questions

Can I tell from the DPI whether an image is sharp enough to print large?

Only roughly. Print size equals pixels divided by DPI: a 3000x2000 image prints 10 x 6.7 inches at 300 DPI and 41.7 x 27.8 inches at 72 DPI. Sharpness also depends on the original capture, compression, and viewing distance, which no header check can see. If the tag is missing, the image can still print fine: the printer rasterizes at its own resolution.

Why do two images with the same dimensions and DPI have wildly different file sizes?

Because size records how well the image compressed, not its dimensions or quality tags. A flat-color PNG of any size can compress to a few hundred bytes, while a grainy photo with the same pixel count runs into megabytes. The checker reports size so you can spot outliers and estimate download or print times, but it cannot tell you which image is better.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools