Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Math & Science
  3. Aspect Ratio Calculator
Add to favorites

Aspect Ratio Calculator

Find the aspect ratio of any size in lowest terms, resize to a new width or height without distortion, and compare with common screen, film and photo ratios.

Calculated locally in your browserMore math & scienceJump to full guide
Related readingAspect Ratios Explained: From 16:9 to 1:1 and Beyond8 min

Initializing in your browser…

You might also like

Scientific Calculator

A scientific calculator with exact fractions and decimals, degrees or radians, 34 functions and a desk-calculator mode. Rounded answers are labelled as rounded.

Time Calculator

Add or subtract hours, minutes and seconds, move a clock forward or back, or find the time between two clock times, overnight shifts included.

Fraction Calculator

Add, subtract, multiply, divide, compare and simplify fractions and mixed numbers, with step-by-step working and exact answers as fractions, mixed numbers and decimals.

A worked calculation

Your new ultrawide monitor is advertised as 21:9 at 3440 by 1440, and you want a wallpaper and a video export that fit it exactly.

Width and height

3440 x 1440
Resize: new width 2560
What Aspect Ratio Calculator produces

Result

Aspect ratio: 43:18 (2.3889), 4,953,600 pixels
Nearest common ratio: 2.39:1, 0.046% away
Resized: 2560 x 1072, rounded (exact height would be 1071.6279)

The greatest common divisor of 3440 and 1440 is 80, so the screen is 43:18, slightly wider than a true 21:9 (2.3333). A wallpaper made at 21:9 would leave a sliver at the edges, so make it at 3440 by 1440 or another multiple of 43:18. Scaling the same shape to 2560 wide gives a height of 1071.63, which is not a whole pixel, so 2560 by 1072 is the closest you can get.

Find, check and keep an aspect ratio

Enter a width and height to get the aspect ratio in lowest terms, such as 1920 by 1080 becoming 16:9, then resize to a new width or height while keeping the same shape. The tool says when a resize is exact and when a pixel has to be rounded, and it knows the common screen, film, photo and social media ratios.

How it works

The ratio in lowest terms. Type any width and height, in pixels or any other unit, and the tool divides both by their greatest common divisor: 1920 by 1080 is 16:9, 1080 by 1350 is 4:5 and 3440 by 1440 is 43:18. Decimal sizes such as 2.35 by 1 are scaled to whole numbers first, so the reduction is exact. Beside the ratio you get the decimal form (16:9 is 1.7778), the total number of pixels and megapixels, and the nearest well-known ratio with how far away it is. A one-line check multiplies the reduced ratio back up to show it gives the original size.

Resizing without distortion. Type a new width and the new height appears in the box beside it, or type a height and get the width. When the numbers divide evenly, the page says the result is exact: 1280 wide at 16:9 is exactly 720 high. When they do not, it rounds to the nearest whole pixel and tells you so: 1000 wide at 16:9 would be 562.5 high, so you get 1000 by 563 and the size of the error. That is useful for video exports and image sizes, where an odd number can cause a thin black bar or a slightly stretched picture. The swap button flips a size between landscape and portrait.

Common ratios, and what their names really mean. Presets cover video (16:9, 4:3, the ultrawide and super ultrawide formats), film (1.85:1, 2.39:1 and the older 2.35:1), photography (3:2, 1:1, 5:4, 4:5), phones (9:16 stories, 19.5:9 and 20:9 screens), social media (1.91:1 link previews, 2:3 pins) and A-series paper. Several of these names are rounded labels rather than exact ratios, and the note under each one explains: no common monitor sold as 21:9 is exactly 21:9, a 1200 by 630 link image is 40:21 rather than 1.91:1, and A4 paper uses the square root of two, which no whole-number ratio matches exactly. Each preset fills in a size that really is the ratio, and lists other sizes that fit it with no rounding.

Built for exactness. All of the arithmetic is done with whole numbers, so even very large sizes reduce correctly, and the result never drifts the way repeated decimal division can. The link in the address bar keeps the width, height and resize, so Share gives a link to the same calculation. Everything runs in your browser.

Examples

  • Full HD

    1920 by 1080 reduces to 16:9, or 1.7778, with 2,073,600 pixels. Resized to 1280 wide it is exactly 1280 by 720.

  • An ultrawide monitor

    3440 by 1440 reduces to 43:18, or 2.3889. That is not 21:9 (2.3333); the nearest common ratio is 2.39:1, 0.046% away.

  • A rounded resize

    1000 wide at 16:9 would be 562.5 high, so the tool gives 1000 by 563 and says it is 0.5 pixels out.

How to use

  1. 1Type the width and height, for example 1920 and 1080.
  2. 2Read the aspect ratio, its decimal value and the nearest common ratio.
  3. 3To resize, type a new width or a new height; the other side fills in.
  4. 4Check the note under the new size to see whether it is exact or rounded.
  5. 5Tap a common ratio, such as 4:5 or 2.39:1, to start from a size that matches it.
  6. 6Copy the ratio or the new size, or press Share for a link.

Key features

  • Aspect ratio in lowest terms from any width and height
  • Decimal sizes accepted and reduced exactly
  • Decimal form, total pixels and megapixels
  • The nearest common ratio, with the difference in percent
  • Resize by width or by height, with the other side filled in
  • A clear note when a resize is exact and when a pixel is rounded
  • Swap button for landscape and portrait
  • Presets for video, film, photo, phone, social media and paper sizes
  • Notes on ratios whose names are rounded labels
  • Exact sizes listed for each preset, plus copy and share

Tips & best practices

  • For video, pick sizes from the exact list under a preset so encoders do not have to round.
  • Many video codecs prefer even numbers; if a resize gives an odd size, try a width that divides more evenly.
  • Use the swap button to turn a landscape size into the matching portrait one.
  • Inches or centimetres work too: 8 by 10 inches is 4:5.

When this is useful

  • Video production

    Choose export sizes that keep 16:9 or a cinema ratio exactly, so there are no thin bars or stretched pixels.

  • Web and social media images

    Find the height that matches a required width for banners, thumbnails, link previews and portrait posts.

  • Buying a screen

    See what shape a monitor or phone resolution really is, and compare it with the ratio in the advert.

  • Printing photos

    Check whether a photo will fit a frame or paper size without cropping.

Frequently asked questions

How do I calculate an aspect ratio?

Divide the width and the height by their greatest common divisor. For 1920 by 1080 the greatest common divisor is 120, so the ratio is 16:9. The tool does this for you and shows the check: 16 × 120 = 1920 and 9 × 120 = 1080.

How do I resize an image and keep its aspect ratio?

Type the new width (or height) in the Resize panel. The other side is worked out from the ratio and appears in the box next to it. If the result is not a whole number of pixels, it is rounded and the page tells you how far off the rounded size is.

Is 21:9 really 21:9?

No. It is a marketing name. 2560 by 1080 screens are 64:27 (2.370), 3440 by 1440 screens are 43:18 (2.389) and 3840 by 1600 screens are 12:5 (2.400), all wider than a true 21:9 (2.333).

What is the difference between 2.35:1 and 2.39:1?

They are two eras of the same widescreen cinema format. 2.35:1 was used from the mid-1950s until 1970, when the standard became 2.39:1, which is often rounded to 2.40. A modern film described as 2.35 is almost always 2.39.

Why is A4 paper not a simple ratio?

A-series paper is defined so that halving a sheet gives the same shape, which needs a ratio of 1 to the square root of 2. That number is irrational, so no whole-number ratio is exact; 1:1.414 is within 0.015 percent.

Can I use decimals or units other than pixels?

Yes. Any unit works as long as both sides use the same one, and decimals such as 2.35 by 1 are scaled to whole numbers before reducing. Total pixels is only shown when both sides are whole numbers.

Related tools and how they differ

  • Image Resizer: Use it to actually resize an image file to the dimensions worked out here.
  • Image Cropper: Use it to crop a photo to an exact ratio such as 4:5 or 16:9.
  • Geometry Tool: Use it for the area or diagonal of a rectangle rather than its proportions.

Further reading

  • Aspect Ratios Explained: From 16:9 to 1:1 and Beyond8 min read

Private by design

Every calculation runs locally in your browser. Your numbers and expressions are not transmitted or stored.