Skip to main content

Aspect Ratio Calculator

Width and height reduce by their greatest common divisor. You also get a decimal ratio, landscape or portrait, and optional scale to a target side. This is not crop advice.

Rated 4.7 out of 5 based on 356 reviews

Results

How to find an aspect ratio

  1. Enter pixel or length width and height. Units cancel as long as both sides match.
  2. Read the reduced ratio, the decimal width over height, and orientation.
  3. Optional: type a target width or target height to scale the other side.
  4. The page does not suggest a crop. Copy the rows. Nothing is uploaded.

Aspect ratio

Width to height after GCD reduction

Reduced ratiowidth/GCD : height/GCD
Decimalwidth / height
OrientationLandscape, portrait, or square
Scale to widthheight = targetW × (height / width)
Scale to heightwidth = targetH × (width / height)
Common example1920×1080 reduces toward 16:9

How the ratio is reduced

The greatest common divisor of rounded width and height divides both sides. 1920 and 1080 share 120, so the ratio is 16:9. Decimal is width divided by height. Equal sides report square.

16:9, pixels, and scale

16:9, 4:3, and 1:1 are named ratios people search. This page accepts any positive pair. Rectangle area and perimeter live on the rectangle calculator. Palette jobs sit on the color palette generator.

Not crop or encode advice

Keeping a ratio is not the same as choosing a crop box, a codec, or a safe-area overlay. You scale one side. You do not receive composition guidance.

Use cases

Checking a 1920×1080 frame, fitting a still to a 1280-wide slot, or confirming a square export. Print DPI is not computed.

Limits

Width and height must be greater than 0. GCD uses rounded integers, so tiny fractional pixels can change the reduced pair. CZNull does not receive the numbers.

Aspect ratio questions

Does this page upload my numbers?
No. The formula runs in the page you opened. CZNull does not receive the values.
Is 1920×1080 always 16:9?
Yes after GCD. 1920 and 1080 divide by 120 to 16 and 9.
Does this crop my image?
No. It reports ratio and optional scaled sides. You crop in an editor.
What if I fill both target width and target height?
Both scale rows appear. They are independent. They do not invent a new ratio.
Pixels or inches?
Either, if both sides use the same unit. The ratio has no unit.
Can I treat the result as official?
No. Displays and players may letterbox. Use the page to check the arithmetic.