How to use the aspect ratio calculator
- Find a ratio: type the width and height of your image, video or screen. The calculator reduces them to the simplest whole-number ratio and shows the closest standard format.
- Check a file: choose, drop or paste an image or video to fill in its exact size. The image & video checker shows more detail, such as how a phone photo is stored and how long a video runs.
- Calculate matching dimensions: pick a preset or switch on Lock aspect ratio, then change one side. The other side updates to keep the same shape.
- Share or reuse: copy the result, or copy a link that opens the calculator with your numbers already filled in.
How to calculate an aspect ratio
An aspect ratio describes the shape of a rectangle: its width relative to its height. To find it, divide both dimensions by their greatest common divisor (GCD), the largest number that divides both exactly.
- 1920 × 1080: the GCD is 120, so 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9. The ratio is 16:9.
- 1024 × 768: the GCD is 256, which gives 4:3.
- 1366 × 768: the GCD is only 2, which gives 683:384. That's 1.779:1, within 0.05% of 16:9, which is why 1366 × 768 screens are sold as 16:9.
Ratios are also written as a single number compared with 1. Divide the width by the height: 1920 ÷ 1080 = 1.78, so 16:9 is the same as 1.78:1. Film formats are usually described this way, for example 1.85:1 and 2.39:1.
How to resize while keeping the same aspect ratio
To change one dimension without stretching the picture, scale the other one by the same factor:
For example, a 1920 × 1080 video scaled to 1280 pixels wide needs a height of 1280 × (1080 ÷ 1920) = 720 pixels.
The answer is not always a whole number. A 16:9 frame 1000 pixels wide would be 562.5 pixels tall, so you have to round. Video encoders usually need even dimensions (most H.264 and H.265 video uses 4:2:0 chroma subsampling, which requires them), so 1000 × 562 is a safer choice than 1000 × 563.
Aspect ratio vs. resolution
Resolution is the number of pixels, for example 3840 × 2160. The aspect ratio is only the shape. Many resolutions share one shape: 1280 × 720, 1920 × 1080 and 3840 × 2160 are all 16:9, so a 720p video scales up to fill a 4K screen without black bars. Neither number tells you how sharp a screen looks. That depends on pixel density (PPI), the number of pixels per inch of the physical display.
The shapes you’ll meet most are 16:9 for TVs, monitors and YouTube, 9:16 for Reels, Stories and TikTok, 4:3 for phone photos and iPads, and 1:1 for square posts. The aspect ratio cheat sheet lists all 14 common ratios, with their decimals, standard resolutions and uses, and each has its own guide: 16:10, 3:2, 5:4, 4:5, 2:3, 21:9, 32:9, 2:1, 1.85:1 and 2.39:1.
Frequently asked questions
What aspect ratio is 1920 × 1080?
16:9. 1920 and 1080 share a greatest common divisor of 120, which reduces them to 16 and 9.
What is the aspect ratio of 4K?
Consumer 4K UHD (3840 × 2160) is exactly 16:9. Cinema DCI 4K (4096 × 2160) is wider: 256:135, or about 1.9:1.
Is 16:10 the same as 16:9?
No. 16:10 (1.6:1) is taller. At 1920 pixels wide, a 16:10 screen has 1200 rows of pixels and a 16:9 screen has 1080, about 11% fewer.
What does "21:9" really mean?
It is a marketing label for ultrawide monitors rather than an exact ratio. 2560 × 1080 is 64:27 (2.37:1) and 3440 × 1440 is 43:18 (2.39:1).
Why does my video get black bars?
When the video and the screen have different aspect ratios, the player either adds bars or crops the picture. Wider content on a narrower screen gets bars above and below (letterboxing); narrower content gets bars at the sides (pillarboxing).