Aspect Ratio Calculator

Resize dimensions keeping the ratio.

Resize keeping ratio

Enter your original size, then type a new width or height — the other value is filled in to keep the same proportions.

Original size
New size

Simplify a ratio

Enter width and height to reduce them to the simplest whole-number ratio.

Simplified

Free online aspect ratio calculator

This aspect ratio calculator does two jobs in one place. Use Resize keeping ratio to scale an image or video to a new width or height without distorting it, and use Simplify a ratio to turn raw pixel dimensions like 1920 × 1080 into a clean ratio such as 16:9. Everything updates live as you type and runs privately in your browser — no uploads, no sign-up, and no data ever leaves your device.

How to resize while keeping the aspect ratio

  1. Type your original width and original height into the first card.
  2. Enter the new width you want — the new height fills in automatically.
  3. Or enter the new height instead and the matching width is calculated for you.
  4. The proportions stay locked, so the result never looks stretched.

How to simplify a ratio

In the second card, enter any width and height and the tool divides both by their greatest common divisor to show the simplest whole-number ratio, plus a decimal form like 1.778:1 for ratios that do not reduce neatly. Press Copy to grab the simplified ratio for your notes, CSS, or a design brief. Common results include 16:9 for widescreen, 4:3 for older displays, 1:1 for square, and 3:2 for classic photos.

Private, accurate, and free

All the arithmetic happens locally in JavaScript, so your numbers stay on your machine. Need more quick math? Try our percentage calculator for discounts and changes, or convert artwork with the image to Base64 encoder. Bookmark this page so the next resize is only a click away.

Frequently asked questions

How do I keep the same aspect ratio when resizing?

Enter your original width and height, then type either the new width or the new height. The tool fills in the missing dimension for you using the formula new height = new width × original height ÷ original width (and the reverse for width), so the proportions stay identical and your image will not look stretched or squashed.

What does an aspect ratio like 16:9 mean?

An aspect ratio compares width to height in the smallest whole numbers possible. 16:9 means that for every 16 units of width there are 9 units of height — the shape of most modern TVs, monitors, and video. A 1920×1080 image has exactly this ratio, which is why it simplifies to 16:9.

How is the ratio simplified?

The simplifier divides both the width and the height by their greatest common divisor (GCD), found with the Euclidean algorithm. Dividing 1920 and 1080 by their GCD of 120 gives 16 and 9. The decimal form (for example 1.778:1) is simply the width divided by the height, which is handy when a ratio does not reduce to small whole numbers.

What are common aspect ratios?

Widescreen video and displays use 16:9; older screens and many photos use 4:3; square social posts use 1:1; classic photo prints are 3:2; and ultrawide monitors and cinema often use 21:9. The simplifier will tell you which ratio your exact pixel dimensions match.

Is this calculator free and private?

Yes. Every calculation runs entirely in your browser with JavaScript, so nothing you enter is uploaded or stored. It is completely free, needs no sign-up, and keeps working offline once the page has loaded.