Aspect Ratio Calculator
Find the aspect ratio of any width and height, or work out a missing width or height at a fixed ratio. Includes presets for 16:9, 4:3, 1:1 and more, plus a live preview of the shape.
How to Use
- Choose a tab: Find Ratio if you know a width and height, Calc Width if you know the ratio and the height, or Calc Height if you know the ratio and the width.
- Enter your numbers: results update as you type. To resize an image, enter its original width and height as the ratio (for example 1600 and 1200), then the new width or height.
- Try a preset: tap 16:9, 4:3, 1:1 and the others to fill in a common ratio. On the Find Ratio tab a preset fills in example dimensions at that ratio.
- Pick a unit: pixels, inches, centimeters, millimeters or no unit. The unit is a label only and does not convert your numbers.
- Read the result: the ratio or calculated size, the decimal ratio, the nearest standard ratio, the orientation and a to-scale preview of the shape.
What You'll Discover
- Simplified aspect ratio — any width and height reduced to the smallest whole-number pair, such as 1920 × 1080 becoming 16:9.
- Missing width or height — the other dimension needed to keep a fixed ratio, which is what you need when resizing an image or sizing a video frame.
- Decimal ratio — width divided by height, a single number that makes two ratios easy to compare (1.78 for 16:9, 1.33 for 4:3).
- Nearest standard ratio — how close your size is to a familiar format. 1366 × 768 reduces to the awkward 683:384, but it is within 0.05% of 16:9.
- Orientation and preview — whether the shape is landscape, portrait or square, drawn to scale.
Width and height must be positive numbers between 0.001 and 1,000,000,000. A blank, zero or negative field shows a dash instead of a result.
How to Calculate an Aspect Ratio
An aspect ratio describes the shape of a rectangle, not its size. A 1920 × 1080 screen and a 1280 × 720 screen have different pixel counts but the same shape, so both are 16:9. The calculator uses the formulas below, and each one is simple enough to check by hand.
| Task | Formula | Example | Result |
|---|---|---|---|
| Simplify to a ratio | W ÷ g : H ÷ g, where g is the greatest common divisor | 1920 × 1080, g = 120 | 16:9 |
| Decimal ratio | W ÷ H | 1920 ÷ 1080 | 1.78 |
| Missing width | Height × (ratio W ÷ ratio H) | 1080 × 16 ÷ 9 | 1,920 |
| Missing height | Width × (ratio H ÷ ratio W) | 800 × 9 ÷ 16 | 450 |
| Resize an image | New width × (original H ÷ original W) | 400 × 1200 ÷ 1600 | 300 |
Why the greatest common divisor
Dividing both sides by the same number never changes the shape, and dividing by the greatest common divisor gives the smallest whole numbers that still describe it. For 1920 and 1080 the greatest common divisor is 120, because 1920 = 16 × 120 and 1080 = 9 × 120. If the only common divisor is 1, the size is already in lowest terms, as with 683:384.
Resizing without distortion
To keep the shape when you resize, multiply both dimensions by the same factor. Going from 1920 × 1080 to 1280 pixels wide uses a factor of 1280 ÷ 1920, so the new height is 1080 × 1280 ÷ 1920 = 720. To 800 pixels wide gives 450. To 1000 pixels wide gives 562.5, which is not a whole pixel: the calculator rounds to 563 px and shows the unrounded 562.5 in the "Unrounded value" row so you can decide how to round it yourself.
Physical sizes work the same way. A 16:9 panel that is 8 inches tall is 8 × 16 ÷ 9 ≈ 14.22 inches wide. Non-pixel units are shown to two decimal places. If you need to move between units first, the length converter handles inches, centimeters and millimeters. A ratio calculator is the better fit when your numbers are not a width and a height, and the proportion calculator solves the same "scale to a new size" problem for any pair of quantities.
Common Aspect Ratios and Resolutions
These are the shapes you will meet most often. The example sizes reduce exactly to the ratio shown, apart from the rounded cinema example.
| Ratio | Decimal | Example sizes | Typical use |
|---|---|---|---|
| 1:1 | 1.00 | 1080 × 1080 | Square images, profile pictures |
| 5:4 | 1.25 | 1280 × 1024 | Older LCD monitors; 8 × 10 in prints are 4:5 upright |
| 4:3 | 1.33 | 640 × 480, 800 × 600, 1024 × 768 | Standard-definition TV, older monitors and projectors |
| 3:2 | 1.50 | 3000 × 2000, 6000 × 4000 | 35 mm still-film frames (36 × 24 mm), many DSLR and mirrorless sensors, 4 × 6 in prints |
| 16:10 | 1.60 | 1280 × 800, 1920 × 1200 | Some laptops and monitors |
| 16:9 | 1.78 | 1280 × 720, 1920 × 1080, 2560 × 1440, 3840 × 2160 | HD and 4K UHD video, most TVs and monitors |
| 21:9 (64:27) | 2.37 | 2560 × 1080 | Ultrawide monitors (3440 × 1440 is 43:18, or 2.39) |
| 2.39:1 | 2.39 | 1920 × 803 (rounded) | Anamorphic widescreen cinema |
| 4:5 | 0.80 | 1080 × 1350 | Portrait photos and posts |
| 9:16 | 0.56 | 1080 × 1920 | Vertical, full-screen phone video |
| 1.618:1 (golden) | 1.62 | 1618 × 1000 | Design layouts that follow the golden ratio |
Modern phone screens are usually taller than 16:9. A 2400 × 1080 panel is 20:9 (2.22), for example, which is why full-screen video on a phone often shows thin bars or a slight crop. The "21:9" label on ultrawide monitors is a marketing name: the real ratio of a 2560 × 1080 panel is 64:27, and 21:9 would be 2.33 rather than 2.37.
Landscape, portrait and square
A ratio above 1 is landscape (wider than tall), exactly 1 is square, and below 1 is portrait. Swapping the two parts of a ratio rotates the shape: 16:9 becomes 9:16, and the decimal flips from 1.78 to 0.56.
Cropping, Letterboxing and Pillarboxing
When an image or video does not match the shape of the frame you need, you have two choices. You can crop it, which removes part of the picture so the rest fills the frame. Or you can pad it, which keeps the whole picture and adds bars. Bars above and below are called letterboxing; bars at the left and right are called pillarboxing.
To crop, keep one dimension and compute the other from the target ratio. The table starts from a 1920 × 1080 (16:9) image.
| Target ratio | Cropped size | What is removed |
|---|---|---|
| 4:3 | 1440 × 1080 | 480 px of width (240 px per side) |
| 1:1 | 1080 × 1080 | 840 px of width (420 px per side) |
| 4:5 | 864 × 1080 | 1,056 px of width (528 px per side) |
| 9:16 | 608 × 1080 (607.5 exactly) | About 68% of the width (about 656 px per side) |
| 21:9 | 1920 × 823 (822.86 exactly) | 257 px of height (about 129 px top and bottom) |
| 2.39:1 | 1920 × 803 (803.35 exactly) | 277 px of height (about 138 px top and bottom) |
Padding runs the other way. A 16:9 video shown in a 4:3 frame that is 1440 × 1080 fills the full width, so its height is 1440 × 9 ÷ 16 = 810, leaving 135 px of bar above and below. A vertical 9:16 clip in a 1920 × 1080 frame is only 607.5 px wide, leaving about 656 px of bar on each side and using about 31.6% of the frame width.
The rule in both cases is the same: to pad, scale the content until it just fits inside the frame; to crop, scale it until it just covers the frame. Then use the Calc Width or Calc Height tab to find the other dimension. If you only need to know how much of the picture survives a crop, the percentage calculator turns 608 of 1920 into a share of the width.
What Aspect Ratio Is It If...
What aspect ratio is 1920×1080?
1920 × 1080 is 16:9, with a decimal ratio of 1.78. The greatest common divisor of 1920 and 1080 is 120, so 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9. This is the standard shape for full HD video, and the same ratio covers 1280 × 720, 2560 × 1440 and 3840 × 2160.
What aspect ratio is 1366×768?
1366 × 768 reduces to 683:384, which is 1.7786 and within 0.05% of 16:9 (1.7778). It is not exactly 16:9, because a 16:9 screen 768 pixels tall would be 1365.33 pixels wide, and screens cannot have a fraction of a pixel. In practice it is treated as 16:9, which is why the calculator shows 16:9 as the nearest standard ratio.
What aspect ratio is 3840×2160?
3840 × 2160 is exactly 16:9. It is twice 1920 × 1080 in each direction, so it has the same shape with four times the pixels (8.29 million against 2.07 million). The greatest common divisor is 240.
What aspect ratio is 1024×768?
1024 × 768 is 4:3, a decimal ratio of 1.33. The greatest common divisor is 256, giving 4 and 3. The same shape appears in 640 × 480, 800 × 600 and 1600 × 1200.
What aspect ratio is 2560×1080?
2560 × 1080 is 64:27, or 2.37, and is sold as "21:9". The greatest common divisor is 40. A true 21:9 would be 2.33, so the marketing name is a rounded label. A 3440 × 1440 screen is 43:18, or 2.39, which is a little wider than 64:27 and is also sold as 21:9.
What aspect ratio is 1080×1920?
1080 × 1920 is 9:16, a portrait shape with a decimal ratio of 0.56. It is 1920 × 1080 turned on its side. This is the shape of vertical, full-screen phone video, and its width is 56.25% of its height.
What aspect ratio is 1080×1350?
1080 × 1350 is 4:5, a decimal ratio of 0.80. The greatest common divisor is 270. It is a mildly portrait shape, taller than a square but much less tall than 9:16, and it is the same shape as an 8 × 10 inch print held upright.
What aspect ratio is 6000×4000?
6000 × 4000 is 3:2, a decimal ratio of 1.50. The greatest common divisor is 2000. It matches the 36 × 24 mm frame of 35 mm still film and a 6 × 4 inch print, so photos in this shape need no cropping for a 6 × 4 inch print.
What aspect ratio is 1920×1200?
1920 × 1200 is 8:5, which is the same shape as 16:10 and has a decimal ratio of 1.60. The greatest common divisor is 240, so the calculator shows 8:5 and then names 16:10 as the nearest standard ratio. Both describe the same screen; 16:10 is simply the more common way to write it.
What height do I need if my image is 800 pixels wide at 16:9?
An 800-pixel-wide 16:9 image should be 450 pixels tall. The height is 800 × 9 ÷ 16 = 450. Use the Calc Height tab with 16 and 9 as the ratio and 800 as the width. The same method gives 960 pixels for a 1280-pixel-wide 4:3 image (1280 × 3 ÷ 4).
People Also Search For
How to calculate aspect ratio by hand
Find the greatest common divisor of the width and height, then divide both numbers by it. For 1600 × 1200 the greatest common divisor is 400, so the ratio is 4:3. If the divisor is hard to spot, divide the width by the height instead: 1600 ÷ 1200 = 1.333, which you can compare with the decimal ratios in the table above.
How to resize an image without changing its aspect ratio
Pick one new dimension and calculate the other from the original ratio. New height = new width × original height ÷ original width. A 4000 × 3000 photo resized to 1200 pixels wide becomes 1200 × 900. On this page, open Calc Height, enter 4000 and 3000 as the ratio, and 1200 as the width.
Aspect ratio vs resolution
Aspect ratio is the shape of an image; resolution is the number of pixels in it. 1280 × 720 and 3840 × 2160 are both 16:9, but the second has nine times as many pixels (3840 × 2160 ÷ 1280 × 720 = 9). Changing resolution at a fixed ratio makes an image sharper or softer. Changing the ratio changes its shape and forces a crop or bars.
What is the difference between 16:9 and 4:3
16:9 is wider than 4:3: at the same height, a 16:9 frame is one third wider. At 1080 pixels tall, 16:9 is 1920 wide and 4:3 is 1440 wide, and 1920 ÷ 1440 = 1.33. Showing 4:3 content on a 16:9 screen leaves pillarbox bars at the sides; showing 16:9 content on a 4:3 screen leaves letterbox bars above and below.
How to set an aspect ratio in CSS
Use the aspect-ratio property, for example aspect-ratio: 16 / 9;. The browser then works out the height from the width. The property is documented on MDN, which lists it as widely available across browsers since September 2021. You can enter any ratio, such as 4 / 3 or 1 / 1, and use this calculator to confirm the numbers.
What aspect ratio is a 4x6, 5x7 or 8x10 photo
Laid out as landscape, a 6 × 4 inch print is 3:2, a 7 × 5 is 7:5 (1.40), and a 10 × 8 is 5:4 (1.25). Held upright, they are 2:3, 5:7 and 4:5. Only 6 × 4 matches the 3:2 shape of most camera sensors, so 7 × 5 and 10 × 8 prints usually need some cropping. Set the unit to inches and enter the print size on the Find Ratio tab to check any size.
Frequently Asked Questions
What is an aspect ratio?
An aspect ratio is the proportional relationship between the width and height of an image, screen or video. It is written as two numbers separated by a colon, such as 16:9, where the first number is the width and the second is the height. It describes shape only, not size, so a postage-stamp-sized and a billboard-sized 16:9 image have the same ratio.
Why does the calculator show an unusual ratio like 683:384?
The ratio is always the exact lowest-terms form of the width and height you entered, and some sizes do not reduce to a neat pair. 1366 × 768 is one of them. The "Nearest standard ratio" row tells you which familiar format it is closest to, which for this size is 16:9 within 0.05%.
How is the nearest standard ratio chosen?
The calculator compares your decimal ratio with a fixed list: 1:1, 5:4, 4:3, 3:2, 16:10, 16:9, 21:9 (64:27), 2.39:1, 4:5, 3:4, 2:3 and 9:16. It picks the closest and shows the percentage difference. If nothing is within 2%, it says so rather than forcing a match. 4096 × 2160, for example, is not within 2% of any item in the list.
Does the unit change the answer?
No. The unit is only a label added to the width and height, because an aspect ratio has no unit. If you need to convert between inches, centimeters and millimeters, use the length converter first and then enter the converted numbers here.
Does the calculator round my results?
The ratio on the Find Ratio tab is exact, and the decimal ratio is rounded to two places. On the Calc Width and Calc Height tabs, pixel results are rounded to the nearest whole pixel and every other unit is shown to two decimal places. The "Unrounded value" row shows the exact figure, up to four decimal places, so you can round it your own way.
Can I enter decimals, such as 8.5 × 11?
Yes. Values from 0.001 up to 1,000,000,000 are accepted, to three decimal places of precision. 8.5 × 11 reduces to 17:22, because the calculator scales both numbers by 1,000 and divides by their greatest common divisor. Zero, negative or blank values show a dash.
What does the Golden preset do?
It uses 1.618:1, an approximation of the golden ratio (1 + √5) ÷ 2, which is 1.6180339… On the Find Ratio tab it fills in 1618 × 1000, which reduces to 809:500. The nearest standard ratio is 16:10 (1.60), about 1.1% away, so a 16:10 screen is close to the golden shape but not identical to it.
Is 21:9 really 21 to 9?
Usually not. "21:9" is a marketing name for ultrawide screens such as 2560 × 1080, which is 64:27 or 2.37, and 3440 × 1440, which is 43:18 or 2.39. A true 21:9 is 2.33. The 21:9 preset uses the literal 21 and 9, so if you are sizing a real ultrawide display, enter its pixel dimensions on the Find Ratio tab instead.
What happens if I use the wrong aspect ratio?
One of three things: the content is stretched or squashed out of shape, parts of it are cropped away, or bars are added above and below (letterboxing) or at the sides (pillarboxing). Matching the ratio to the destination, or cropping to it on purpose, avoids all three.
What is the difference between pixel aspect ratio and display aspect ratio?
Display aspect ratio is the shape you see. Pixel aspect ratio is the shape of each individual pixel. Most modern images use square pixels, so the two are the same. Some older video formats use non-square pixels: a 720 × 480 frame is 3:2 as a grid of pixels, yet it can be displayed as 4:3 or 16:9. This calculator works on the pixel grid you enter, so it reports the 3:2 shape of 720 × 480.
Which aspect ratio should I use for social media?
Platforms change their supported shapes and recommended sizes from time to time, so check the platform's current upload guidance. As a guide to the maths, 1080 × 1080 is 1:1, 1080 × 1350 is 4:5 and 1080 × 1920 is 9:16, and horizontal video is normally 16:9. Enter your file's size on the Find Ratio tab to see which of these it is closest to.
Does scaling a picture change its aspect ratio?
Not if you scale both dimensions by the same factor. 1600 × 1200 becomes 800 × 600 and 400 × 300, all 4:3. The ratio only changes if you scale width and height by different amounts, which is what causes a stretched look.
Is my data stored or sent anywhere?
No. All calculations run in your browser. Nothing you type is sent to a server or saved, and no account is needed.
Last reviewed: November 2026 — formulas and worked examples verified.