Skip to content
PrintablePaperKit

Aspect Ratio Calculator

Find the simplified ratio of any width and height, or enter a ratio and one side to work out the other, with twelve common ratios one press away.

  • Ratio from pixels
  • Solve missing side
  • 12 presets
What do you want to work out?

Find the ratio from pixel dimensions

x

Simplified ratio

16:9

Decimal ratio

1.77778

Dimensions

1920 x 1080

Shape preview

16:9
1920 x 1080 px

Common ratios at a glance

Pick any ratio to load it as a preset in ratio to dimension mode.

How to calculate an aspect ratio

  1. Choose what to work out. Pick Dimensions to ratio if you know both sides, or Ratio to dimension if you know the ratio and one side.
  2. Enter the numbers. Type Width (px) and Height (px), or Ratio W and Ratio H, using Quick presets for common ratios.
  3. Give the known side. In Ratio to dimension, enter the Known value and set This value is the to Width or Height.
  4. Copy the result. Press Copy beside the simplified ratio, the calculated side or the full dimensions.

How the two calculations work

Dimensions to ratio

The calculator finds the greatest common divisor (GCD) of the width and height and divides both by it. Take 1920×1080: the largest number that divides both exactly is 120, and 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9, so the ratio is 16:9. It also shows the decimal ratio, width divided by height (1.77778 here), which is the quickest way to compare two sizes that do not reduce to the same pair of whole numbers. Pixel values are rounded to whole numbers first.

Ratio to dimension

The missing side comes from cross-multiplying:

  • Height = known width × Ratio H ÷ Ratio W
  • Width = known height × Ratio W ÷ Ratio H

A 4:5 portrait image 1080 pixels wide needs a height of 1080 × 5 ÷ 4 = 1350 pixels. A 2.39:1 frame 1920 pixels wide is 1920 × 1 ÷ 2.39 = 803.3, shown as 803. The result is rounded to a whole pixel, so it can be up to half a pixel away from the exact value.

Common ratios and where they are used

RatioDecimalTypical sizesUsed for
16:91.7781280×720, 1920×1080, 3840×2160HD and 4K video, most TVs and monitors
16:101.6001920×1200, 2560×1600Many laptop screens
4:31.3331024×768, 2048×1536Older monitors and tablets, many projectors
3:21.5006000×4000Many camera sensors, 6×4 inch prints
5:41.2501280×102410×8 inch prints
4:50.8001080×1350Portrait photos for social feeds
1:11.0001080×1080Square posts, profile pictures
9:160.56251080×1920Vertical phone video
21:92.3332560×1080, 3440×1440 (approximately)Ultrawide monitors

Paper is different again. A4, A3 and A5 all have sides in the ratio √2:1 (about 1.414), the one ratio that survives being folded in half: fold A4 in half and you get A5 with exactly the same shape. That is why an A4 layout scales to A3 or A5 without distortion, but needs cropping or white space to fit a 3:2 photo print.

Fitting one ratio into another

When the picture and the space it goes into have different ratios, there are three choices:

  1. Letterbox: keep the whole picture and add bars. A 4:3 video on a 1920×1080 screen fills 1440×1080, leaving bars 240 pixels wide on each side.
  2. Crop: fill the space and cut the edges. Cropping 16:9 to 4:3 keeps three quarters of the width. Check where faces and text sit before you crop.
  3. Stretch: change the width and height by different amounts. Circles become ovals and faces look wrong, so avoid it.

Tips for accurate results

  • Many video encoders need even dimensions. If a calculated side comes out odd, such as 549 from a width of 1280 at 21:9, round it to the nearest even number.
  • Work from the original file’s size, not a size you have already rounded, so rounding errors do not build up over several resizes.
  • For print, the ratio of the photo and the paper must match before you think about resolution. A 3:2 photo on A4 always leaves a margin or loses an edge.
  • Open Common ratios at a glance and press any ratio to load it straight into Ratio to dimension mode.

The pixel ruler measures an image or element on screen, the percentage calculator works out a resize as a percentage, and the unit converter turns inches and centimetres into one another for print sizes.

Frequently asked questions

What is an aspect ratio?

It is the relationship between width and height, written width:height. 16:9 means 16 units wide for every 9 units tall. It says nothing about actual size: 1280×720 and 3840×2160 are both 16:9, which is what makes the ratio useful when you resize.

How do I resize an image without distorting it?

Keep the ratio fixed. Choose Ratio to dimension, enter the ratio (or press a preset), type the new width or height in Known value and say which side it is. The calculator gives the other side. Distortion happens when width and height are changed separately: squeezing a 1920×1080 image into a 1000×1000 box makes everything about 44% narrower than it should be.

How is the ratio simplified?

Both numbers are divided by their greatest common divisor, the largest whole number that divides both exactly. 1920 and 1080 share 120, giving 16:9. Some sizes do not reduce neatly: 1366×768 only shares 2, so it becomes 683:384, which is close to 16:9 but not exactly it.

Why does my 21:9 monitor show as 64:27?

"21:9" is a marketing name rather than an exact ratio. A 2560×1080 screen reduces to 64:27 (2.370 to 1) and a 3440×1440 screen to 43:18 (about 2.389 to 1). Both are close to 21:9, which is 2.333 to 1, but none of them is exactly equal.

Can I enter a ratio with decimals, such as 2.39:1?

Yes. Ratio W and Ratio H accept decimals, and the 2.39:1 and 1.85:1 presets are stored as 239:100 and 185:100. The calculated side is rounded to the nearest whole pixel.

What about letterboxing and cropping?

When the source and target ratios differ, something has to give. Letterboxing keeps the whole picture and adds bars; cropping fills the frame and cuts off the edges. Fitting 16:9 into 4:3 by cropping removes 25% of the width; fitting it into a 1:1 square removes about 44%.

More online tools

All 15 online tools