# Aspect Ratio Calculator

URL: https://hifreetools.com/developer/aspect-ratio-calculator

> Find the exact aspect ratio of any width and height pair, or scale one dimension to match a target while keeping the original proportions perfectly intact.

## Quick answer

An aspect ratio expresses the proportional relationship between a rectangle's width and its height, written as W:H. To find it, divide both the width and height by their greatest common divisor (GCD). For example, a 1920×1080 image has a GCD of 120, giving the ratio 16:9. To scale dimensions proportionally, multiply or divide both values by the same factor so the ratio stays constant. Common ratios include 16:9 (widescreen HD), 4:3 (traditional TV/monitor), and 1:1 (square).

## Formula

- Ratio = (W / GCD(W, H)) : (H / GCD(W, H))
- New H = New W × (H / W)
- New W = New H × (W / H)

## Examples

- 1920×1080 Full HD — find aspect ratio: Width = 1920, Height = 1080 → 16:9
- Scale 1920×1080 to width 1280: Original 1920×1080, target width = 1280 → 1280×720
- 2560×1440 QHD — find aspect ratio: Width = 2560, Height = 1440 → 16:9
- 800×600 — find aspect ratio: Width = 800, Height = 600 → 4:3

## FAQ

**What is an aspect ratio?**
An aspect ratio is the proportional relationship between the width and height of a rectangle, expressed as two integers separated by a colon (W:H). It describes shape without specifying exact size, so 1920×1080 and 1280×720 share the same 16:9 ratio.

**What are the most common aspect ratios?**
16:9 is the dominant standard for HD and 4K televisions, YouTube, and modern monitors. 4:3 was the standard for older CRT monitors and TVs. 1:1 is used for square formats like Instagram posts. 21:9 is used for ultrawide cinematic monitors, and 9:16 is the vertical format for mobile video and stories.

**How do I scale dimensions without distortion?**
Enter your original width and height, then enter only the target width or the target height. The calculator will compute the missing dimension using the original ratio (New H = New W × H/W, or New W = New H × W/H), guaranteeing no stretching or squishing.

**Why does my video look stretched or squished?**
Stretching occurs when the display or container uses a different aspect ratio than the source content. For example, forcing a 16:9 video to fill a 4:3 box without letterboxing squeezes the image horizontally, so people look too thin. Always match or letterbox/pillarbox to preserve the original ratio.

**What is the difference between aspect ratio and resolution?**
Resolution specifies the exact number of pixels (e.g., 1920×1080), while aspect ratio only describes the shape (e.g., 16:9). Many different resolutions can share the same aspect ratio — 3840×2160 (4K), 1920×1080 (Full HD), and 1280×720 (HD) are all 16:9.

**How is the greatest common divisor (GCD) used in aspect ratios?**
The GCD of two numbers is the largest integer that divides both without a remainder. By dividing width and height each by their GCD, you reduce the pair to its smallest whole-number ratio. For instance, GCD(1920, 1080) = 120, so 1920/120 = 16 and 1080/120 = 9, giving 16:9.


## Sources

- [Wikipedia — 16:9 aspect ratio](https://en.wikipedia.org/wiki/16:9_aspect_ratio)
- [MDN — aspect-ratio (CSS property)](https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio)
- [Wikipedia — Aspect ratio (image)](https://en.wikipedia.org/wiki/Aspect_ratio_(image))

Runs in the browser; nothing is uploaded. Cite as: HIFreeTools, "Aspect Ratio Calculator", https://hifreetools.com/developer/aspect-ratio-calculator
