GEOGeometry

Aspect Ratio Calculator

Resize media without distortion. Enter the original width and height once, then set either a new width or a new height and the matching side is recalculated instantly. This page is for preserving a photo or video frame while scaling it, not for turning a screen diagonal into dimensions like the Screen Size calculator.

px
px
(optional)
px
(optional)
px

Try an example

How It Works

Formula

R=W1H1R = \dfrac{W_1}{H_1}

H2=W2RH_2 = \dfrac{W_2}{R}

W2=H2×RW_2 = H_2 \times R

Where

W1W_1

Original width(px)

H1H_1

Original height(px)

W2W_2

New width(px)

H2H_2

New height(px)

RR

Source aspect ratio (original width divided by original height)

The calculator first reads the source ratio as width divided by height. Then it treats either the new width or the new height as the driver and recomputes the other side so the ratio stays unchanged.

Frequently Asked Questions

Related Calculators

Ready to Calculate?

Free calculators.