Skip to content
induwara.lk
Premium
induwara.lkUtility · Design

Aspect Ratio Calculator

Solve any missing width or height while holding a ratio fixed, or reduce a resolution to its simplest form — 1920×1080 becomes 16:9. Reductions are exact (Euclid's GCD), ratios are named against broadcast, display and cinema standards, and matching resolutions are listed. No signup, sources cited.

By Induwara AshinsanaUpdated Jul 9, 2026
Aspect ratio calculator
Exact · GCD verified
Common ratios
Which dimension do you know?

Enter the width you already have; we solve the other side.

Height (px)
1,080
Exact — whole pixels
Full resolution
1,920×1,080
Ratio 16:9
Decimal ratio
1.778
width ÷ height

Ratio preserved: cross-check reproduces the known width to within 0.00 px.

Ratios reduced with Euclid's GCD algorithm (exact). Named against ITU-R BT.709/BT.2020 (16:9, 4K), VESA display standards (4:3, 16:10, 5:4) and DCI/SMPTE cinema containers (1.85:1, 2.39:1).

How it works

An aspect ratio is the proportional relationship between an image's width and its height, written as W:H. The calculator does two jobs, and both rest on the same piece of school mathematics — the greatest common divisor (GCD).

Simplifying a resolution.To turn a pixel size such as 1920×1080 into a clean ratio, you divide both numbers by their greatest common divisor. Euclid's algorithm finds that divisor by repeated remainder: 1920 = 1080·1 + 840, then 1080 = 840·1 + 240, then 840 = 240·3 + 120, then 240 = 120·2 + 0 — so the GCD is 120. Dividing gives 1920÷120 : 1080÷120 = 16:9. Because this is integer division, the reduced ratio is exact — no rounding error can creep in. The decimal ratio is simply width ÷ height (1.778 here), and orientation follows directly: wider than tall is landscape, taller than wide is portrait, equal is square.

Solving a missing dimension. When you fix a ratio and know one side, the other is a single multiplication. For a known width,height = width × H ÷ W; for a known height,width = height × W ÷ H. Screens use whole pixels, so if the multiplication does not land on an integer the tool shows both the exact fractional value and the rounded pixel value, and warns that the result is not pixel-perfect. A cross-check then recomputes your known side back from the solved side to confirm the ratio is preserved.

Naming the ratio.The reduced decimal is compared against a fixed table of standard ratios. A match within a small tolerance (0.01) is labelled with its common name and source: 16:9 comes from ITU-R BT.709 (HDTV) and BT.2020 (UHDTV); 4:3, 5:4 and 16:10 are VESA display heritage; 1.85:1 (Flat) and 2.39:1 (Scope) are the DCI/SMPTE cinema containers. When the reduced integer ratio matches the standard exactly it is tagged "exact"; when only the decimal matches (for example ultrawide panels that are really 64:27) it is tagged "approx". Finally, the tool lists common resolutions that reduce to the same ratio so you can pick a standard size.

Worked examples

Simplify 1920×1080

Simplify mode → 16:9

  1. gcd(1920, 1080) by Euclid: 1920 = 1080·1 + 840
  2. 1080 = 840·1 + 240 → 840 = 240·3 + 120 → 240 = 120·2 + 0
  3. GCD = 120 → 1920÷120 : 1080÷120 = 16:9
  4. Decimal: 1920 ÷ 1080 = 1.778 → landscape
  5. Named: 16:9 (exact, ITU-R BT.709)

Solve height for 16:9 at width 2560

Solve mode → 2560×1440 (QHD)

  1. height = width × H ÷ W = 2560 × 9 ÷ 16
  2. 2560 ÷ 16 = 160 → 160 × 9 = 1440
  3. Divides evenly → exact, whole pixels
  4. Cross-check: gcd(2560, 1440) = 160 → 16:9 ✓
  5. Result: 2560×1440

Solve height for 16:9 at width 1000

Solve mode → not pixel-perfect

  1. height = 1000 × 9 ÷ 16 = 9000 ÷ 16 = 562.5
  2. 562.5 is not a whole pixel → rounded to 563
  3. Flagged as not pixel-perfect (exact = 562.5)
  4. Cross-check: 563 × 16 ÷ 9 = 1000.9 → 0.9 px off
  5. Fix: use a width that is a multiple of 16

Frequently asked questions

Sources & references

Related tools

Rate this tool
Be the first to rate

Comments & feedback

Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.

Found a bug, edge case, or want to suggest an improvement?

Email me at [email protected] — most fixes ship within 24 hours.