Screen Aspect Ratio Calculator – Width and Height Ratio

Screen Aspect Ratio Calculator

Enter a screen width and height in pixels, millimeters, or inches and this tool reduces the ratio by the greatest common divisor to a clean form like 16:9, shows the decimal ratio and the X:1 form, reports orientation, and snaps to the closest standard aspect ratio with the percent deviation.

🖥Real Resolution Presets

📏Screen Dimensions

Horizontal size of the display.

Vertical size of the display.

Ratio is unitless, but rounding differs by mode.

Useful when physical measurements are imprecise.

If rounding is on and a standard is within this, use it.

Controls the decimal ratio display.

Reduced Ratio 16:9 width : height after GCD
Decimal Ratio 1.778 width / height, also X:1
Closest Standard 16:9 nearest common ratio
Orientation Landscape wide, tall, or square

🔢Ratio Snapshot

W:Hwidth to height
GCDdivide both sides
W / Hdecimal ratio
16:9= 1.778

📋Standard Aspect Ratios and Resolutions

Aspect RatioDecimal (W/H)Common ResolutionTypical Use
4:31.3331024 x 768Old monitors, tablets
5:41.2501280 x 1024Legacy SXGA displays
3:21.5002160 x 1440Surface, some laptops
16:101.6001920 x 1200Productivity monitors
16:91.7781920 x 1080HDTV, most screens
1.85:11.8501998 x 1080Cinema flat
64:27 (21:9)2.3702560 x 1080Ultrawide monitors
2.39:12.3902048 x 858Cinema scope
32:93.5563840 x 1080Super ultrawide
1:11.0001080 x 1080Square social posts

🎯Marketing Name vs True Reduced Ratio

Marketing NameResolutionTrue Reduced RatioDecimal
21:9 ultrawide2560 x 108064:272.370
21:9 ultrawide3440 x 144043:182.389
21:9 ultrawide5120 x 216064:272.370
16:9 HD1366 x 768683:3841.779
32:9 super5120 x 144032:93.556
2:1 univisium2560 x 12802:12.000

🔄GCD Reduction Examples

Width x HeightGCDDivide By GCDReduced Ratio
1920 x 10801201920/120, 1080/12016:9
2560 x 14401602560/160, 1440/16016:9
1024 x 7682561024/256, 768/2564:3
1280 x 10242561280/256, 1024/2565:4
2560 x 1080402560/40, 1080/4064:27
3440 x 1440803440/80, 1440/8043:18
3840 x 21602403840/240, 2160/24016:9

🗃Resolution Comparison Grid

NameWidthHeightReducedDecimalOrientation
XGA10247684:31.333Landscape
SXGA128010245:41.250Landscape
WXGA128080016:101.600Landscape
Full HD1920108016:91.778Landscape
QHD2560144016:91.778Landscape
UW-FHD2560108064:272.370Landscape
UW-QHD3440144043:182.389Landscape
4K UHD3840216016:91.778Landscape
Super UW3840108032:93.556Landscape
Phone Portrait1080234018:390.462Portrait

Formula Breakdown

Ratio = W : HThe aspect ratio is width compared to height. For 1920 x 1080 the raw pair is 1920 : 1080 before any reduction.
GCD by EuclidThe greatest common divisor is found by repeatedly replacing the larger number with the remainder of the two, until one becomes zero. GCD(1920, 1080) = 120.
Reduced W = W / GCDDivide the width by the GCD. 1920 / 120 = 16, giving the left side of the clean ratio.
Reduced H = H / GCDDivide the height by the same GCD. 1080 / 120 = 9, so the reduced ratio is 16:9.
Decimal = W / HDivide width by height for the decimal ratio. 1920 / 1080 = 1.778, which is the same as 1.778:1.
Closest standardCompare the decimal to every standard ratio and pick the smallest difference. 1.778 matches 16:9 with 0% deviation.
Deviation %Deviation equals the absolute difference between your decimal and the standard decimal, divided by the standard, times 100.
OrientationLandscape when width is greater than height, portrait when height is greater, and square when they are equal.

💡Aspect Ratio Tips

Watch the marketing gap: A panel sold as 21:9 usually reduces to 64:27, which is 2.370, or to 43:18, which is 2.389 for 3440 x 1440. True 21:9 would be 2.333, so the real hardware is about 1.6% to 2.4% wider than the label suggests. Check the reduced ratio before matching content black bars.
Round messy physical numbers: Measuring a screen in millimeters rarely lands on a clean ratio. If width 344 mm and height 194 mm give a decimal of 1.773, that is within about 0.3% of 16:9 at 1.778, so turn rounding on with a 1.5% tolerance and the tool snaps it to the intended 16:9 instead of an ugly 172:97.

And then, once you’ve got this sixteen-to-nine screen, you put your video in and realize: whoops, there’s all these black bars! But why? Because when you’re talking about screens, it isn’t just “how wide,” and “how high.” It’s the mathematical relationship between those two numbers that matters.

Most people mistake resolution for an image size, i.e., a fixed thing, and therefore get tripped up on the idea of proportion. You could have a small little four-hundred-by-three-hundred image, and a huge big one at thirty-eight-hundred by two-thousand-one-hundred-and-sixty; but so long as their proportions matches, they’ll plug right into each other perfectly, with no need to crop or stretch.

Why Aspect Ratio Matters for Your Screen

After plugging your dimensions into the calculator above, it will do all the math for you. You won’t have to guess if a number like one thousand three hundred sixty-six divided by seven hundred sixty-eight is good enough for standard high definition, and you won’t have to reduce fractions yourself.

What is an aspect ratio? It is nothing more than a set of two whole numbers (with no common factors) representing the width over height. A monitor with full HD resolution are really nineteen twenty by one thousand eighty, although we don’t say it that way; both numbers is divisible by one hundred twenty. Get rid of that greatest common divisor, and what do you have? It is sixteen to nine.

Why does this matter? Human brains are good at spotting simple ratios (like sixteen-to-ten), but they are not so good when it comes to seeing any kind of relationship between big integers. This tool takes a big integer (a resolution) and whittles down to something simpler (a ratio). The algorithm is called Euclid’s method, and it’s super old and works like this: Take two numbers. Divide the larger by the smaller, then replace the larger number with the remainder until one side reach zero. Whatever’s left is your divisor. In our example of nineteen twenty and one thousand eighty, the divisor is one hundred twenty, which easily simplifies to sixteen up-top and nine on the bottom.

So what’s that mean to you in real life? To get back to why software should care about the decimal version, if you’re working on a podcast thumbnail or creating a banner ad, you’ll need to provide your creative package with a ratio like two or one point six. That’s simply the width-to-height without rounding down to whole numbers. And those couple-hundredths-of-a-percentage-point will determine if your image spans the full frame or must be letterboxed with ugly black bars at either side. Your tool takes that decimal and spits it out to let you see how weird ratios compare to standard industry norms quickly. It also knows immediately if it’s a landscape or portrait shot. Is the width larger then the height? It is a landscape shot. Is the height larger? It is a portrait shot. Are they the same? It is a square. Turns out squares are pretty popular these days as social media graphics, short attention spans and tighter spaces.

Almost everybody gets tripped up by the difference between marketing names and mathematics. Take ultrawide monitors. They’re advertised as having a twenty-one-to-nine aspect ratio. This means two point three three three. In practice, they don’t deliver precisely that. For example, a monitor with two thousand five hundred sixty pixels across by one thousand eighty tall has an aspect ratio of 64:27, or roughly 2.37. That’s not far off, but it’s enough that if you use it to display genuine twenty-one-to-nine video, you’ll get black bars down one side. The calculator reveals the truth by displaying both the actual reduced ratio and the nearest standard equivalent. It lets you know that even though your monitor might say “twenty-one-to-nine,” in fact it’s slightly wider, so you have an idea what will fit.

Additionally, there’s some noise introduced by taking physical measurements. Rulers aren’t perfect, after all. You’re bound to end up with some sort of messiness when measuring something like the distance between two monitor bezel in millimeters. They won’t break down nicely. For such cases, the tool has a rounding toggle. Here, you’ll enter a tolerance percentage (e.g., one and a half). The tool will snap the resulting decimal value to a standard ratio if it lands anywhere near it. This avoids awkward fractions if you obviously have, say, a sixteen-to-nine panel. It’s a little thing, but it helps close the loop between abstract theory and real-world hardware.

It’s what designers will use to verify a client asset before they send it off to web or print. Gamers will inspect it to see if that old title will letterbox in their ultrawide setup, which was designed for narrower frames. What developers rely on when they’re creating responsive layout CSS and setting an aspect-ratio rule.

Those pesky decimals help establish a common ground between those who need to know. They help reduce the guesswork behind a number that determines how something looks to the rest of the world. It distills a confusing mess of pixels down to a clear geometric truth that we can actualy work with.

Screen Aspect Ratio Calculator – Width and Height Ratio