Aspect ratio calculator

Use aspect ratio calculator to use positive whole pixel dimensions up to one billion.

Assumptions & limits

Use positive whole pixel dimensions up to one billion. Only the derived side is rounded; the ideal dimensions remain available. An extremely small derived side may round to zero pixels and is reported explicitly. No image is uploaded or resampled.

Unless stated otherwise, inputs are 0–1 billion; positive quantities are at least 10⁻⁹. Lists and integer tools have the limits above. Durations round to seconds; sub-second and extreme values retain a seconds value. All inputs and results stay on your device.

YOUR ANSWER

Reduced aspect ratio

16:9

Target width
1,280 px
Target height
720 px
Unrounded target width
1,280 px
Unrounded target height
720 px
How it’s calculatedCalculated on your device

Reduce width:height by their greatest common divisor. Scale the other side proportionally; round the derived pixel dimension to the nearest integer, half up.

Displayed values may be rounded. Calculations keep the underlying precision.

Use positive whole pixel dimensions up to one billion. Only the derived side is rounded; the ideal dimensions remain available. An extremely small derived side may round to zero pixels and is reported explicitly. No image is uploaded or resampled.

The formula, made simple

Use aspect ratio calculator to use positive whole pixel dimensions up to one billion.

Reduce width:height by their greatest common divisor. Scale the other side proportionally; round the derived pixel dimension to the nearest integer, half up.

A worked example

1,920 × 1,080 reduces to 16:9. A target width of 1,280 gives height 720.

A few useful answers

How is this estimate calculated?

Reduce width:height by their greatest common divisor. Scale the other side proportionally; round the derived pixel dimension to the nearest integer, half up.

What assumptions should I check?

Use positive whole pixel dimensions up to one billion. Only the derived side is rounded; the ideal dimensions remain available. An extremely small derived side may round to zero pixels and is reported explicitly. No image is uploaded or resampled.

Back to calculator ↑