Aspect Ratio Calculator

Calculate aspect ratios and resize dimensions proportionally.

Your dimensions are processed in your browser.

Enter a ratio such as 16 and 9, or the original width and height. Use positive whole numbers.

Enter a width or height in pixels; the other side updates automatically.

The calculated side is rounded to the nearest whole unit, with halves rounded up. This can slightly change the final ratio.

Live shape preview

The shape shows the chosen ratio, scaled to fit this area.

Enter a valid ratio to display its shape.

Ratio

Ratio details
GCD
Decimal

Find the simplified width-to-height ratio and calculate a new width or height. This tool calculates dimensions only; it does not edit image or video files.

How to use it

  1. Enter the original width and height, or select a common ratio.
  2. Read the simplified ratio, decimal value and orientation.
  3. Change the new width or height to calculate the other side, then copy the dimensions.

Understanding aspect ratios

An aspect ratio describes shape, not resolution: 1920 × 1080 and 1280 × 720 both have the ratio 16:9. Divide width and height by their greatest common divisor to reduce the ratio.

Dimensions and simplified ratios
DimensionsRatio
1920 × 108016:9
1080 × 19209:16
1080 × 10801:1
1600 × 12004:3

Calculate the missing side

New height = new width × original height ÷ original width. To find the new width, reverse the formula. Both sides must use the same unit; no file is resized or cropped.

1920 × 1080 → 1280 × 720 · 1280 × 1080 ÷ 1920 = 720

The calculated side is rounded to the nearest whole unit, with halves rounded up. This can slightly change the final ratio.

Live shape preview

The preview represents the selected source ratio, not a full-size image. The rulers show the two source values. Resized pixel dimensions can differ slightly from this shape because the calculated side is rounded.

Inputs and rounded results must be integers from 1 to 9007199254740991. Ratios and rounding use exact integer arithmetic; only the decimal ratio is rounded to six significant digits. Very small target sizes that round a side to zero and results beyond the limit are rejected.

Frequently asked questions

How is an aspect ratio simplified?

An aspect ratio describes shape, not resolution: 1920 × 1080 and 1280 × 720 both have the ratio 16:9. Divide width and height by their greatest common divisor to reduce the ratio.

Why can the resized ratio differ slightly?

The calculated side is rounded to the nearest whole unit, with halves rounded up. This can slightly change the final ratio.

Does this tool resize image or video files?

Find the simplified width-to-height ratio and calculate a new width or height. This tool calculates dimensions only; it does not edit image or video files.

Recommended Tools