Aspect Ratio Calculator
Hold a ratio while you change one side, and see the simplified ratio of any size.
Updated
Free: the ratio is read from the two sides below.
Pixels, millimetres or inches: a ratio has no unit, so both sides only have to be in the same one.
Aspect ratio
16:9
16:9 — HD and 4K video, most monitors and TVs
- Width divided by height
- 1.7778
- Size
- 1,920 x 1,080
- Total pixels
- 2.07 MP
- Orientation
- Landscape
The same ratio at other widths
- 640 wide
- 640 x 360
- 1,280 wide
- 1,280 x 720
- 1,920 wide
- 1,920 x 1,080
- 3,840 wide
- 3,840 x 2,160
The ratio is the two sides divided by their greatest common divisor, so 1920 x 1080 and 1280 x 720 both come back as 16:9. That is the whole reason one video fills both screens without bars. Total pixels are a separate question, and the ratio never answers it.
In short
Why are 1920x1080 and 1280x720 the same aspect ratio?
Both reduce to 16:9. Divide 1920 and 1080 by their greatest common divisor, 120, and you get 16 and 9; divide 1280 and 720 by 80 and you get the same pair. The ratio is the shape, so both fill a 16:9 screen without bars, while the pixel counts differ by a factor of 2.25.
The ratio says nothing at all about sharpness: two images can share a shape and differ enormously in detail.
How to use the aspect ratio calculator
Leave the ratio on free and the tool works backwards: you give it two sides, it divides both by their greatest common divisor and tells you the shape. Lock a ratio instead and it works forwards, solving whichever side you did not just type so the shape holds.
A ratio has no unit. Both sides only have to be measured in the same thing, so pixels, millimetres, inches and printer points all behave identically. That is why a 6000 by 4000 photograph and a 3 by 2 inch print are the same shape and crop into each other without loss.
16:9
What 1920x1080 reduces to
both sides divide by 120
64:27
What a 2560x1080 "21:9" really is
both sides divide by 40
2.25x
Pixels in 1080p versus 720p
identical shape, more detail
Reducing a ratio is the same operation as reducing a fraction, and it uses the same tool: Euclid algorithm for the greatest common divisor. Keep replacing the pair with the smaller number and the remainder until the remainder is zero, and what is left is the largest number that divides both.
- 1
Start with 1920 and 1080
1920 divided by 1080 leaves a remainder of 840.
- 2
Replace and repeat
1080 and 840 leaves 240. Then 840 and 240 leaves 120.
- 3
Stop at a remainder of zero
240 and 120 divides exactly, so the answer is 120.
- 4
Divide both sides
1920 over 120 is 16, and 1080 over 120 is 9.
A QR code is always exactly square
It has to be 1:1 to scan, and it needs a quiet border of empty space that most people crop off.
Open the QR generator →Cinema quotes ratios as a decimal instead of a pair, which is the same information written differently. The modern anamorphic scope standard is 2.39:1, and that is exactly 239:100 because 239 is prime and shares no factor with 100. Standard widescreen, 1.85:1, reduces to 37:20.
Do
- Reduce a size by its greatest common divisor before calling it a ratio.
- Pick export widths that are multiples of the ratio width, so both sides stay whole.
- Enter a monitor resolution rather than the ratio printed on the box.
- Keep the ratio fixed and change one side when resizing an image.
- State the ratio and the resolution separately, since they answer different questions.
Don't
- Round a fractional side to the nearest pixel and expect an exact fit.
- Treat 21:9 as a real ratio when you are mastering video.
- Assume a higher resolution means a wider shape.
- Scale width and height by different factors to fill a frame.
- Crop a 3:2 photograph to 16:9 without deciding what leaves the frame.
Common resolutions with the ratio they reduce to, the width divided by the height, and the name the format usually travels under.
| Resolution | Reduced ratio | Width divided by height | Usually called |
|---|---|---|---|
| 1280 x 720 | 16:9 | 1.7778 | HD, 720p |
| 1920 x 1080 | 16:9 | 1.7778 | Full HD, 1080p |
| 2560 x 1440 | 16:9 | 1.7778 | QHD, 1440p |
| 3840 x 2160 | 16:9 | 1.7778 | 4K UHD |
| 7680 x 4320 | 16:9 | 1.7778 | 8K UHD |
| 1080 x 1920 | 9:16 | 0.5625 | Vertical video |
| 1024 x 768 | 4:3 | 1.3333 | XGA |
| 1280 x 1024 | 5:4 | 1.2500 | SXGA |
| 1920 x 1200 | 8:5 | 1.6000 | Sold as 16:10 |
| 2560 x 1080 | 64:27 | 2.3704 | Sold as 21:9 |
| 3440 x 1440 | 43:18 | 2.3889 | Also sold as 21:9 |
| 6000 x 4000 | 3:2 | 1.5000 | A 24 megapixel camera frame |
| 1200 x 630 | 40:21 | 1.9048 | Open Graph share image |
| 1080 x 1080 | 1:1 | 1.0000 | Square social post |
What a monitor sold as 21:9 actually measures
There is no 21:9 panel. The name is a marketing shorthand that sits nicely beside 16:9, and the two common ultrawide resolutions reduce to something else entirely. Enter either into the calculator above and it will tell you the same thing.
- 2560 x 1080
- 64:27, which is 2.3704
- 3440 x 1440
- 43:18, which is 2.3889
- 5120 x 2160
- 64:27 again, at twice the pixels
- The name on the box
- 21:9, which would be 2.3333
Three different shapes, one marketing label.
The 64:27 figure is not arbitrary. It is 16:9 cubed in the sense that matters to broadcast: 4:3 stretched to 16:9 stretched again by the same factor, which is why it turned up in the standards as an extended television ratio rather than out of nowhere.
The practical consequence is small but real. Content mastered for 2.39:1 cinema does not fill either panel exactly, and content mastered for a literal 21:9 fills neither. If you are compositing to a fixed frame, use the resolution rather than the name.
Why the ratio never tells you the resolution
A ratio is a shape and a resolution is an amount. 1280x720 and 3840x2160 are both 16:9, and one holds nine times as many pixels as the other. Knowing the shape tells you whether an image will letterbox; it tells you nothing about whether it will look sharp.
This is the confusion behind most bad exports. Someone asks for 16:9 and receives a 640x360 file, which is correctly shaped and useless on a large screen. The two numbers have to be specified together, and the calculator shows both because neither is sufficient alone.
The formula, worked line by line
The whole tool is one idea. A ratio is a fraction, a fraction has a canonical form, and you reach that form by dividing both sides by their greatest common divisor. Everything else on the page is that operation run forwards instead of backwards.
Euclid algorithm finds the divisor without factorising anything. Divide the larger number by the smaller, keep the remainder, and repeat with the smaller number and the remainder until the remainder is zero. Whatever you were dividing by at that moment is the answer.
gcd(a, b) = gcd(b, a mod b), repeated until b = 0
reduced ratio = width / gcd : height / gcd
gcd(1920, 1080) = 120, so the ratio is 16:9
missing height = width x (ratio height / ratio width)
missing width = height x (ratio width / ratio height)
megapixels = width x height / 1,000,000- Locked ratio
- 16:9
- Width available
- 1000 pixels
- Height
- 1000 x (9 / 16)
- Exact answer
- 562.5 pixels
- Nearest whole pixel
- 562, which is 1.7794
- Clean alternative
- 992 x 558
The tool shows 562.5 rather than rounding, because the rounding is the thing that goes wrong. If whole pixels matter, drop the width to the nearest multiple of 16: 992 by 558 is exactly 16:9 and only eight pixels narrower than what you asked for.
Reducing works the same way on decimals once you scale them up. The cinema ratio 2.39:1 becomes 239:100 by multiplying both sides by 100, and 239 is prime so nothing cancels. 1.85:1 becomes 185:100, which does cancel by 5, leaving 37:20.
A ratio also fixes the diagonal. Two rectangles with the same ratio, laid corner to corner, share one straight diagonal line, and that is the geometric statement of what having the same shape means. It is also the quickest way to check a resize by eye.
Cropping is where ratios cost something. Moving a 3:2 photograph to 16:9 means the shape has to change, so either the image loses height or it gains bars. The calculator will tell you the target size; deciding what leaves the frame is still a judgement call.
Questions people ask
Related guides
Putting JSON in a URL: Validate, Minify, Percent-Encode, or Base64url?
A decision guide for flattening, encoding, checking, and safely transporting JSON in a query string.
August 11, 2026 · 9 min read
How Many Grams in a Cup? Every Ingredient, One Chart
One formula, fourteen densities. Why flour is 120 g, honey is 340 g, and the ingredient — not the cup — decides the number.
August 10, 2026 · 14 min read
How Are Loan Payments Calculated? Amortization, Explained
One level payment, front-loaded interest — the formula worked by hand, the two levers you control, and why the smaller payment is often the costlier loan.
July 23, 2026 · 13 min read