Aspect Ratio Calculator

Calculate aspect ratios from width and height instantly. Scale dimensions while preserving the ratio, use common presets (16:9, 4:3, 1:1, 21:9), and check if your size matches HD, FHD, or 4K. Free, works entirely in your browser.

Presets:

Did we solve your problem today?

What Is an Aspect Ratio Calculator?

An Aspect Ratio Calculator tells you the proportional relationship between a width and height — expressed as a simplified ratio like 16:9, 4:3, or 1:1. It also lets you scale one dimension while keeping the same ratio, so you can resize images, videos, or layouts without distortion.

All calculations happen locally in your browser using pure JavaScript. Nothing is sent to a server.

How to Use

  1. Enter width and height — the ratio appears instantly, simplified to lowest terms
  2. Use a preset — click 16:9, 4:3, 1:1, 21:9, 9:16, 3:2, or 5:4 to pre-fill the ratio
  3. Scale to a new size — enter a new width or height in the scaling section; the missing dimension is calculated automatically
  4. Copy the result — click Copy to get the formatted string, e.g. 1920 × 1080 (16:9)

Common Aspect Ratios

RatioTypical Use
16:9HD/FHD/4K video, most monitors, YouTube
4:3Older monitors, SD video, some cameras
1:1Instagram posts, profile pictures, square formats
21:9Ultrawide monitors, cinematic video
9:16Vertical video, Instagram Stories, TikTok
3:2DSLR/mirrorless camera sensors, 35 mm film
5:4Older square-ish monitors (e.g. 1280×1024)

How the GCD Algorithm Works

The calculator divides both dimensions by their Greatest Common Divisor (GCD) using the Euclidean algorithm. For 1920×1080:

This always produces the smallest whole-number ratio that exactly represents the proportions.

Standard Video Resolutions

ResolutionWidth × HeightRatio
HD 720p1280 × 72016:9
Full HD 1080p1920 × 108016:9
QHD 1440p2560 × 144016:9
4K UHD 2160p3840 × 216016:9

Scaling Without Distortion

To resize an image while keeping its aspect ratio, only one dimension needs to change — the other follows automatically:

The tool rounds to the nearest whole pixel.

Privacy

All calculations run entirely in your browser. No dimensions or results are ever transmitted to a server.

FAQ

What is an aspect ratio?

An aspect ratio describes the proportional relationship between a width and height, expressed as two numbers separated by a colon — for example 16:9. It tells you how wide something is relative to its height without specifying the actual dimensions.

How does the calculator simplify ratios?

It divides both width and height by their greatest common divisor (GCD). For example, 1920 and 1080 share a GCD of 120, so 1920÷120 = 16 and 1080÷120 = 9, giving 16:9.

Why does 2560×1080 not show 21:9?

2560×1080 simplifies to 64:27, not exactly 21:9. The "21:9" label is a marketing shorthand — the true mathematical ratio of most ultrawide monitors is 64:27 or 43:18.

Can I use this for video export settings?

Yes. Enter your source dimensions to get the simplified ratio, then use the scaling calculator to find matching export resolutions that keep the same proportions without distortion.