Tolz.me

Aspect Ratio Calculator

Calculate the missing side of an aspect ratio, reduce any pixel size to its simplest ratio, and read the dimensions of an image.

Ratio and size

Type a ratio such as 16:9, then change the width or the height. The other side is recalculated so the size always matches the ratio.

Common ratios

Widescreen video and thumbnails

Accepts 16:9, 16x9, or a decimal such as 1.7778. Changing the width keeps the ratio and updates the height, and the other way around.

Simplified ratio

16:9

width : height

Decimal ratio

1.7778

width divided by height

Target size

1920 x 1080

pixels

Read an image

Drop a picture below to fill in the width and height. The file is read in your browser with the image API and is never uploaded to a server.

Drop an image here

or pick a file from your device

Common sizes

Common image and video sizes with their aspect ratio. Select a size to load it into the calculator.
SizePixelsRatioUse
1280 x 72016:9Streaming and web video
1920 x 108016:9Video, slides, screenshots
2560 x 144016:9Gaming monitors
3840 x 216016:9Large screens and editing
7680 x 432016:9Reference footage
1080 x 19209:16Stories and vertical video
720 x 12809:16Vertical video drafts
1440 x 25609:16High resolution phone screens
1080 x 10801:1Square social posts
1080 x 13504:5Portrait feed posts
1024 x 7684:3Legacy screens and slides
2048 x 15364:3Legacy photo and slide sizes
1920 x 12008:5Laptops and older widescreens
2520 x 10807:3Ultrawide monitor, 21:9 (also written 7:3)
3440 x 144043:18Ultrawide monitor
1200 x 63040:21Link preview images
2480 x 3508620:877A4 print at 300 DPI
2550 x 330017:22US Letter print at 300 DPI

Select any row to load that size into the calculator. Sizes are the common ones used for video, social posts, and printing. Other devices use their own resolutions.

Summary
1920 x 1080 px - ratio 16:9 - decimal 1.7778 - target 16:9

About this tool

This aspect ratio calculator works with pixels in both directions. Give it a ratio such as 16:9 and one side to get the other, or enter a pixel size to see its simplest ratio and decimal value. Drop an image onto the page to read its dimensions without uploading it, and pick from common sizes such as 1920 by 1080 or A4 at 300 DPI. Everything runs in your browser.

Browse more calculator tools or explore all Tolz.me tools.

Try other relevant tools

Frequently asked questions

How do I calculate an aspect ratio from pixels?+

Reduce both numbers by their largest common divisor. For 1920 by 1080 the largest shared divisor is 120, so the simple ratio is 16:9. The tool does that reduction for you and shows the decimal form as well, with 1920 divided by 1080 rounded to 1.7778.

How do I find the missing width for a 16:9 video at 1080 pixels high?+

Multiply the height by the ratio: 1080 times 16 divided by 9 gives 1920. Type 16:9 in the ratio box, set the height to 1080, and the width fills in as 1920 pixels.

What is the decimal aspect ratio of 16:9?+

16 divided by 9 is 1.7777..., which the tool shows as 1.7778 after rounding to four decimal places. The decimal form is useful for software that expects a single number rather than a ratio.

Can an aspect ratio calculator read the size of my own image?+

Yes. Drop a file onto the upload area and the tool reads its pixel dimensions in your browser, then fills in the width, the height, and the simplified ratio. The file is not uploaded, so a private photo stays on your device.

Does resizing to the same aspect ratio stop a picture from stretching?+

Yes. Scaling both sides by the same factor keeps the proportions. If you change the ratio, the program has to crop, stretch, or add bars, and each of those changes what you see in the frame.

Which aspect ratio should I use for a social post?+

It depends on the platform and where the post appears. Square posts use 1:1, portrait feeds commonly use 4:5, and wide banners use 16:9 or wider. Platforms adjust their recommendations regularly, so check the current spec before you build a whole set of assets.

Why does 1024 by 768 show up as 4:3?+

Because the tool reduces a size to its simplest whole number pair. 1024 and 768 share a divisor of 256, and 1024 divided by 256 is 4 while 768 divided by 256 is 3, so the shape is 4:3.

Use cases

  • Resize a photo or a video frame to a target ratio without distorting it.
  • Work out the width you need for a 1920 by 1080 slide or video frame at 16:9.
  • Check the real ratio of a screenshot, a wallpaper, or a downloaded image.
  • Prepare a Steam showcase panel and check the frame size with the artwork cropper.
  • Pick a print size from a pixel measurement, such as A4 at 300 DPI.

Aspect Ratio Calculator

An aspect ratio describes the shape of a picture or a video frame by comparing its width to its height. This aspect ratio calculator turns pixel sizes into readable ratios, works out the missing side of a target ratio, and reads the dimensions of an image without uploading it anywhere.

What an aspect ratio is

Every rectangle has a shape, and that shape is written as two numbers separated by a colon. A 1920 by 1080 screen has a ratio of 16:9, which means the width is 16 units for every 9 units of height. A 1080 by 1080 square has a ratio of 1:1. A phone screen held upright is 9:16, the same shape as 16:9 turned on its side.

Ratios matter because software keeps them. A video editor, a slide deck, a game engine, and a social platform each expect a specific shape, and giving them the wrong one means black bars, a stretched picture, or a crop that loses something you wanted to keep.

Two numbers describe the same shape. 1920 by 1080 and 640 by 360 are both 16:9, and so are 3840 by 2160 and 2560 by 1440. The pixels tell you how big the picture is, and the ratio tells you its shape.

How to use the calculator, step by step

Step one: type or pick a ratio. The preset buttons cover 16:9, 9:16, 4:3, 1:1, 21:9, 3:2 and 4:5, and you can type your own in the ratio box as 16:9, 16x9 or a decimal such as 1.7778.

Step two: set the width or the height. Change the width and the height recalculates so the shape stays locked to the ratio. Change the height and the width follows. Whichever side you edited last is the side that stays fixed when you change the ratio later.

Step three: read the results. The simplified ratio shows the smallest whole-number pair that matches your size, and the decimal ratio shows the width divided by the height with four decimal places.

Step four: copy the summary when you need the numbers somewhere else. The copy button puts the pixel size, the simple ratio and the decimal ratio on your clipboard in one line.

Worked example: 1920 by 1080 to 16:9

Take a 1920 by 1080 picture. Divide both numbers by their largest common divisor, which is 120, and you get 16 and 9. That is why the tool reports a simplified ratio of 16:9 and a decimal ratio of 1.7778, since 1920 divided by 1080 is 1.7777..., rounded to four places.

Now work the other way. You want a video that is 16:9 and 1080 pixels tall. The width is the height multiplied by 16 and divided by 9, which is 1080 times 1.7778, so the width is exactly 1920 pixels. Ask for 360 pixels tall instead and you get 640 pixels wide.

Watch what happens with a size that does not sit neatly on a ratio. A width of 1000 pixels at 16:9 needs a height of 562.5, which cannot exist as a pixel, so the tool rounds to 563. The result is 1000 by 563, a ratio of 1.7762 instead of 1.7778. The difference is tiny, but it is why a program that needs an exact 16:9 frame should use a size built from the ratio, such as 1920 by 1080 or 1280 by 720.

Worked example: reading the size of your own image

Drop a picture onto the upload area and the tool reads its dimensions straight from the file. The width and height boxes fill in, the ratio box switches to the simplified ratio of that image, and the file name and size appear next to the heading.

The reading happens in your browser. The file is turned into a local image object to read its pixel dimensions, and nothing is sent to a server, so a private photo never leaves the device. The same applies to the common sizes table: select a row and those numbers load into the calculator.

One thing to know about the reading: it reports the stored pixel size of the file. A photo shot at 4000 by 3000 and then uploaded to a site that compresses it to 1600 by 1200 keeps the ratio but not the pixels, and the file on disk is the one the tool measures.

The presets and when each one is useful

16:9 is the widescreen shape used by video players, streaming platforms, slide decks and most laptop and monitor screens. 9:16 is the same shape turned upright, which is what phone videos and vertical stories use. 1:1 is the square used by avatars and square posts.

4:3 is the older television and projector shape, still common in classrooms and on older monitors. 3:2 matches many cameras and standard photo prints. 21:9 is the wide cinema shape found on ultrawide monitors. 4:5 is the taller rectangle that portrait feeds prefer because it fills more of a phone screen than a square.

Platforms adjust these sizes often, and what a feed recommends today may differ from what it recommended last year. Check the current spec before you build a whole set of assets around one ratio.

How to resize an image without stretching it

If you scale a picture to a size with the same ratio, nothing is distorted. A 1920 by 1080 image scaled down to 960 by 540 keeps every shape in place, because both sides shrank by the same factor of two. That is the rule to follow when you resize.

When the target ratio is different, the program has to choose. It can crop the edges, it can stretch the picture, or it can keep the picture whole and add bars. Cropping a 1920 by 1080 image to a square takes a 1080 by 1080 slice from the middle and loses the left and right sides. Letterboxing keeps everything and adds empty space above and below.

For a wide screenshot that needs to sit inside a fixed panel, the Steam artwork cropper on Tolz.me frames an image to the exact pixel size a Steam showcase panel expects, so you can check what a crop looks like before you upload it.

Limits and things to keep in mind

The tool works with whole pixels. Solving a ratio can produce a fraction, such as 562.5, and that gets rounded to the nearest whole pixel, which nudges the final ratio very slightly off the one you asked for.

It does not compress, resize or export anything. It calculates numbers. If you need the image itself changed, open it in an editor, use a resize tool, or use the crop helper mentioned above for Steam panels.

Ratios describe shape only. They say nothing about quality, file size, resolution, or whether a platform accepts the result, and a larger pixel count in the same ratio does not make an image sharper if the source was not sharp to begin with.

Troubleshooting

If the calculator stops updating when you type, the ratio is probably still incomplete. The tool waits for a shape it understands, so type the full 16:9 rather than stopping at 16, or use a preset button instead.

If the results look wrong, check the ratio box first. A leftover decimal such as 1.7778 changes the target shape by a fraction of a percent, and a stale value can keep pulling the other side back.

If a dropped image does not load, the browser may block local file previews for that format. Try a PNG or JPG, or pick the file with the Choose an image button instead of dragging it in.

Explore more calculator tools on Tolz.me.

Related tools