Aspect Ratio Calculator

Two modes: reduce a pixel pair to the smallest whole ratio, or keep a ratio and solve the missing side. Preset chips fill 16:9, 9:16, 4:3, 1:1, and 21:9.

Updated 2026-08-21 · Design

Ratio16:9 1.777778
Decimal1.777778

About this tool

Simplify mode rounds width and height, divides by their GCD, and also prints width÷height to six decimals. Missing-side mode scales the known pixels by the other ratio term. Both sides must stay positive.

How to use

  1. Pick a mode: Simplify a pair, or solve the missing side.
  2. Use a preset or type numbers: Tap 16:9 or enter width and height.
  3. Read the ratio: The card shows the reduced pair and the decimal.
  4. Solve a missing side: Lock the ratio and enter the side you already have.

Common use cases

Tips

FAQ

How is the ratio simplified?

Rounded width and height are divided by their GCD, such as 16:9.

Can I find a missing side?

Yes. Keep the ratio and enter either width or height.

What decimal is shown?

Width ÷ height to six places.

Does this run on a server?

No. GCD math stays in the browser.

Related keywords

Related tools