Skip to content
OddsockLocal
Local

No files yet.

Waiting for inputRuns in this browser. Nothing is uploaded.

How to use

  1. Choose one or more images.
  2. Read width, height and the simplified ratio.
  3. Read megapixels and the byte size if the weight matters.
  4. Open the EXIF viewer if you also need the camera and the location.

What is Image dimensions?

This page decodes the bitmap far enough to read its pixel grid and reports width, height, the ratio in lowest terms, megapixels, the MIME type and the file size in bytes. A 4032 by 3024 photo is 4:3, because the greatest common divisor of 4032 and 3024 is 1008, and it is 12.19 megapixels. A 1920 by 1080 frame is 16:9 and 2.07 megapixels. The report is JSON, one object per file, and it does not include EXIF, GPS or camera settings. Those live on the metadata and EXIF pages.

Read more

The file is not re-encoded. Opening it here does not strip the location and does not change a byte of the download, because the download is the report, not a new picture. Animation is still a single width and height: the canvas size of the file, not a width per frame. An EXIF orientation tag can make a viewer show the photo sideways relative to these stored pixels. This report is the stored grid after the browser has decoded it, which is usually the oriented size.

Several images are listed one after another. A file the browser cannot decode is refused rather than guessed from the filename. SVG that has been accepted is rasterized for the measurement, so you see the bitmap size the renderer produced.

Use cases

  • A developer checking a hero is 2400 by 1260 before it ships.
  • A photographer confirming a 4032 by 3024 export is 4:3.
  • A student computing megapixels as width times height divided by one million.
  • Someone separating a dimension check from a full EXIF dump.
  • A reviewer comparing the byte size with the pixel count.

4032 by 3024

A JPEG whose decoded grid is 4032 by 3024 and whose file is about 3 MB.

Width 4032, height 3024, ratio 4:3, about 12.19 megapixels, type image/jpeg, and the byte size. No camera tags.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

No. The result is a report. The picture you opened is not rewritten.