To find an aspect ratio, divide the width and the height by their greatest common divisor. 1920 by 1080 divides by 120 to give 16:9. This calculator does it as you type, names the nearest standard ratio, and resizes to a new width or height with the ratio locked.
How do I use the aspect ratio calculator?
- Type a width and a height, or tap a preset for a screen, video or social size. The box starts with 1920 by 1080 so you can see a result at once.
- Read the simplified ratio, the nearest standard ratio, the decimal and the orientation. The rectangle shows the shape to scale.
- To resize, type a new width or a new height in the resize box. The other side is filled in, and the line underneath shows the exact value and what it was rounded to.
- Tick Round to even numbers for video exports. Press Swap to flip landscape and portrait.
- Copy the ratio or the new size with the buttons.
How is an aspect ratio calculated?
An aspect ratio is width to height, reduced as far as whole numbers allow. The reduction uses the greatest common divisor, found with the Euclidean algorithm. For 1080 by 1350 the GCD is 270, so the ratio is 4:5.
To keep a ratio when resizing, cross multiply. For a 16:9 picture that must be 1000 pixels tall, the width is 1000 × 16 ÷ 9 = 1777.78, which rounds to 1778. Rounding is why a resized image can be off by a fraction of a pixel, and why this tool shows both numbers.
Worked examples
- 1920 × 1080 reduces to 16:9, decimal 1.778.
- 1080 × 1350 reduces to 4:5, decimal 0.8. This is the tallest normal Instagram feed shape.
- 1366 × 768 reduces to 683:384. It is sold as 16:9 but sits 0.05% off, so the tool shows the nearest named ratio and the gap.
- 2560 × 1080 is marketed as 21:9. It is really 64:27 (2.370), which is nearer to the 2.39:1 cinema shape than to 21:9 (2.333).
- 4000 × 3000 photo to 1200 wide gives 1200 × 900, because the ratio is 4:3.
What are the common aspect ratios and where are they used?
| Ratio | Decimal | Typical use |
|---|---|---|
| 1:1 | 1.000 | Square posts, profile pictures, album covers |
| 4:3 | 1.333 | Older TVs and monitors, iPad, many compact cameras |
| 3:2 | 1.500 | 35 mm film and most DSLR and mirrorless photos, 6x4 inch prints |
| 16:10 | 1.600 | Many laptops and some monitors (1920x1200) |
| 16:9 | 1.778 | HD and 4K video, YouTube, most TVs and monitors |
| 1.85:1 | 1.850 | Flat widescreen cinema |
| 2.39:1 | 2.390 | Anamorphic widescreen cinema (often called 2.35 or 2.40) |
| 21:9 | 2.333 | Ultrawide monitors (the real panels are 64:27 or 43:18) |
| 4:5 | 0.800 | Instagram portrait posts |
| 9:16 | 0.563 | Stories, Reels, TikTok, Shorts: full-screen phone video |
What size should I use for each social platform?
Checked December 2026. The YouTube row matches YouTube Help (Video resolution and aspect ratios), which lists 16:9 sizes from 240p to 8K, with 1920 × 1080 as 1080p and 3840 × 2160 as 2160p. TikTok's ad help page lists 540 × 960 as the minimum for vertical 9:16 video. For Instagram and X we could not find an official page that states these exact pixel sizes, so those rows are commonly recommended sizes, not hard limits (X's API docs allow aspect ratios from 1:3 to 3:1 for video). Check the platform's current help page before a paid campaign.
| Platform and format | Ratio | Commonly recommended size |
|---|---|---|
| Instagram feed, portrait | 4:5 | 1080 × 1350 |
| Instagram feed, square | 1:1 | 1080 × 1080 |
| Instagram feed, landscape | 1.91:1 | 1080 × 566 |
| Instagram Stories and Reels | 9:16 | 1080 × 1920 |
| TikTok video | 9:16 | 1080 × 1920 |
| YouTube video | 16:9 | 1920 × 1080 or 3840 × 2160 |
| X (Twitter) single image | 16:9 | 1200 × 675 |
What are the edge cases and limits?
- Decimals. Values are reduced exactly up to six decimal places, so 1.5 and 1 give 3:2 and 0.1 by 0.3 gives 1:3 with no floating point noise.
- Zero and negatives. A side of zero has no ratio. The tool says so instead of showing infinity.
- Huge numbers. Anything up to one trillion works. Beyond that you get a message.
- Swapped sides. Swapping width and height turns 16:9 into 9:16 and picks the portrait name, so 1080 × 1920 reads 9:16, not 16:9.
- Odd results. Prime-looking ratios such as 683:384 are correct. They mean the size is not an exact standard shape.
- Even rounding. The even option never returns 0. The smallest result is 2.
Everything runs in your browser. Nothing you type is sent anywhere.
Frequently asked questions
How do I calculate an aspect ratio?
Divide both the width and the height by their greatest common divisor (GCD). For 1920 by 1080 the GCD is 120, so the ratio is 16:9.
This calculator does that as you type, and also shows the decimal (width divided by height) and the nearest standard ratio.
What is the aspect ratio of 1920x1080?
16:9. Both numbers divide by 120, which leaves 16 and 9. The decimal is 1.778. 1280x720, 2560x1440 and 3840x2160 are all 16:9 as well.
How do I resize an image and keep the aspect ratio?
Enter the original width and height at the top, then type the new width (or the new height) in the resize box. The other side is filled in for you, rounded to a whole pixel.
For example a 4000 by 3000 photo shrunk to 1200 wide becomes 1200 by 900.
Why does 1366x768 not show exactly 16:9?
Because it is not exactly 16:9. It reduces to 683:384, which is 0.05% away from 16:9. 1366 is the width panels settled on for 768-line screens. The calculator shows the nearest named ratio and how far off it is.
What is the aspect ratio for Instagram, TikTok and YouTube?
Commonly recommended: Instagram feed 4:5 (1080x1350) or 1:1 (1080x1080), Stories, Reels and TikTok 9:16 (1080x1920), and YouTube 16:9. Only the YouTube figures are confirmed on an official page. See the platform table on this page for the full list and the date we checked.
Why round to even numbers for video?
Most video codecs, including H.264 with common 4:2:0 color, need an even width and height. An odd size like 853x480 either fails to encode or gets padded. Tick the even option and the tool picks the nearest even number, such as 854.
What is the difference between 16:9 and 16:10?
16:10 is a little taller. 1920x1200 is 16:10 and 1920x1080 is 16:9. Show a 16:9 video on a 16:10 screen and you get thin bars at the top and bottom.
Does it work with decimals and very large numbers?
Yes. Decimals are handled exactly up to six places, so 1.5 by 1 gives 3:2. Numbers up to 1,000,000,000,000 work. Zero, negative numbers and text are rejected with a message instead of a wrong answer.