What an aspect ratio is
The aspect ratio of an image, video or screen is the proportion between its width and its height, written width:height. A 16:9 frame is 16 units wide for every 9 units high, whatever its actual size: 1280 × 720, 1920 × 1080 and 3840 × 2160 are all 16:9. Keeping the ratio when you resize prevents stretched faces and black bars.
Three ways to use the calculator
- Height from the width: pick a ratio and enter the width to get the matching height.
- Width from the height: the reverse, useful for a banner of fixed height.
- Ratio of a size: enter any width and height to get the simplified ratio, its decimal value, the megapixels and the diagonal.
The calculator works with pixels, inches, centimeters or any unit, as long as width and height use the same one.
The formulas
- Ratio r = width ÷ height (16 ÷ 9 = 1.778)
- Height = width ÷ r
- Width = height × r
- Simplified ratio: divide width and height by their greatest common divisor
- Diagonal = √(width² + height²)
Worked example
You need a 16:9 thumbnail 1920 pixels wide.
- r = 16 ÷ 9 = 1.778.
- Height = 1920 ÷ 1.778 = 1080 pixels.
- The greatest common divisor of 1920 and 1080 is 120, so the ratio simplifies to 16:9.
- The image holds 1920 × 1080 = 2,073,600 pixels, or 2.07 megapixels.
Common aspect ratios
| Ratio | Decimal | Typical use |
|---|---|---|
| 16:9 | 1.78 | HD and 4K video, TVs, monitors |
| 16:10 | 1.60 | Laptops |
| 4:3 | 1.33 | Older TVs, tablets, many compact cameras |
| 3:2 | 1.50 | 35 mm photos, many DSLRs |
| 21:9 | 2.33 | Ultrawide monitors |
| 1:1 | 1.00 | Square social posts |
| 4:5 | 0.80 | Portrait feed posts |
| 9:16 | 0.56 | Vertical video, stories |
| 2.39:1 | 2.39 | Widescreen cinema |
Cropping versus letterboxing
When a picture’s ratio does not match the screen, you either crop part of it or add bars. A 4:3 photo shown on a 16:9 screen gets bars on the sides (pillarboxing); a 2.39:1 film on the same screen gets bars at the top and bottom (letterboxing). To fill the frame without bars, crop to the target ratio before exporting.