Aspect Ratio Calculator
Three things you need a ratio for: naming one, completing one, and scaling to fit. Presets for 16:9, 4:3, 1:1, 3:2, 21:9 and vertical video are one tap away.
What an aspect ratio is
An aspect ratio is the relationship between width and height, written as two numbers separated by a colon. 16:9 means the width is 16 units for every 9 units of height. It says nothing about size: 1280×720, 1920×1080 and 3840×2160 are all 16:9.
1920 and 1080 share a greatest common divisor of 120, so dividing both gives 16:9. That is exactly what this calculator does, which is why it can name a ratio you have never seen before rather than guessing at the nearest common one.
The ratios worth knowing
| Ratio | Where you see it | Common sizes |
|---|---|---|
| 16:9 | HD video, YouTube, most monitors and TVs | 1920×1080, 3840×2160 |
| 9:16 | Vertical video — Reels, TikTok, Shorts | 1080×1920 |
| 4:3 | Older monitors, iPad, classic cameras | 1024×768, 2048×1536 |
| 1:1 | Square social posts and profile pictures | 1080×1080 |
| 3:2 | DSLR and mirrorless photography, 6×4 prints | 6000×4000 |
| 21:9 | Ultrawide monitors and cinematic video | 3440×1440, 2560×1080 |
| 2.39:1 | Anamorphic widescreen cinema | 4096×1716 |
A note on "21:9": almost no ultrawide monitor is exactly 21:9. A 3440×1440 panel is precisely 43:18, or about 2.389:1. The calculator reports the true ratio and tells you what the industry calls it, rather than quietly rounding.
Working out a missing dimension
This is the everyday use: you know you want 16:9 and you know one side. Multiply by the ratio the right way round.
For a 2560-pixel-wide 16:9 image: 2560 × 9 ÷ 16 = 1440. Going the other way, height 1080 at 16:9 gives 1080 × 16 ÷ 9 = 1920.
Ratios rarely divide into whole pixels. 1000 pixels wide at 16:9 is 562.5 high — the calculator rounds to 563 by default and tells you it did, or gives the exact decimal if you switch the option. For video, round to an even number: most codecs require even dimensions, and some require multiples of 4.
Resize to fit, without distortion
The scale tab answers "make this fit inside a box without squashing it". It works out how much each dimension would have to shrink and uses the smaller of the two factors, so the whole image fits and the ratio is preserved.
A 1920×1080 image into a 1280×1280 box
The width factor is 0.667 and the height factor is 1.185. The smaller wins, so the result is 1280×720 — it touches the sides and leaves space above and below.
Distortion happens when the two factors are applied independently — that is what CSS object-fit: fill does, and why stretched thumbnails look wrong. Keeping one factor for both dimensions is the whole trick.
Worked examples
What ratio is 1080×1350?
4:5 — the Instagram portrait format, and the largest area the feed will show without cropping.
A 16:9 video at 1440 pixels tall
1440 × 16 ÷ 9 = 2560 pixels wide.
A photo is 6000×4000. What ratio, and how many megapixels?
3:2, and 24 megapixels — the classic full-frame camera format, which prints at 6×4 inches with no cropping.
Common uses
- Video: exporting at the right dimensions for each platform.
- Web design: responsive image boxes and CSS
aspect-ratiovalues. - Photography: cropping to a print size without surprises.
- Displays: comparing monitors and working out real screen dimensions.
- Print: scaling artwork to a frame or a page.
Frequently asked questions
How do I calculate an aspect ratio?
What size is 16:9?
Why does my ultrawide monitor say 43:18 instead of 21:9?
How do I resize an image without stretching it?
What if the ratio does not give whole pixels?
Which ratio should I use for social video?
Related calculators
- Percentage Calculator Six percentage calculations in one place, each with the formula and the steps. Math
- Square Footage Calculator Area of rooms, lots and odd shapes in square feet and square meters. Construction
- Fraction Calculator Add, subtract, multiply and divide fractions and mixed numbers, simplified. Math
- Percentage Increase Calculator Measure the increase or decrease between two values, in either direction. Math