๐Ÿ‡บ๐Ÿ‡ธ USC
Everyday & Time
๐Ÿ–ผ๏ธ

Aspect Ratio Calculator

Find an aspect ratio or resize dimensions proportionally

โœ…

Last updated September 5, 2026

Method: Width and height are divided by their greatest common divisor (GCD) to get the simplest W:H form. A missing dimension is solved by cross-multiplication (height = width × ratio height ÷ ratio width) and rounded to whole pixels. Standard, universal arithmetic.

Included: Simplified ratio, decimal and percent forms, orientation, the closest standard ratio, megapixels, missing width or height for 16:9, 4:3, 21:9, 1:1, 9:16, 3:2 or any custom ratio, and a table of common resolutions for each preset.

Not included: Pixel density (PPI/DPI), physical print sizing, file size, and the actual cropping or scaling of your image. The tool works with numbers only; use your photo editor to apply the result.

px
px

๐Ÿ–ผ๏ธ Aspect ratio of 1,920 x 1,080

16:9landscape
Exactly 16:9
Decimal (W / H)
1.7778
Height as % of width
56.25%
Common factor (GCD)
120
Pixels
2.07 MP

๐Ÿ“ How the ratio was simplified

Both numbers were divided by their greatest common divisor, 120: 1,920 รท 120 = 16 and 1,080 รท 120 = 9.

๐Ÿ“Š Common 16:9 resolutions

NameWidthHeightMegapixels
HD (720p)1,2807200.92
Full HD (1080p)1,9201,0802.07
QHD (1440p)2,5601,4403.69
4K UHD (2160p)3,8402,1608.29
8K UHD (4320p)7,6804,32033.18

Pure arithmetic. Ratios are reduced with the greatest common divisor; missing dimensions come from cross-multiplication and are rounded to whole pixels. Marketing names such as "21:9" are labels, not exact fractions.

Aspect ratio calculator: from pixels to ratio and back

An aspect ratio is the proportion between an image's width and its height, written as W:H. A 1920 x 1080 screen has a greatest common divisor of 120, so it reduces to 16:9; a 16:9 image that is 1600 px wide is therefore 1600 × 9 ÷ 16 = 900 px tall. This calculator finds the ratio of any dimensions and solves the missing width or height for any target ratio.

It is the visual cousin of our Ratio Calculator. Use that page when you are comparing two abstract quantities, such as a recipe or a mixture; use this one when the two numbers are a width and a height and you need pixels, prints or screens to line up.

How the calculator works

Two operations cover almost every aspect ratio question. The first reduces a pair of dimensions to their simplest form by dividing both by their greatest common divisor:

ratio = (W ÷ gcd(W, H)) : (H ÷ gcd(W, H))

The second solves a proportion. When you know the target ratio Rw:Rh and one dimension, the other follows by cross-multiplication:

height = width × Rh ÷ Rw   |   width = height × Rw ÷ Rh

The calculator also expresses the ratio as a decimal (W ÷ H) and as height-as-a-percent-of-width (H ÷ W × 100). For 16:9 those are 1.7778 and 56.25%; for 4:3 they are 1.3333 and 75.00%. Decimals make ratios easy to compare: the bigger the number, the wider the frame.

Worked example 1: what ratio is 4032 x 3024?

A typical 12-megapixel phone photo measures 4032 x 3024 pixels. Finding the GCD with Euclid's method: 4032 ÷ 3024 leaves remainder 1008, and 3024 ÷ 1008 leaves remainder 0, so the GCD is 1008. Dividing both sides gives 4032 ÷ 1008 = 4 and 3024 ÷ 1008 = 3, so the photo is 4:3. As a decimal, 4032 ÷ 3024 = 1.3333, and the frame holds 4032 × 3024 = 12.19 million pixels. Because 4:3 is much taller than a 16:9 screen, showing this photo full-width on a Full HD monitor requires either black bars or cropping 25% of its height (see the cropping table below).

Worked example 2: a 9:16 vertical video from a known height

Suppose you are exporting a vertical clip 1920 px tall and need the width for a 9:16 frame. Using the width formula, width = 1920 × 9 ÷ 16 = 1080 px, so the export size is 1080 x 1920. The ratio is 0.5625 as a decimal, meaning the width is 56.25% of the height. Had you needed a 21:9 frame 2560 px wide instead, the height would be 2560 × 9 ÷ 21 = 1097.14 px, which the calculator rounds to 1097 px and flags because pixels cannot be split; the rounded frame reduces to 2560:1097, off from true 21:9 by a negligible fraction of a percent.

Height for common ratios by width

Every value below is width × ratio height ÷ ratio width. Where the exact answer is not a whole number, the decimal is shown so you can see how much rounding a given width requires. Widths divisible by 16 give clean 16:9 heights; widths divisible by 21 give clean 21:9 heights.

Width (px) 16:9 4:3 3:2 21:9 9:16
1,000562.5750666.7428.61,777.8
1,200675900800514.32,133.3
1,6009001,2001,066.7685.72,844.4
1,9201,0801,4401,280822.93,413.3
2,5601,4401,9201,706.71,097.14,551.1
3,8402,1602,8802,5601,645.76,826.7

The 1:1 column is left out because it is trivial: a square is exactly as tall as it is wide, so 1,080 px wide means 1,080 px tall.

Common resolutions and the ratio they reduce to

The table lists familiar screen, camera and print sizes with the GCD used to reduce them. Note the "almost" cases: 1366 x 768 and the ultrawide panels are marketed under a round ratio but do not reduce to it.

Size GCD Exact ratio Decimal Usually called
1920 x 108012016:91.7778Full HD, 16:9
3840 x 216024016:91.77784K UHD, 16:9
1366 x 7682683:3841.7786"16:9" laptop panel
1440 x 9001808:51.600016:10
2048 x 15365124:31.33334:3 tablet
6000 x 400020003:21.500024 MP camera, 3:2
3440 x 14408043:182.3889"21:9" ultrawide
2560 x 10804064:272.3704"21:9" ultrawide
1080 x 13502704:50.8000Portrait social post
1080 x 19201209:160.5625Vertical video

How to use this aspect ratio calculator

  1. Pick a mode. "Find the ratio" takes a width and height and reduces them. "Resize to a ratio" takes a target ratio and one known dimension and returns the other.
  2. Find mode: type the pixel width and height, or tap one of the quick sizes (1920 x 1080, 4032 x 3024, 6000 x 4000 and so on). Read the simplified W:H, the decimal, the GCD and the closest named ratio. If the size matches a preset exactly, a table of common resolutions in that ratio appears; if not, a comparison table shows what height each standard ratio would need at your width.
  3. Resize mode: choose 16:9, 4:3, 21:9, 1:1, 9:16 or 3:2, or select "Custom" and type any two numbers such as 16 and 10. Say whether you know the width or the height, enter it, and read the missing dimension. A note appears whenever the exact answer is not a whole pixel.
  4. Apply it in your editor. The calculator gives numbers, not files. Enter the resulting width and height in the crop or export dialog of your photo or video software with "constrain proportions" turned on.

Who this calculator is for

  • Video creators exporting one edit for a 16:9 YouTube upload and a 9:16 vertical cut, and needing both frame sizes to be exact.
  • Web designers and developers sizing hero images, thumbnails and CSS aspect-ratio boxes so that nothing stretches or leaves gaps.
  • Photographers deciding how much of a 3:2 frame survives a 4 x 6, 5 x 7 or 8 x 10 print order.
  • Gamers and PC builders checking whether a monitor is really 16:9, 16:10 or "21:9", and what resolution to run a game at.
  • Anyone buying a TV, frame or projector screen who wants to know how a given format will fit.

Key terms explained

  • Aspect ratio: width divided by height, written W:H. It describes shape only, never size.
  • Resolution: the number of pixels across and down, such as 2560 x 1440. Many resolutions share one ratio.
  • Greatest common divisor (GCD): the largest whole number that divides both dimensions. Dividing by it produces the simplest ratio. For 1920 and 1080 it is 120.
  • Landscape, portrait, square: a decimal above 1 is landscape (wider than tall), below 1 is portrait, exactly 1 is square.
  • Letterboxing and pillarboxing: the black bars added above and below (letterbox) or left and right (pillarbox) when content is shown on a screen of a different ratio without cropping.
  • Megapixels: width × height ÷ 1,000,000. A 3840 x 2160 frame is 8.29 MP; 6000 x 4000 is 24.00 MP.
  • Pixel density (PPI): pixels per inch of physical size. It links pixels to print inches but does not change the aspect ratio.

Cropping between ratios: how much you lose

Changing the ratio of an existing image always means cropping (or adding bars). The loss is the difference between the original dimension and what the new ratio allows, keeping the other dimension fixed. Each row below keeps the full width (or, for the print row, the full height) and trims the rest.

Original Target Kept Cut (px) Cut (%)
6000 x 4000 (3:2)16:9 video frame6000 x 3375625 of height15.63%
6000 x 4000 (3:2)8 x 10 print (4:5)5000 x 40001,000 of width16.67%
4032 x 3024 (4:3)16:9 screen4032 x 2268756 of height25.00%
1920 x 1080 (16:9)1:1 square1080 x 1080840 of width43.75%

The last row explains why landscape video looks so cramped as a square post: almost half the width is gone. Shooting with the final ratio in mind, or leaving generous margins, avoids the problem.

Fitting without cropping: bars and scaling

If you would rather keep every pixel, the content is scaled to fit and the leftover space becomes bars. A 4:3 program on a 1920 x 1080 screen is scaled to 1440 px wide (1080 × 4 ÷ 3), leaving 240 px pillarbox bars on each side and using 75% of the screen width. A 2.39:1 widescreen film on the same screen fills 1920 × 1 ÷ 2.39 = 803.3 px of height, leaving letterbox bars of roughly 138 px top and bottom. And a 1920 x 1080 landscape clip dropped into a 1080 x 1920 vertical frame shrinks by a factor of 0.5625 to 1080 x 607.5 px, with 656.25 px of empty space above and below, which is why vertical platforms push creators to reframe rather than pad.

What changes the result the most

  • Whether the dimensions share a large factor. 1920 x 1080 reduces cleanly because both are multiples of 120. 1366 x 768 shares only a factor of 2, so its "simplest" form is the unwieldy 683:384. Odd sizes from hand-cropping often behave this way; the calculator's closest-ratio line tells you what you were probably aiming for.
  • Which dimension you hold fixed. Solving for height from a width and solving for width from a height are different questions. Cropping a 3:2 photo to 4:5 while keeping the height cuts 16.67% of the width; keeping the width instead would require adding height, which is impossible without padding.
  • Rounding to whole pixels. Whenever width × Rh is not divisible by Rw, the exact answer has a fraction. 1000 px wide at 16:9 is 562.5 px tall; you must choose 562 or 563. Picking widths that are multiples of the ratio's width term (16, 4, 3, 21) removes the issue.
  • Marketing names versus real ratios. "21:9" panels are 64:27 or 43:18; "16:9" 1366 x 768 is 683:384. When exactness matters, calculate from the pixel counts, not the label.
  • Orientation. 9:16 and 16:9 have identical decimals inverted (0.5625 and 1.7778). Swapping width and height flips the orientation but not the amount of image; the calculator reports both.

Tips for cleaner results

  • When you have a choice, start from a width that is a multiple of the ratio's first number. For 16:9, widths of 1280, 1600, 1920, 2560 and 3840 all give whole-pixel heights (720, 900, 1080, 1440, 2160).
  • Export video at an even width and height. Many encoders require both dimensions to be divisible by 2, so a 16:9 clip 1001 px wide (563.06 px tall) is a poor choice on two counts.
  • For prints, first match the ratio, then worry about pixel density. An 8 x 10 needs a 4:5 crop; at 300 pixels per inch that crop should be at least 2400 x 3000 px, which a 5000 x 4000 crop from a 24 MP camera comfortably exceeds.
  • On the web, set aspect-ratio: 16 / 9 (or the ratio you calculated) on image and video containers so the layout reserves the right space before the file loads.
  • Keep the decimal handy. Comparing 1.7778 to 1.6000 tells you instantly that a 16:9 video on a 16:10 screen will show thin bars, without drawing anything.

Limitations and assumptions

  • The calculator works in whole pixels. Fractional results are rounded to the nearest pixel and flagged; it never rounds silently.
  • It assumes square pixels. A handful of older video formats use non-square pixels, where the stored resolution and the displayed ratio differ.
  • It does not know about pixel density, physical size or file size. A 4:5 crop can be printed at 8 x 10 inches or 16 x 20 inches; the ratio is identical, the PPI is not.
  • It does not crop or resize your image. It tells you the numbers to enter in your editor.
  • "Closest standard ratio" compares against the common named ratios only (16:9, 4:3, 21:9, 1:1, 9:16, 3:2, 16:10, 5:4, 4:5, 2:3, 3:4, 1.85:1 and 2.39:1). Unusual formats may be nearest to one of these without being intended as it.

How it compares to related calculators

This page answers "what shape is this image, and what size keeps that shape?" For neighboring questions, a sister tool fits better:

  • To simplify, scale or solve a ratio that is not a width and a height, such as a mixture or a recipe, use the Ratio Calculator.
  • To work with the same relationship as a fraction (9/16 = 0.5625), use the Fraction Calculator.
  • To express a crop as a percent of the original or work out a percent change in size, use the Percentage Calculator.
  • To convert print sizes between inches and centimeters before matching a ratio, use the Unit Converter.

In short: reach for the Ratio Calculator when the two numbers are abstract quantities, and for this Aspect Ratio Calculator when they are pixels, inches or screen dimensions and you need the missing side.

Sources

  • The reduction uses Euclid's algorithm for the greatest common divisor and the missing dimension comes from cross-multiplication. Both are elementary arithmetic and need no external source.
  • Resolution figures (1280 x 720, 1920 x 1080, 3840 x 2160, 4032 x 3024, 6000 x 4000 and so on) are the pixel counts of the formats themselves; the ratios and percentages on this page are computed from those counts, not quoted from a third party.

โš ๏ธ Common mistakes & edge cases

Confusing ratio with resolution

"16:9" is not a size. 1280 x 720 and 7680 x 4320 are both 16:9. If a platform asks for a 16:9 upload, any width works as long as the height is 56.25% of it.

Swapping width and height

1080 x 1920 is 9:16 (portrait), not 16:9. The decimal flips from 1.7778 to 0.5625. Always write width first, then height, and check the orientation the calculator reports.

Trusting the marketing label

Solving for a "21:9" monitor with 21 and 9 gives 1097 px tall at 2560 wide, but the real panel is 1080 tall (64:27). Use the actual pixel counts when the result has to match hardware.

Stretching instead of cropping

Forcing a 4:3 photo into a 16:9 box by typing both dimensions distorts it: circles become ovals. Either crop 25% of the height or accept pillarbox bars; never change one dimension without the other.

Ignoring the rounding note

1000 px wide at 16:9 is 562.5 px tall. Rounding to 562 or 563 is harmless for a thumbnail, but some encoders and print services reject odd dimensions. Choose 1008 or 992 px wide (both multiples of 16) for an exact 567 or 558 px height.

Assuming the print matches the sensor

Most cameras shoot 3:2, but a 5 x 7 is 5:7 and an 8 x 10 is 4:5. Every print size except 4 x 6 (2:3) crops a 3:2 frame; plan the composition, or ask the lab for "fit" rather than "fill".

Note: The calculator performs exact arithmetic on the numbers you enter. It cannot see your image, so double-check the orientation and pixel counts in your editor before cropping or exporting.

❓ Frequently asked questions

How do I calculate the aspect ratio of an image?

Divide the width and the height by their greatest common divisor (GCD). For a 1920 x 1080 image the GCD is 120, so 1920 / 120 = 16 and 1080 / 120 = 9, giving 16:9. As a decimal the ratio is 1920 / 1080 = 1.7778. Enter any width and height in the calculator and it does the reduction for you and names the closest standard ratio.

What is the height of a 16:9 image at a given width?

Multiply the width by 9 and divide by 16 (or multiply by 0.5625). At 1600 px wide the height is 1600 x 9 / 16 = 900 px; at 1280 px wide it is 720 px; at 1440 px wide it is 810 px. The height of any 16:9 frame is always 56.25% of its width.

What resolution is 16:9?

16:9 is a shape, not a single resolution. Common 16:9 resolutions are 1280 x 720 (HD), 1920 x 1080 (Full HD), 2560 x 1440 (QHD), 3840 x 2160 (4K UHD) and 7680 x 4320 (8K UHD). Every one of them reduces to 16:9 because width / height = 1.7778 in each case.

Is 1366 x 768 really 16:9?

Not exactly. 1366 x 768 reduces to 683:384, which is 1.7786 as a decimal, while true 16:9 is 1.7778. A true 16:9 frame 1366 px wide would be 768.375 px tall, which is impossible in whole pixels, so the panel makers rounded. The difference is 0.05%, far too small to see, and the calculator flags such near-misses as 'closest standard ratio'.

What is the difference between 16:9 and 16:10?

16:10 (which simplifies to 8:5) is slightly taller than 16:9. As decimals they are 1.6000 versus 1.7778. Typical 16:10 resolutions are 1280 x 800, 1440 x 900, 1920 x 1200 and 2560 x 1600; typical 16:9 ones are 1280 x 720, 1920 x 1080 and 2560 x 1440. A 16:9 video shown full-width on a 16:10 screen leaves thin bars above and below.

How do I resize an image without stretching it?

Keep both dimensions in the same proportion: new height = new width x original height / original width. Shrinking a 6000 x 4000 photo to 1800 px wide gives a height of 1800 x 4000 / 6000 = 1200 px. Pick the target ratio (or enter a custom one) in the calculator, type the dimension you know, and read the other one.

What aspect ratio is 4 x 6, 5 x 7 and 8 x 10?

A 4 x 6 print is 2:3 (decimal 0.6667), a 5 x 7 print is 5:7 (0.7143) and an 8 x 10 print is 4:5 (0.8000). US letter paper, 8.5 x 11 inches, reduces to 17:22 (0.7727). Because these all differ from each other and from the 3:2 shape of most camera sensors, ordering a different print size almost always means cropping.

How much do I crop to turn a 3:2 photo into an 8 x 10?

An 8 x 10 print is 4:5. Keeping the full 4000 px height of a 6000 x 4000 photo, the width for 4:5 is 4000 x 5 / 4 = 5000 px, so you lose 1000 px of width, or 16.67% of the image. Keep that in mind when composing near the left and right edges.

Why is my ultrawide monitor not exactly 21:9?

'21:9' is a marketing label. A 3440 x 1440 panel reduces to 43:18 (decimal 2.3889) and a 2560 x 1080 or 5120 x 2160 panel reduces to 64:27 (2.3704), both a little wider than a true 21:9 (2.3333). A true 21:9 frame 2560 px wide would be 1097.14 px tall, which is why no shipping resolution matches the label exactly.

What aspect ratio is vertical video for Stories, Reels and Shorts?

Vertical video is 9:16, the 16:9 landscape frame turned on its side. The standard size is 1080 x 1920 px; 720 x 1280 and 2160 x 3840 are the same shape at lower and higher resolution. The width of a 9:16 frame is always 56.25% of its height: at 1920 px tall the width is 1920 x 9 / 16 = 1080 px.

How many pixels does a 4:3 photo lose when cropped to 16:9?

Quite a lot, because 4:3 (1.3333) is much taller than 16:9 (1.7778). A 4032 x 3024 phone photo cropped to 16:9 at full width keeps only 4032 x 9 / 16 = 2268 px of its 3024 px height, so 756 px, or exactly 25% of the height, is cut away. Cropping a 3:2 photo to 16:9 loses only 15.63% of its height.

Is the aspect ratio the same as the resolution?

No. Resolution is the pixel count, such as 1920 x 1080; aspect ratio is the proportion between width and height, such as 16:9. Many resolutions share one aspect ratio (1280 x 720 and 3840 x 2160 are both 16:9), and two images with the same resolution always have the same ratio. Change the resolution and the ratio can stay the same; change the ratio and the resolution must change.

๐Ÿ’ก Good to know

16:9 and 9:16 are the same shape turned sideways

A 1920 x 1080 export and a 1080 x 1920 export contain exactly the same number of pixels (2.07 MP). If you shoot landscape and need vertical, though, you cannot rotate your way there: reframing a 16:9 clip to 9:16 keeps only 1080 × 9 ÷ 16 = 607.5 px of the original 1920 px width, about 31.6%.

Euclid's algorithm finds the GCD in a few steps

Divide the larger number by the smaller and keep the remainder; then divide the smaller number by that remainder, and repeat until the remainder is zero. The last non-zero remainder is the GCD. For 3440 and 1440: 3440 = 2 × 1440 + 560, 1440 = 2 × 560 + 320, 560 = 1 × 320 + 240, 320 = 1 × 240 + 80, 240 = 3 × 80 + 0, so the GCD is 80 and the ratio is 43:18.

Percent form is handy for CSS and spreadsheets

Height as a percent of width is simply 100 × Rh ÷ Rw: 56.25% for 16:9, 75% for 4:3, 66.67% for 3:2, 62.5% for 16:10 and 42.86% for 21:9. The old "padding-top hack" for responsive video boxes used exactly this number, and it still works in any spreadsheet that needs a height column from a width column.

Related Calculators