Technology / CALCULATOR

Aspect Ratio Calculator

Reduce image or screen dimensions to an aspect ratio and calculate proportional resizing.

Provide the original width and height, then optionally choose a new width or new height.

Your calculation

Enter your values below.

Your calculation is not saved.

Use a decimal point. For single values, enter 1500 rather than 1,500.
YOUR RESULT · Calculating…

Ready when
you are.

Enter your values and select Calculate.

Calculated with unrounded values. Display precision follows each result.

THE WORKING

How this calculator works

Integer dimensions are simplified with their greatest common divisor. Resizing keeps the width-to-height ratio constant and may produce a fractional pixel dimension. A real image editor may round that dimension, slightly changing the exact ratio. This calculator does not crop or resample images.

The formula

Ratio = (width / GCD) : (height / GCD)
New height = new width × original height / original width
New width = new height × original width / original height.

A quick example

1920 × 1080 simplifies to 16:9. Setting the new width to 1280 gives height 720; setting height to 900 gives width 1600.

How to use this calculator

  1. Enter positive whole-pixel original dimensions.
  2. Choose ratio only, resize by width or resize by height.
  3. Calculate proportional dimensions and account for pixel rounding if needed.

A few common questions

Can the resized result contain a fraction?
Yes. Exact proportional resizing does not always land on a whole pixel.
Does this crop to a different ratio?
No. It preserves the original proportions.
Can width or height be zero?
No. Both must be positive for a defined image aspect ratio.

Was this calculator useful?

Report an issue

Recently used