Reduce a ratio

Aspect ratio calculator

Enter any positive width and height. AspectFit reduces them to exact whole-number terms and shows the decimal ratio.

Canonical server calculation

Dimensions

Numbers only — no upload
Ratio presets

Optional target size

Choose the side you know. The other side will be calculated.

Leave blank to reduce the ratio only.
The unrounded decimal value remains visible.