Skip to content
The Calculatorz
Home & technology

Aspect Ratio Calculator

Find the aspect ratio of any width and height, and resize images or videos to a new width or height without stretching.

Dimensions

Image

How to use this calculator

Enter the original width and height in pixels (or any unit). To resize, enter either a new width or a new height and leave the other as 0; the calculator fills in the matching value. It also reduces the ratio to its simplest form, names common ratios such as 16:9 and shows the megapixel count.

Formula

Simplified ratio = width ÷ g : height ÷ g, where g is the greatest common divisor. New height = new width × original height ÷ original width; new width = new height × original width ÷ original height.

Calculator credits

Calculator developmentJulia Edwards

Editorial supervision

Published byThe Calculatorz

Last updated

Read how we research, test, review and correct our calculators in our editorial policy.

Frequently asked questions

What is an aspect ratio?

The proportion between an image's width and height, written width:height. 16:9 means 16 units wide for every 9 units high.

What aspect ratio is 1920 × 1080?

16:9, the standard for HD and 4K video, TVs and most monitors.

What ratios do social networks use?

Common ratios are 1:1 (square posts), 4:5 (portrait feed posts), 9:16 (stories, reels and shorts) and 16:9 (landscape video).

How do I resize without stretching?

Keep the same aspect ratio: change one dimension and calculate the other from the ratio. Changing both independently distorts the image.

Why do I get a decimal height?

Some sizes don't divide exactly. Round to the nearest whole pixel; many video encoders also prefer even numbers.

What if my image has a different ratio from the target?

You need to crop or add bars (letterboxing). Enter both the new width and height to see whether the ratio matches.

References & methodology sources

These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.

  1. International Telecommunication Union. (2015). Recommendation ITU-R BT.709-6: Parameter values for the HDTV standards for production and international programme exchange. View source
  2. International Telecommunication Union. (2012). Recommendation ITU-R BT.2022: General viewing conditions for subjective assessment of quality of SDTV and HDTV television pictures on flat panel displays (suppressed 2020). View source
  3. Hardy, G. H., Wright, E. M., Heath-Brown, D. R., & Silverman, J. H. (2008). An introduction to the theory of numbers (6th ed.). Oxford University Press. View source
  4. Marecek, L., Anthony-Smith, M., & Honeycutt Mathis, A. (2020). Prealgebra 2e. OpenStax. View source