Aspect Ratio Calculator

Enter a width and height to get the simplified aspect ratio, or pick a ratio and type one side of the new size to calculate the other. Useful for resizing images and video, setting CSS dimensions and preparing social media posts.

aspect-ratio-calculator · runs locally
Original size (or ratio)
×
New size — type either side
×
Preview
16:9
16:9aspect ratio
1.778width ÷ height
≈ 16:9closest standard
16:9 is used for: HD video, YouTube, monitors.

How to use the aspect ratio calculator

Type the width and height of an image, video or screen into the first row. The calculator reduces it to the simplest ratio, shows the decimal value, and names the closest standard ratio if there is one. Then type a width or height in the second row — the other side updates automatically so the proportions match. Preset buttons fill in the common ratios; hover over one to see where it is used.

Pixel values are rounded to whole numbers, which is what image editors and video encoders accept. The CSS line at the bottom is ready to paste into a stylesheet: the aspect-ratio property reserves the right amount of space for an image or embed before it loads, which prevents layout shift.

From ratio to pixels

Most of the time you know the ratio a platform wants and the width your design allows. Pick the ratio, type the width, and read off the height. To actually change an image to that shape, crop it with the Image Cropper using the matching preset, then scale it to the calculated size with the Image Resizer. Cropping first keeps subjects undistorted; resizing to a different ratio without cropping stretches the picture.

Common aspect ratios at a glance

RatioDecimalCommon sizesTypical use
16:91.7781280×720, 1920×1080, 3840×2160Video, monitors, YouTube
9:160.56251080×1920Stories, Reels, TikTok
4:31.3331024×768, 1600×1200Tablets, older displays
3:21.56000×4000, 3000×2000Camera photos, 6×4 prints
1:111080×1080Square posts, avatars
4:50.81080×1350Instagram portrait
1.91:11.911200×630Open Graph link previews

For the reasoning behind each ratio and how to change one without distortion, read image aspect ratios explained.

Frequently asked questions

How do you calculate an aspect ratio?

Divide the width and height by their greatest common divisor. For 1920×1080 the greatest common divisor is 120, so the ratio is 16:9. To scale a size while keeping its proportions, multiply the new width by height ÷ width: a 1280-pixel-wide 16:9 image is 1280 × 9 ÷ 16 = 720 pixels tall.

Why does my screen resolution give a strange ratio?

Some common resolutions are not exactly a standard ratio. 1366×768 simplifies to 683:384, which is 1.779 — within half a percent of 16:9 (1.778), so it is marketed as 16:9. The calculator shows the closest standard ratio whenever your size is within 2% of one.

What is the best aspect ratio for social media?

1:1 and 4:5 for feed posts on Instagram and Facebook, 9:16 for Stories, Reels, TikTok and YouTube Shorts, 16:9 for YouTube videos and thumbnails, and 1.91:1 for link previews. Platform specs change, so check the current guidance before a big campaign, but these ratios have been stable for years.

Does changing the size change the aspect ratio?

Only if you scale width and height by different amounts. Scaling both by the same factor keeps the ratio and the image looks identical, just larger or smaller. Changing the ratio itself means either cropping part of the image away or stretching it, and stretching distorts faces and circles.