Aspect Ratio Calculator
Find a ratio from pixels, scale dimensions, or calculate a missing width or height — instantly.
Enter any pixel dimensions — e.g. 1920 × 1080 — and get the simplified ratio, decimal, megapixels, orientation, and the closest standard format.
Enter original dimensions, then type either the new width or height — the missing value is calculated automatically.
Enter a ratio like 16:9, choose whether you know the width or height, type the value, and get the missing dimension.
| Ratio | Crop Dimensions | Trimmed |
|---|
What Is an Aspect Ratio?
An aspect ratio is the proportional relationship between a frame's width and height, expressed as two
numbers separated by a colon — like 16:9 or 4:3. It describes the
shape of an image or video without specifying actual pixel dimensions. A 1280×720 video and
a 3840×2160 video both have a 16:9 aspect ratio — they are the same shape, just different
resolutions.
Aspect ratios are used everywhere: video production, photography, social media uploads, print design, and screen manufacturing. Getting the ratio wrong causes black bars (letterboxing or pillarboxing), cropping, or distorted images.
Most Common Aspect Ratios & Where They're Used
How to Calculate Aspect Ratio from Pixels
The formula uses the Greatest Common Divisor (GCD) of width and height:
Divide both dimensions by their GCD. For 1920×1080: GCD is 120, so 1920÷120 = 16 and 1080÷120 = 9 → 16:9. For 2560×1440: GCD is 80 → 32:18 → further reduced to 16:9.
How to Scale Image Dimensions While Keeping Aspect Ratio
To resize an image proportionally, use cross-multiplication:
In CSS you can preserve aspect ratio automatically with width: 100%; height: auto; on an
<img> tag, or use the aspect-ratio property on a container.
Aspect Ratios for Social Media Platforms (2025)
YouTube
Standard videos: 16:9 (1920×1080 for 1080p, 3840×2160 for 4K). YouTube Shorts:
9:16 (1080×1920). Thumbnails: 1280×720 (16:9).
Square posts: 1:1 (1080×1080). Portrait posts: 4:5 (1080×1350 — maximizes
screen real estate in the feed). Landscape posts: 1.91:1 (1080×566). Reels &
Stories: 9:16 (1080×1920).
TikTok
Standard vertical: 9:16 (1080×1920). Landscape: 16:9. Square:
1:1.
Twitter / X
Single image: up to 16:9, optimal 1600×900. Profile header: 1500×500 (3:1).
Post images: 1.91:1 to 1:1. Cover photo: 1584×396 (4:1).
Letterboxing vs. Pillarboxing
Letterboxing adds horizontal black bars (top and bottom) when a wide-format video is shown in a narrow-format container. For example, a 16:9 film displayed in a 4:3 TV frame gets black bars on top and bottom.
Pillarboxing adds vertical black bars (left and right) when a narrow-format source is displayed in a wider frame. For example, a 4:3 video in a 16:9 frame gets bars on the sides.
Use the Scale Dimensions mode above to check the exact pixel dimensions of your content and crop area before exporting.
Aspect Ratio in Photography
Most DSLR and mirrorless cameras (Canon, Nikon, Sony full-frame and APS-C) shoot in 3:2.
Micro Four Thirds (Panasonic, Olympus) shoot in 4:3. Medium format cameras like
Hasselblad use 4:3 or 1:1. Understanding your camera's native ratio helps
you plan compositions that won't be cropped when printed to standard paper sizes like 4×6
(3:2) or 8×10 (4:5).