Aspect Ratio Calculator

Simplify width and height to a ratio.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Enter a width and a height and get the aspect ratio in simplest form, plus the decimal value.

How to use

1
Step 1
Enter the width.
2
Step 2
Enter the height.
3
Step 3
Read the ratio and decimal.

How it works

Both numbers are divided by their greatest common divisor, which gives the smallest whole-number ratio. The decimal is width divided by height. Ratios that do not reduce neatly, such as 1366 × 768, stay large (683:384).

ratio = (width ÷ g) : (height ÷ g), where g = greatest common divisor of width and height

Worked example

Full HD

Input
1920 × 1080
Output
16:9, decimal 1.7778
Walkthrough
The greatest common divisor is 120. 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9.

Limitations

  • Whole-number sizes work best; decimals may not reduce cleanly.
  • Does not resize an image.
  • Awkward sizes like 1366 × 768 give 683:384 rather than a common ratio.

Questions

What is the aspect ratio of 1920 × 1080?
16:9.
What is the ratio of 1080 × 1350?
4:5, a common Instagram portrait ratio.
Why does 1366 × 768 not give 16:9?
It is not exactly 16:9, so it reduces to 683:384.

Features

  • Simplified ratio
  • Decimal value
  • Runs in your browser

Guides

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Working with Responsive Images

    Chrome for Developers

    Practical responsive-image patterns for web exports.

    Watch on YouTube
  • How Image Compression Works

    Leo Isikdogan

    Compression intuition for resize and optimize image tools.

    Watch on YouTube