<link rel="stylesheet" type="text/css" href="/mirawhite.css">

Aspect ratio calculator

Type a width and a height to get the simplified ratio, its decimal value and its usual name, for free. Or pick a ratio and one side to get the other.

Free, no sign-up, no limit Runs in your browser: your text and files are never sent or saved.

Aspect ratio calculator

What do you know?

Pixels, cm, inches: any unit works, as long as both sides use the same one.

Result

Type a width and a height to see the ratio.

How to use it

  1. Choose what you know: the dimensions, or a ratio and one side.
  2. Type the numbers in pixels, centimetres or any unit: the ratio does not depend on the unit.
  3. Read the simplified ratio, the decimal ratio and the usual name, or the missing dimension. The box shows the shape to scale.

Example

Input

1920 × 1080

Output

16:9 (1.78:1), widescreen: HD, Full HD, 4K, YouTube

Good to know

  • Many real sizes are not an exact ratio: 1366 × 768 simplifies to 683:384, which is shown as “≈ 16:9” with the difference in percent. A ratio is called close when it is within 2%.
  • “21:9” monitors are really 64:27 (2560 × 1080) or 43:18 (3440 × 1440): marketing rounds them.
  • Paper sizes A4, A5, A3… share the ratio 1:√2 (about 1:1.414), which no whole-number ratio matches exactly.
  • A computed dimension can have decimals: round it to the nearest pixel for an image.

How to calculate an aspect ratio

An aspect ratio is the width divided by the height, written as two whole numbers. To simplify it, divide both dimensions by their greatest common divisor: 1920 × 1080 has a GCD of 120, so the ratio is 16:9; 3000 × 2000 has a GCD of 1000, so it is 3:2. The decimal form is simply width ÷ height (1.78 for 16:9).

To get a missing dimension, keep the proportion: height = width × ratio height ÷ ratio width, and width = height × ratio width ÷ ratio height. At 4:3, a 1024 px width gives 768 px; at 9:16, a 1080 px width gives 1920 px.

Common ratios: 16:9 for HD, Full HD and 4K video and most TVs; 9:16 for vertical video (Stories, Reels, TikTok, Shorts); 4:3 for older screens, iPads and phone photos; 3:2 for 35 mm and most DSLR photos; 16:10 for many laptops; 1:1 and 4:5 for Instagram posts; 1:√2 (about 1:1.414) for A4 and the other A paper sizes.

Frequently asked questions

How do I calculate the aspect ratio from pixels?

Divide the width and the height by their greatest common divisor. For 1920 × 1080 it is 120, which gives 16:9. Type the two numbers above and the calculator does it for you, along with the decimal ratio (1.78:1) and the usual name of the format.

How do I find the height for a given width and ratio?

Multiply the width by the ratio’s height and divide by its width: at 16:9, a 1280 px wide image is 1280 × 9 ÷ 16 = 720 px tall. Choose “A ratio and one side” above, pick or type the ratio, and enter the side you know.

Does the unit matter: pixels, inches, cm or mm?

No. A ratio compares two lengths, so any unit works as long as both are the same: a 6 × 4 inch print and a 15 × 10 cm print are both 3:2. Decimals are accepted, which helps with measurements in cm or inches.

Why does my screen size not give an exact 16:9?

Many real sizes are only close to a standard ratio. 1366 × 768 simplifies to 683:384, so the calculator shows “≈ 16:9” with the gap in percent; a ratio counts as close when it is within 2%. Likewise, “21:9” monitors are really 64:27 or 43:18.

What aspect ratio should I use for photos and prints?

Most cameras shoot 3:2 (4 × 6 in prints) or 4:3 (phones, compact cameras). An 8 × 10 in print is 5:4, so a 3:2 photo needs cropping to fit. Instagram accepts 1:1, 4:5 portrait and 1.91:1 landscape; Stories and Reels use 9:16.

How do I find the aspect ratio of an image file?

Read its width and height in pixels (file properties on Windows, Get Info or Preview’s Inspector on a Mac, image details on a phone), then type them here. The calculator also shows the shape to scale, so you can check it at a glance.

← Back to all tools