Black Friday: 50% off every paid plan with code BF50. Ends 5 December.

See prices

Free tool

Aspect ratio calculator.

Find the aspect ratio of a size, an image or a video, drawn to scale. Work out a new width or height that keeps the same shape, and see the size to crop to, or the bars to add, to turn it into 9:16, 1:1 or another shape. Useful before you resize a recording for YouTube, a phone or a slide.

Need a custom tool, app or website? Contact us 

Aspect ratio-

Resize, keep the shape

:
×

Change the shape of your size

Ready sizes for common ratios

Named screen and video sizes. Press Use to load one above.

This is arithmetic in your browser. A file you pick is only read for its size and never uploaded.

How it works

Three steps, nothing to install.

01 / Enter

Type a size

Enter a width and height, or pick an image or video to read its size.

02 / Read

See the ratio

The page shows the ratio, such as 16:9, and its decimal value.

03 / Resize

Keep the shape

Pick a ratio and type a new width or height. The other side is worked out for you.

Guide

How to calculate aspect ratio, and resize without stretching.

An aspect ratio calculator tells you the shape of a picture or video as width to height, such as 16:9, and works out a new size that keeps that shape. Type a width and height, or pick an image or video file and it reads the size for you. Then pick a ratio and type a new width or height, and the other side is filled in. It is plain arithmetic in your browser, and a file is only read for its size.

How to use the aspect ratio calculator

  1. Type the Width and Height in pixels. Or press "Read a file's size", or drop an image or video on the tool, and the size is filled in for you. The arrows between the boxes swap width and height.
  2. Read the answer: the ratio in its smallest whole numbers, the same ratio as a decimal, the name of the shape when it is a common one, and a box drawn in that shape.
  3. To resize, look at "Resize, keep the shape". Its Ratio follows the size you typed above, or click a ratio button such as 9:16, or type your own ratio.
  4. Type a New width and the New height appears. Or type a New height and the width is worked out instead. The note under it shows the exact value before rounding.
  5. To turn your size into another shape, pick it in "Change to". The page shows the size to crop to, how much of the picture that keeps, and the size with bars added instead.
  6. Check the table under it for ready sizes of each common ratio at 640, 1280, 1920, 2560 and 3840 pixels wide.

The aspect ratio formula

To find a ratio, divide the width and the height by the biggest number that goes into both evenly, called the greatest common divisor. Take 1920 x 1080. The biggest number that divides both is 120. 1920 / 120 = 16 and 1080 / 120 = 9, so the ratio is 16:9. For 1080 x 1350, the divisor is 270, which gives 4:5.

Some sizes reduce to the same shape under a different name. 2560 x 1600 has a divisor of 320 and comes out as 8:5, which is exactly the same shape as 16:10, so the page shows "16:10 (8:5)". Others do not reduce to small numbers at all. 1366 x 768, a common laptop size, only divides by 2, giving 683:384. Its decimal is 1.779, very near the 1.778 of 16:9, so the page says it is close to 16:9.

How to work out a new size

To keep the shape while you change the size, use one of these:

  • New height = new width x ratio height / ratio width. For 16:9 at 1280 wide: 1280 x 9 / 16 = 720.
  • New width = new height x ratio width / ratio height. For 4:5 at 1350 tall: 1350 x 4 / 5 = 1080.

With "Round to even numbers (video)" on, the answers round to the nearest even number, because most video encoders need even widths and heights. Turn it off to round to the nearest whole pixel. The table always uses even numbers. That is why 640 wide at 16:9 shows 640 x 360, and 1280 wide at 21:9 shows 1280 x 548 rather than 548.57.

Common aspect ratios

RatioDecimalExample sizeWhere you see it
16:91.7781920 x 1080YouTube, TVs and most monitors
9:160.5631080 x 1920Reels, TikTok, Shorts and Stories
16:101.6002560 x 1600MacBook screens and many laptops
4:31.3331440 x 1080Older screens, the iPad, many slides
3:21.5001620 x 1080Many photos and some laptops
1:11.0001080 x 1080Square feed posts and profile pictures
4:50.8001080 x 1350Portrait feed posts
21:92.3332520 x 1080Ultrawide monitors and film style video

Under the calculator there is a table of named sizes, from VGA and 720p to 4K UHD and 8K. Its ratio column is worked out by the same code as your answer, and Use loads a size into the boxes.

Ultrawide monitors sold as 21:9 are often 2560 x 1080 or 3440 x 1440. Those reduce to 64:27 and 43:18, with decimals of about 2.37 and 2.39, a little wider than a true 21:9. The calculator shows their exact ratio rather than rounding them.

Changing a video from one ratio to another

You cannot change a shape just by typing a new size without something giving. There are three ways, and the numbers show what each costs:

  • Crop. Cut the sides or top off. A 1920 x 1080 video cropped to 9:16 keeps its full height of 1080, so the width becomes 1080 x 9 / 16 = 607.5, which rounds to 608. You keep only 608 of the 1920 pixels across, about a third.
  • Fit with bars. Shrink the whole picture to fit and fill the rest with a colour. A 16:9 video in a 1080 x 1080 square becomes 1080 x 607.5, which leaves about 236 pixels of bar above and below.
  • Stretch. Force the picture to the new shape. Nothing is lost, but faces and circles look squashed, so it is rarely the right choice.

The "Change the shape of your size" panel does these sums for any of the common ratios. To crop a video to a new shape, use crop video. To fit it with bars, use the video resizer.

On a Mac

To check a file's size without opening any app, select it in Finder and press Command-I. The Get Info window lists its Dimensions under More Info. To resize an image without stretching it, open it in Preview, choose Tools > Adjust Size, and keep Scale proportionally ticked.

Working out how big a video file will be at a given size? The bitrate and file size calculator takes it from there.

Questions

Good to know.

What is an aspect ratio?

The shape of a picture: its width compared with its height. 1920 x 1080 and 1280 x 720 are both 16:9, because the width is 16/9 times the height.

Why does my size not give a neat ratio?

Some sizes, such as 1366 x 768, do not reduce to small whole numbers. The page then says which common ratio it is closest to.

Which ratio should a video be?

16:9 suits YouTube and most screens, 9:16 suits Reels, TikTok and Shorts, 1:1 and 4:5 suit feed posts. Mac screens are often 16:10.

Why are the sizes in the table even numbers?

Most video encoders need even widths and heights, so the heights are rounded to the nearest even number.

How do I change the ratio of a video?

Use the video resizer to fit it into a new shape with bars, or the crop tool to cut it to that shape.

Is my file uploaded?

No. The page only reads its width and height in your browser.

How much of a video is lost when I crop 16:9 to 9:16?

About two thirds. A 1920 x 1080 frame cropped to 9:16 is 608 x 1080 with even numbers, which keeps 31.64% of the picture. Pick 9:16 in "Change to" to see it for your own size.

Can I share or keep my numbers?

Your last numbers are kept in this browser. Copy link gives a link that opens the page with the same sizes.

How do I find the aspect ratio of an image?

Press "Read a file's size" or drop the image on the tool, or type its width and height. The page divides both by their greatest common divisor and shows the ratio, such as 3:2 for a 6000 x 4000 photo.

Is 1920 x 1080 the same as 16:9?

Yes. 1920 divided by 1080 is 1.778, the same as 16 divided by 9. 1280 x 720, 2560 x 1440 and 3840 x 2160 are all 16:9 too.

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

16:10 is a little taller. At 1920 pixels wide, 16:9 is 1080 tall and 16:10 is 1200 tall, so a 16:9 video on a 16:10 screen shows thin bars above and below.

How do I calculate the height from the width and ratio?

Multiply the width by the ratio's height and divide by the ratio's width. For 1080 wide at 9:16: 1080 x 16 / 9 = 1920.

Listed on

Listed on JustMacAppsMotionShine on Mac App IndexMotionShine on ScrollLaunchMotionShine featured on StartupBaseFeatured on FazierFeatured on Twelve ToolsMotionShine - Featured on Smol Launch