Aspect Ratio Calculator

Calculate aspect ratios and convert resolutions. Find the matching width or height for 16:9, 4:3, and custom ratios. Free online aspect ratio calculator.

How to Use

  1. Select or enter a ratio

    Choose a preset (16:9, 4:3, etc.) or type a custom ratio.

  2. Enter width or height

    Input the known dimension in pixels.

  3. View result

    Click Calculate to see the missing dimension and pixel resolution.

What is an aspect ratio?

Aspect ratio expresses the ratio of width to height of a screen or image as a pair of whole numbers. Even when the absolute pixel counts differ (like 1920×1080), shapes with the same ratio look identical, so it is essentially a unit that describes 'shape' independently of resolution.

Why it matters

  • Compatibility: Monitors, TVs, and projectors have fixed ratios; when the ratio does not match, you get black bars on the sides (pillarboxing) or top and bottom (letterboxing).
  • No distortion: Forcing 16:9 footage into a 4:3 frame stretches people so they look too wide or too tall.
  • Platform specs: YouTube favors 16:9, Instagram feed 1:1 or 4:5, Reels and Shorts 9:16. Each channel recommends a different ratio, so you should match it before uploading to avoid cropping.

Formula

Divide width and height by their greatest common divisor (GCD) to reduce them to the simplest whole-number ratio.

ratio = width ÷ gcd(width, height) : height ÷ gcd(width, height)

decimal ratio = width ÷ height (rounded to 4 decimal places)

Example: 1920 × 1080

  • gcd(1920, 1080) = 120
  • width: 1920 ÷ 120 = 16
  • height: 1080 ÷ 120 = 9 → result 16:9
  • decimal ratio: 1920 ÷ 1080 = 1.7778

Conversely, if you know the ratio and just one side, you can find the other. For example, in 16:9 with a width of 2560 → height = 2560 × (9 ÷ 16) = 1440.

Frequently Asked Questions

What is an aspect ratio?
Aspect ratio expresses the ratio of the width to the height of a screen. For example, 16:9 means the width is 16 for every 9 units of height. It is found by dividing both dimensions by their greatest common divisor (GCD) to give the simplest whole-number ratio.
How do I calculate an aspect ratio?
Find the greatest common divisor (GCD) of the width and height in pixels, then divide each by the GCD. For example, for 1920×1080 the GCD is 120, so 1920÷120 : 1080÷120 = 16:9.
What are the most commonly used aspect ratios?
The most common are 16:9 (widescreen, TV, YouTube), 4:3 (classic monitors, iPad), 21:9 (ultrawide monitors, cinema), 1:1 (Instagram square), and 9:16 (vertical mobile, Reels and Shorts).
Can I find the height if I only know the width?
Yes. Enter the ratio you want plus the width and the height is calculated automatically. For example, in 16:9 a width of 2560 gives a height of 2560×(9÷16)=1440. You can also work the other way and find the width from the height.
What does the decimal ratio (e.g. 1.7778) mean?
It is the width divided by the height, expressing the ratio as a single number. 16:9 is about 1.7778, 4:3 is about 1.3333, and 21:9 is about 2.3333. The larger the value, the wider the screen.
Why does aspect ratio matter in video editing?
Exporting in a ratio different from the platform recommendation causes letterboxing (black bars) or image distortion. If you post 16:9 footage straight to 9:16 Shorts, the sides get cropped or wide bars appear above and below, so you should frame and export to the target ratio.
Does an image keep its shape when scaled to a different size?
If you scale width and height by the same aspect ratio, the shape stays intact. Changing only one side breaks the ratio and distorts the image. To halve 1920×1080, scale both sides equally to 960×540 so 16:9 is preserved.
How are 16:9 and 9:16 different?
16:9 is landscape (wider than tall), used for TVs, monitors, and YouTube. 9:16 is portrait (taller than wide), used for full-screen smartphones, Reels, Shorts, and TikTok. The two numbers are simply swapped, so the same pixel count is rotated 90 degrees.
2026 device specs

Related Calculators