Digital

Aspect Ratio Calculator

Enter width and height to get the simplified aspect ratio, screen orientation, and megapixels.

Quick answer aspect ratio = width / gcd(width, height) : height / gcd(width, height) Find the simplified width:height ratio for screens, images, video, and layouts.

Calculate aspect ratio

Aspect ratio uses the simplest whole-number width:height relationship. 1920 x 1080 simplifies to 16:9.

Use this for: Find the simplified width:height ratio for screens, images, video, and layouts.

How to use this calculator

  1. Enter the values the calculator asks for.
  2. Check the instant result and alternate values below it.
  3. Use the chart and formula to verify common examples.

aspect ratio calculator chart

SizeRatioCommon matchMegapixels
1920 x 108016:916:92.0736 MP
1280 x 72016:916:90.9216 MP
1080 x 10801:11:11.1664 MP
1920 x 12008:5about 16:102.304 MP
2560 x 144016:916:93.6864 MP
3440 x 144043:18about 21:94.9536 MP
1080 x 19209:169:162.0736 MP

Formula

aspect ratio = width / gcd(width, height) : height / gcd(width, height)

Source

Decimal SI prefixes and binary 1024-based prefixes for digital storage.

Reference definition ยท Conversion methodology

Common questions

How does the Aspect Ratio Calculator work?

Enter width and height to get the simplified aspect ratio, screen orientation, and megapixels.

What formula does this calculator use?

aspect ratio = width / gcd(width, height) : height / gcd(width, height)

Is the result exact?

Decimal SI prefixes and binary 1024-based prefixes for digital storage. Some displayed values are rounded for readability, but the calculator keeps more precision internally.

Related converters