How to check the aspect ratio of an image or video
- Choose a file, drag it onto the box above, or paste a screenshot. Photos and videos from a phone, camera or screen recorder all work.
- Read the result: the aspect ratio in its familiar form (such as 16:9 or 3:4), the exact simplified ratio when they differ, the dimensions in pixels, the orientation and, for video, the running time.
- Use the size elsewhere: open it in the aspect ratio calculator, switch on Lock aspect ratio and change one side to calculate matching dimensions that keep the same shape.
Your file stays on your device
The checker runs entirely in your browser. To find the size, it reads only the small part of the file that describes the picture (the header), in a few slices, and never the whole file. The file is not uploaded to our servers or anyone else's, and nothing about it is stored. Once this page has loaded it even works offline. Our analytics record only that a file was checked and its general type, such as "JPEG" or "MP4", never its name, size or contents.
Why phone photos and videos are often stored sideways
A camera sensor always records in its own landscape shape. When you hold the phone upright, most cameras don't turn the pixels. Instead they save the landscape image together with a rotation tag: the EXIF Orientation tag in JPEG and TIFF photos, a rotation property in HEIC photos, or a rotation matrix in MP4 and MOV videos. Photo viewers and video players apply the tag and show the picture the right way up.
That is why a 12-megapixel iPhone photo can be stored as 4032 × 3024 pixels but look like a 3024 × 4032 portrait. The checker reads the tag and reports the size you actually see, 3024 × 4032 (3:4), and also tells you how the file is stored. Videos work the same way: a portrait clip recorded as 1920 × 1080 with a 90° rotation flag plays as 1080 × 1920, the 9:16 shape of Reels, Shorts and TikTok.
Supported formats
| Format | What is read | Good to know |
|---|---|---|
| JPEG | Frame size and EXIF orientation | Most photos from cameras and Android phones |
| HEIC, HEIF, AVIF | The main image's size and rotation | iPhone photos are HEIC. Only Safari can preview HEIC, but every browser gets the size |
| PNG, APNG | Image size and EXIF orientation | Screenshots are usually PNG |
| WebP, GIF, BMP | Canvas size | Animated files report the size of the whole animation |
| TIFF | Image size and orientation | Only Safari can preview TIFF |
| SVG | Width, height and viewBox | Vector images with only a viewBox have a shape but no fixed size |
| MP4, MOV, M4V, 3GP | Display size, rotation and duration | Includes HEVC video from iPhones, even where the browser can't play it |
| WebM, MKV | Display size and duration | Live recordings often don't store a duration |
Camera RAW files (such as DNG, CR3, NEF and ARW), AVI and MPEG transport streams aren't supported yet.
How to find a file's dimensions without this tool
- Windows: right-click the file, choose Properties and open the Details tab. Photos list Dimensions; videos list Frame width and Frame height.
- Mac: select the file in Finder and choose File › Get Info. The More Info section shows the dimensions.
- iPhone and iPad: open the photo or video in Photos and swipe up, or tap the info button, to see its size in pixels.
- Android: open the photo in Google Photos and swipe up to see the details, including the resolution.
System viewers sometimes show the stored size rather than the upright one, so a portrait photo can appear as landscape numbers. The checker always tells you both.
Frequently asked questions
Is my file uploaded anywhere?
No. Your browser reads the file on your device and the page never sends it anywhere. Only the few bytes that describe the picture are read, which is also why even very large videos are checked instantly.
Why are my photo's width and height swapped?
The camera saved the picture sideways with a rotation tag, as explained above. The checker shows the upright size first, because that is the shape people see, and the stored size underneath.
Why is there no preview of my HEIC or TIFF file?
Only Safari can display HEIC and TIFF images. Other browsers can't draw them, but the checker reads the size straight from the file, so the numbers are still exact.
Why is my screenshot bigger than my screen size?
Phones and many laptops have high-density screens that use two or three physical pixels for each point of the interface. An iPhone that is 393 points wide takes screenshots 1179 pixels wide. The DP to PX converter explains how these scale factors work.
Why does my iPhone photo or video show a different size than expected?
When you choose from the Photos library in Safari, iOS hands the page a compatible copy, converting HEIC photos to JPEG and HEVC videos to H.264. The picker can also offer smaller sizes. Pick Actual Size, or use Choose File to check the original file.
My file doesn't appear in the file chooser. What can I do?
Some systems only list common image and video types. Switch the file-type menu to All files, or drag the file onto the box instead.
Can I check several files at once?
Not yet. Check one file, then drop or choose the next one at any time and the result updates.
Related tools
- Aspect ratio calculator: find the ratio of any resolution and calculate matching dimensions.
- Aspect ratio cheatsheet: common ratios, their decimal values and where each one is used.
- Screen resolutions by device: the resolution and shape of popular phones, tablets, laptops and TVs.
- DP to PX converter: turn density-independent pixels into physical pixels.