Aspect Ratio Calculator

Example

16:9 · width 1280

1280 × 720

Height 720 px

px
px

History

Results show up here. Tap Use to plug one into the next calculation.

To find an aspect ratio, divide the width and height by their greatest common divisor: 1 920 and 1 080 ÷ 120 give 16:9. The calculator also works backward: 16:9 and a width of 1 280 give a height of 720 px.

With Use, the side you found goes on as a number of pixels, to a field here or in another calculator. A link can hold both numbers: this one opens 4:3 at a height of 600 already worked out.

How to Calculate Aspect Ratio

Write width : height and divide both by their greatest common divisor (GCD):

ratio = (width ÷ GCD) : (height ÷ GCD)

The GCD of 1 920 and 1 080 is 120, so 1 920 × 1 080 is 16:9. It's the same step you use to simplify fractions.

With a ratio W:H and one side:

height = width × H ÷ W

width = height × W ÷ H

16:9 at width 1 280: 1 280 × 9 ÷ 16 = 720. Pixels are whole, so halves round up: width 1 000 gives Height 563 px · Exact 562.5 px.

For any proportion A:B = C:D, use the ratio calculator. Scaling both sides by the same percentage keeps the ratio, and the percentage calculator does that math.

Enter a ratio and one side, then press Calculate.

Common Aspect Ratios: 16:9, 4:3, 21:9, 9:16, 1:1

The five in the heading each have a button in the calculator, so one tap sets the ratio.

RatioDecimalCommon resolutionsWhere you see it
16:91.78:11 280 × 720, 1 920 × 1 080, 2 560 × 1 440, 3 840 × 2 160Widescreen TVs, monitors, video
4:31.33:1800 × 600, 1 024 × 768, 1 600 × 1 200Older monitors and TVs, many cameras
21:92.33:12 560 × 1 080 (exactly 64:27, 2.37:1), 3 440 × 1 440 (exactly 43:18, 2.39:1)Ultrawide monitors. 21:9 is a marketing name; the exact ratios differ
9:160.56:11 080 × 1 920Vertical video on a phone
1:1—1 080 × 1 080Square images
3:40.75:1768 × 1 0244:3 turned upright

Aspect Ratio From Pixels (Resolution)

Switch to Find ratio and enter the width and height in pixels. 2 560 × 1 440 gives 16:9, and 1.78:1 under it.

Not every resolution reduces to a round ratio. 1 366 × 768 comes out as 683:384, 1.78:1, so the display adds Close to 16:9. A monitor sold as 21:9 at 2 560 × 1 080 is really 64:27, shown as 2.37:1 · Close to 21:9. That note appears when the decimal is within 2.5% of one of the five buttons.

Examples

Each row is one calculation:

You enterResultShown under it
Find size: 16:9, width 1 2801 280 × 720Height 720 px
Find ratio: 1 920 × 1 08016:91.78:1
Find size: 9:16, width 1 0801 080 × 1 920Height 1 920 px

FAQ

What is the difference between 4:3 and 3:4?

Same sides, different orientation. 4:3 is a landscape frame like 1 024 × 768, and 3:4 is portrait, 768 × 1 024. An aspect ratio is always written width : height.

What aspect ratio is 1 440 × 900?

8:5, or 1.6:1, which is the same ratio as 16:10. The greatest common divisor of 1 440 and 900 is 180. It's not one of the five buttons and isn't within 2.5% of any of them, so the display shows no Close to note.

How do I resize an image and keep its aspect ratio?

Enter the original width and height as the ratio, then the new width. A 4 000 × 3 000 photo resized to a width of 1 200 gets a height of 900 px. Entering 4:3 instead gives the same answer.