An aspect ratio calculator finds the proportion between width and height and keeps it when you resize. Enter the original dimensions to get the simplified ratio, such as 16:9. Then enter a new width or a new height, and the other side is calculated with new height = new width × height ÷ width.
How to use the Aspect Ratio Calculator
- Enter the original sizeType the width and height in any unit, or choose a preset ratio such as 16:9 or 4:3.
- Read the ratioThe simplified ratio, its decimal form and the CSS aspect-ratio value are shown.
- Solve a new sizeType a new width or a new height. The matching dimension appears, with a table of common widths.
How the aspect ratio calculator works
An aspect ratio describes the shape of a rectangle as width to height, written with a colon. The aspect ratio calculator does two jobs.
1. Simplify the ratio. Both numbers are divided by their greatest common divisor. For 1920 × 1080 the divisor is 120, so the ratio is 1920 ÷ 120 : 1080 ÷ 120 = 16:9. Some sizes do not reduce neatly: 1366 × 768 simplifies to 683:384, so the tool also names the nearest familiar ratio (about 16:9).
2. Solve the missing side. To resize without stretching, the ratio must stay the same:
- new height = new width × original height ÷ original width
- new width = new height × original width ÷ original height
Example: scaling 1920 × 1080 down to a width of 1280 gives 1280 × 1080 ÷ 1920 = 720. When a result is not a whole number, round to the nearest pixel; the tiny error is not visible.
Common aspect ratios
- 16:9 (1.78): HD and 4K video, most monitors and TVs. 1280 × 720, 1920 × 1080, 3840 × 2160.
- 4:3 (1.33): older screens, many tablets and presentation slides. 1024 × 768.
- 3:2 (1.5): 35 mm film, many cameras, 6 × 4 inch prints.
- 1:1: square posts and profile pictures.
- 4:5 (0.8) and 9:16 (0.56): portrait posts and full-screen vertical video.
- 21:9 (2.33): the marketing name for ultrawide monitors and cinematic video.
- 1.91:1: link preview images, commonly 1200 × 630.
In CSS, the aspect-ratio property reserves the right shape before an image or video loads, which prevents the page from jumping. The tool gives you the value to paste, plus the older padding percentage (height ÷ width × 100) used for the same purpose in legacy code.
Once you know the numbers, apply them with the image resizer, or change the shape of a picture with the image cropper.
Frequently asked questions
How do I calculate an aspect ratio?
Divide the width and the height by their greatest common divisor. 1920 and 1080 share the divisor 120, giving 16:9. The aspect ratio calculator does this instantly.
How do I resize an image and keep the aspect ratio?
Choose the new width, then multiply it by the original height and divide by the original width to get the new height.
What is the aspect ratio of 1920 × 1080?
16:9. The same ratio applies to 1280 × 720, 2560 × 1440 and 3840 × 2160.
What is the difference between aspect ratio and resolution?
Aspect ratio is the shape (width relative to height). Resolution is the number of pixels. 1280 × 720 and 1920 × 1080 have different resolutions but the same 16:9 ratio.
Is 16:9 the same as 1.78:1?
Yes. 16 divided by 9 is about 1.78, so 16:9 and 1.78:1 describe the same shape.
Last updated 24 November 2026 by the TheTechFolk team.