BrowserTools
Advertisement
Home / Calculators / Aspect Ratio Calculator

Aspect Ratio Calculator

Keep images and videos in proportion. Enter a ratio and one dimension to compute the other instantly.

Loading Aspect Ratio Calculator… If nothing happens, please enable JavaScript.

An aspect ratio is the proportional relationship between the width and the height of a rectangle, written as two numbers separated by a colon, such as 16:9 or 4:3. It describes shape independently of size: a 16:9 image is the same shape whether it is 1920 by 1080 pixels on a monitor or 4 metres by 2.25 metres on a billboard. Because the ratio fixes the relationship between the two dimensions, knowing the ratio and just one dimension is enough to work out the other. This calculator does exactly that: you choose a ratio, type in either the width or the height, and it computes the missing value while keeping everything in proportion.

Frequently asked questions

Is my data sent anywhere?
No. The calculation happens instantly in your browser. The ratio and dimensions you type are never transmitted to a server, stored, or logged, and the tool continues to work offline once the page has loaded.
How does the calculator work out the missing dimension?
It treats the ratio as a fraction. If the ratio is W:H, then width divided by height always equals W divided by H. So if you know the width, the height is width multiplied by H divided by W; if you know the height, the width is height multiplied by W divided by H. The tool applies whichever formula matches the dimension you provided.
Can I enter a custom ratio?
Yes. Alongside the presets (16:9, 4:3, 21:9, 1:1, 3:2) there are two ratio fields where you can type any values you like, such as 5:4 or 2.39:1. The calculation updates live, so as soon as you change the ratio the computed dimension adjusts to match.
Why is my computed dimension not a whole number?
Because not every width-and-ratio combination divides evenly. A 1000-pixel width at 16:9 gives a height of 562.5 pixels, for instance. For pixel dimensions you will normally round to the nearest whole number. If you need exact whole pixels, choose a base width that is a multiple of the ratio's width value, such as 1280 or 1920 for 16:9.
What is the difference between 16:9 and 4:3?
Both describe widescreen-versus-square shapes. 4:3 is the older, boxier television and computer-monitor standard that was dominant until the mid-2000s. 16:9 is the wider format that became the standard for HD television, online video, and most modern displays. A 16:9 frame is noticeably wider relative to its height than a 4:3 frame.
What ratio should I use for social media?
It depends on the platform and placement. Square 1:1 suits feed posts on several platforms; 4:5 is common for portrait feed images; 9:16 (vertical) is used for stories and short-form video; and 16:9 is standard for landscape video and link previews. Check the current specification for the platform you are targeting, then enter the ratio here to size your asset.
Does aspect ratio change the file size of an image?
Not directly. Aspect ratio describes shape, not pixel count or compression. File size depends on the total number of pixels (width multiplied by height), the format, and the compression level. Two images with the same 16:9 ratio can have very different file sizes if one is 640 by 360 and the other is 3840 by 2160.
How do I keep an image in proportion when resizing?
Lock the aspect ratio: pick the ratio that matches the original (or compute it by entering the original width and height into the two ratio fields), then change only one dimension and let the tool calculate the matching one. Editing software usually offers a chain or lock icon that does the same thing automatically when you drag a corner handle.

About Aspect Ratio Calculator

Aspect ratios matter to almost anyone who works with images, video, or layout. Photographers crop to 3:2 or 4:3 to match print and sensor formats. Videographers and YouTubers deliver in 16:9 for standard widescreen, 9:16 for vertical mobile video, and 21:9 for cinematic ultrawide. Web designers size hero images and embeds so they scale cleanly across devices without distortion. Anyone resizing an image for a social media post, a presentation slide, or an email header needs to keep the ratio intact, because stretching one dimension without adjusting the other squashes or elongates the picture. Doing the arithmetic by hand is easy to get wrong, especially with awkward custom ratios, which is where a dedicated calculator saves time and avoids distorted results.

This tool runs entirely in your browser. Pick one of the common presets (16:9, 4:3, 21:9, 1:1, 3:2) or type a custom ratio of your own, choose whether you know the width or the height, enter that value, and the matching dimension appears immediately. You can copy either result to the clipboard with a single click. No measurements are sent to any server, nothing is stored, and the page keeps working offline after it has loaded.

A couple of points worth knowing. Aspect ratio is about shape, not absolute size, so a 1:1 ratio is always a square regardless of how large it is, and a 21:9 frame is always far wider than it is tall. The computed dimension may not be a whole number; for example, a 1000-pixel-wide image at 16:9 works out to 562.5 pixels tall, and you will usually round to the nearest whole pixel. Rounding by a pixel here and there is harmless in practice, but if you are tiling or stitching images precisely, prefer ratios and base sizes that divide cleanly to avoid accumulating small errors.

Why Screens Settled on 16:9

The aspect ratios we use today are the product of more than a century of competing technical and commercial decisions. Early silent films were shot in a roughly 4:3 frame, formalised as the Academy ratio of 1.375:1 in 1932 once a soundtrack strip had to be accommodated alongside the image. This near-square shape carried over directly into television, which is why 4:3 dominated home screens for decades. For most of the 20th century, if you owned a TV, you owned a 4:3 box.

Widescreen cinema emerged in the 1950s as a deliberate weapon against the threat of television. To lure audiences back into theatres, studios introduced dramatically wider formats such as CinemaScope (around 2.35:1) and the slightly less extreme 1.85:1, giving the big screen a sweeping, immersive look that a boxy living-room set could not match. This created a long-running mismatch: films shot wide had to be cropped, letterboxed, or pan-and-scanned to fit 4:3 televisions, a compromise that frustrated directors and viewers alike.

The 16:9 ratio that now dominates was effectively a negotiated compromise. When engineers were designing standards for high-definition and widescreen television in the 1980s, they sought a single shape that could reasonably accommodate the wide range of existing cinema formats with the least objectionable cropping. The mathematician Kerns Powers is credited with demonstrating that 16:9 (1.78:1) sat neatly between the older 4:3 and the wide cinematic ratios, making it the best all-round fit. It was standardised for HDTV and, with the arrival of flat-panel displays, online video, and smartphones held sideways, 16:9 became the default shape of the modern screen. The recent rise of vertical 9:16 video for mobile feeds is, in a sense, the same ratio turned on its side for a new way of holding the device.

Advertisement
Advertisement
Advertisement