Aspect Ratio Calculator

Ratios and dimensions, in your browser

Enter a width and height to get the simplified ratio. Or lock a ratio and one dimension to solve for the other. Everything updates as you type, and nothing leaves this page.

Width and height to ratio
x
16:9
1.778:1 (decimal)
No network calls. The math runs entirely in your browser.
Solve for a missing dimension
Leave one field blank to solve it.
Result rounds to whole pixels.