Skip to content
Jellykit

Aspect Ratio Calculator

Find the simplest ratio of any width and height, then resize one side and get the other side that keeps the shape.

  • Runs on your device
Loading tool

About Aspect Ratio Calculator

Type a width and a height to see their ratio in lowest terms (1920 × 1080 is 16:9), the same ratio as a decimal, and whether it matches or comes close to a common format such as 4:3, 3:2, 16:10 or 21:9.

Then give a new width or a new height and the tool works out the other side so the picture keeps its proportions. It shows the exact value, the size rounded to whole pixels and the nearest even size that video encoders expect. Sizes can be in pixels, centimetres or any other unit, and decimals up to six places are kept exact.

How it works

  1. Both sides are turned into whole numbers (decimals are scaled up first) and divided by their greatest common divisor, which gives the ratio in lowest terms.
  2. The ratio is compared with common formats in either orientation. Within 1.5% the tool names the closest one and says how far off the size is.
  3. The new side is the given side multiplied by the original height over width (or the reverse), so no rounding happens until the final size is shown.

Questions

Why does 1366 × 768 show 683:384 rather than 16:9?

Because that is its exact ratio. Many laptop screens are sold as 16:9 but are a few pixels off, so the tool gives the exact ratio and says it is close to 16:9, with the difference as a percentage.

What happens when the other side is not a whole number?

The new size is rounded to the nearest whole unit and the exact value is shown beside it, so you can choose. A nearest even size is shown as well, because many video encoders refuse odd widths or heights.

Can I use centimetres or inches instead of pixels?

Yes. The arithmetic does not depend on the unit. Decimal sizes up to six decimal places are reduced exactly, so 29.7 × 21 (A4 in centimetres) gives 99:70.

Is anything I type sent anywhere?

No. The calculation runs in your browser. The values are kept in the page address only so that a copied link reopens the same sizes.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.