Aspect Ratio Calculator

How to use 3 steps
  1. Enter the Original width and Original height.
  2. Enter the New width you need.
  3. Press Calculate to get the matching height and the ratio.
Proportional dimensions

How this tool works

Give it the original width and height and a new width, and it returns the height that keeps the proportions, along with the original ratio reduced to its simplest form. The reduction uses the greatest common divisor, which is why 1920 by 1080 comes back as 16:9 rather than as a fraction nobody would recognise.

It solves in one direction: from a new width to the matching height. Working the other way round — you know the height you have room for and want the width — means dividing rather than multiplying, and that is arithmetic to do yourself. Dimensions are expected as whole numbers of pixels, which is what image dimensions are.

Where the numbers matter

  • The rounding is to the nearest whole pixel: there is no such thing as a fractional pixel in an image, so a ratio that does not divide evenly is rounded. Over a large resize that can shift the proportions by a fraction of a percent — invisible, but it is why the ratio may not reduce identically afterwards.
  • A recognisable ratio is a hint, not a rule: 16:9, 4:3, 3:2 and 1:1 are conventions with an expectation attached. An unusual ratio is not wrong, but it will be cropped by anything that assumes one of the common ones.
  • Upscaling does not add detail: the arithmetic works in both directions, but enlarging an image only spreads the pixels it already has. The number tells you what size to use, not whether it will look good.
  • Ratio and resolution are different questions: two images at the same ratio can be wildly different sizes. This answers the shape, not whether the image is large enough for its purpose.

One division, and why it is worth automating

Scaling an image without distorting it means keeping the ratio between width and height constant. The arithmetic is trivial — multiply your new width by the original height, divide by the original width — and doing it in your head a dozen times while preparing a batch is where mistakes creep in.

The [msm_tool slug="aspect-ratio"] does that and also reduces the original ratio to its simplest form using the greatest common divisor. That second part is the more useful half: 1920×1080 comes back as 16:9, which tells you something, where 1920:1080 tells you nothing.

Ratio and resolution are different questions

Two images at the same ratio can be wildly different sizes. 640×360 and 3840×2160 are both 16:9.

The ratio answers what shape the image is. Whether it is large enough for its purpose is a separate question, and the two get conflated constantly — "it's 16:9, it'll be fine" says nothing about whether it will look sharp at full width on a retina display.

The ratios that carry expectations

  • 16:9 — video, and by extension nearly every embed and thumbnail.
  • 4:3 — older screens and photography; still standard for many product images.
  • 3:2 — the 35mm frame, and what most cameras still produce.
  • 1:1 — avatars, product grids, most social feed posts.
  • 1.91:1 — the shape most platforms crop link previews to.
  • 21:9 — ultrawide, cinematic.

An unusual ratio is not wrong, but anything that displays your image assumes one of these and will crop toward it. Choosing a shape the destination does not expect means the crop happens somewhere you cannot see.

Rounding, and why the ratio may not survive

There is no such thing as a fractional pixel, so a ratio that does not divide evenly is rounded to the nearest whole number.

The visual difference is nil — less than one pixel. The consequence worth knowing is that the new dimensions may reduce to a slightly different ratio than the original did. 1000×563 is not exactly 16:9; it is as close as whole pixels allow.

That only matters if something downstream is checking the ratio strictly, which is rare but not unheard of on platforms that validate uploads.

Working the other way

This solves from a new width to the matching height. If you know the height you have room for and need the width, that is division rather than multiplication: your height, times the original width, divided by the original height.

One line either way, and it is worth doing rather than eyeballing — a two percent error is invisible on one image and obvious across a grid of twelve.

Upscaling

The arithmetic works in both directions. Enlarging does not.

Making an image larger spreads the pixels it already has over more area; it cannot add detail that was never captured. The calculator will happily tell you that a 400-pixel image becomes 1600×900 at 16:9, and the result will be soft. The number is correct and the outcome is not what you wanted.

Always start from the largest original available.

Where else ratios turn up

Not only images. Video containers, embedded maps, chart panels and card components all benefit from a fixed proportion, and CSS has a property for it — which is a better approach than sizing every container by hand, because it holds at every screen width without a media query.

Frequently Asked Questions

Specific to the Aspect Ratio Calculator. Broader questions about this category are answered on the category page.

Multiply your height by the original width and divide by the original height. This tool solves from width to height; the other direction is that one line of arithmetic.
Because that is what it reduces to. Only a handful of ratios have familiar names; the rest are perfectly valid and simply less recognisable.
Rarely. It shifts the result by less than a pixel, which no one will see, though it can mean the new dimensions reduce to a slightly different ratio.
Making an image smaller is safe. Making it larger spreads the existing pixels without adding detail, however correct the dimensions are.
16:9 for video, 1:1 for avatars and product images, and 1.91:1 for most social link previews. Cropping is decided by whatever displays the image.

Subscribe to receive notifications about new tools, features, and productivity tips.