HelperCrate

Aspect Ratio Calculator

Simplify any width-by-height ratio and scale a new width or height with exact rounding.

Your files never leave your device. Everything runs in your browser.

What Aspect Ratio Calculator does

Aspect Ratio Calculator does two related jobs. It reduces a width and height pair to its simplest ratio, and it scales that ratio to a new width or height so photos, videos, canvas elements and layout boxes keep their exact shape. It is the check to run before exporting a thumbnail, resizing a video frame or setting a fixed-size embed.

Simplification uses the greatest common divisor, so 1920 by 1080 becomes 16:9 and 1000 by 750 becomes 4:3. Once the ratio is known, entering a new width calculates the matching height, and entering a new height calculates the width. If both new fields contain a value, the width wins and the height field is ignored.

Every scaled result is rounded to a whole pixel, because image and video dimensions need integers. That rounding is usually invisible, but a width such as 1000 on a 16:9 origin produces 562.5 and is rounded to 563, so the scaled pair is a pixel away from the mathematical ratio.

How to use Aspect Ratio Calculator

  1. Enter the original width and height.
  2. Read the simplified ratio in the readonly Ratio field.
  3. Optionally type a new width to calculate the matching height.
  4. Or clear the width and type a new height to calculate the width instead.
  5. Use the scaled result shown below; leave both new fields empty to only simplify.

Features

Tips and common mistakes

Frequently asked questions

How does the calculator simplify a ratio?

It divides both numbers by their greatest common divisor. For whole-number dimensions the reduction is exact, so 1920 by 1080 becomes 16:9 with no approximation involved.

Why does 1366 by 768 not simplify to 16:9?

Because 1366 divided by 768 is not exactly 16 divided by 9. The greatest common divisor is 2, so the exact simplified ratio is 683:384. The difference is small but real.

Can it calculate a 21:9 ratio?

Enter the real pixel dimensions, such as 2560 by 1080, and the tool shows the exact simplified form, which is 64:27. A literal 21:9 reduction would need dimensions such as 2100 by 900 that are not standard panel sizes.

Which field wins if I fill in both new dimensions?

The new width takes priority and the height is ignored. Empty the width field if you want the height to drive the calculation.

Are the scaled dimensions rounded?

Yes, to the nearest whole pixel. A computed 562.5 becomes 563. Screens and video encoders work with integer dimensions, so this keeps the result usable.

Does this tool resize images?

No. It only calculates dimensions. To actually change a file, use the Image Resizer with the numbers this calculator produces.

The calculator runs entirely in your browser — no dimensions or files are uploaded.