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.
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
- Pick a mode: Simplify a pair, or solve the missing side.
- Use a preset or type numbers: Tap 16:9 or enter width and height.
- Read the ratio: The card shows the reduced pair and the decimal.
- Solve a missing side: Lock the ratio and enter the side you already have.
Common use cases
- Confirm 1920×1080 reduces to 16:9 before a social crop.
- Given 16:9 and a 1920 width, find the height 1080.
- Compare two screens by simplified ratio instead of raw pixels.
Tips
- Use presets to jump to common video and story sizes.
- Zero or negative pixels show an error, not a fake ratio.
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.