Good to know
How a ratio is simplified
The width and height are divided by their greatest common divisor (GCD), the largest whole number that divides both exactly:
1920 × 1080 GCD 120 → 16:9 1200 × 630 GCD 30 → 40:21 (about 1.905:1)
Decimals work too: 1.91 by 1 becomes 191:100. The result also shows the ratio as a single number (width ÷ height), which makes shapes easy to compare: 16:9 is 1.7778:1.
Working out a missing side
new height = new width × ratio height ÷ ratio width new width = new height × ratio width ÷ ratio height
Example: a 4:5 portrait post that is 1080 pixels wide must be 1080 × 5 ÷ 4 = 1350 pixels tall. Results are rounded to two decimal places, so round to a whole pixel when you export.
Common shapes
| Ratio | Typical use |
|---|---|
| 16:9 | Widescreen video, TVs, most monitors |
| 9:16 | Vertical video and stories |
| 4:3 | Older screens and many tablets |
| 3:2 | Many camera photos and some laptops |
| 1:1 | Square posts and profile pictures |
| 4:5 | Portrait feed posts |
| 1.91:1 | Link preview images |
| 21:9 | Ultrawide screens |
The CSS
aspect-ratio: 16 / 9; tells the browser the shape of a box before its picture or video arrives, so the page does not jump as it loads. The second rule, padding-top: 56.25%, is the older technique for browsers that predate aspect-ratio: 56.25% is 1080 ÷ 1920 × 100. Current browsers only need the first line.