Aspect Ratio Calculator

Simplify a width and height to a ratio such as 16:9, and scale to a new size.

About Aspect Ratio Calculator

An aspect ratio calculator that reduces a width and height to the simplest ratio, such as 1920 × 1080 to 16:9, and scales a size while keeping that ratio.

How to use

  1. Enter a width and a height, or pick a preset: 16:9, 4:3, 1:1, 21:9, 9:16 or 3:2.
  2. Read the simplified ratio, the decimal form and a CSS aspect-ratio rule, and check the shape in the preview box.
  3. Under Scale, type a new width or a new height. The other side is filled in to keep the same ratio.

What it does

  • Divides both sides by their greatest common divisor: 1920 × 1080 becomes 16:9, and 1280 × 1024 becomes 5:4.
  • Gives the ratio as a decimal to four places, for example 1.7778 for 16:9.
  • Accepts sides with up to six decimal places, so 2.35 × 1 becomes 47:20.
  • Scales by cross-multiplying, and rounds the answer to two decimal places.
  • Reports the exact ratio, not the nearest familiar one: 2560 × 1080 is 64:27 although it is sold as 21:9, and 1366 × 768 is 683:384, not 16:9.
  • Does not resize or crop images, and does not allow for non-square pixels.

Example

1920 × 1080  →  16:9  (1.7778:1)
               aspect-ratio: 16 / 9;

16:9 at width 1280   →  height 720
16:9 at height 1080  →  width 1920

Privacy

The numbers are worked out in the browser. No request is made, and nothing is stored.

Frequently asked questions

How do I calculate an aspect ratio?
Divide the width and the height by their greatest common divisor. For 1920 × 1080 the divisor is 120, which gives 16:9. Dividing the width by the height gives the same ratio as a decimal, 1.7778.
What is the aspect ratio of 1920 x 1080?
16:9. The same ratio covers 1280 × 720, 2560 × 1440 and 3840 × 2160, which is why they all fill a widescreen display without bars.
How do I find the height for a given width and aspect ratio?
Multiply the width by the ratio height and divide by the ratio width. At 16:9, a width of 1280 gives 1280 × 9 ÷ 16 = 720. For a known height, multiply by the ratio width and divide by the ratio height.
Is 2560 x 1080 really 21:9?
Not exactly. 2560 × 1080 reduces to 64:27, about 2.37:1, while 21:9 is 2.33:1. The 21:9 label is shorthand for ultrawide screens; 3440 × 1440 is 43:18, about 2.39:1.