Free tool

Aspect ratio calculator

Find the aspect ratio of any image, video or screen size, and work out the height you need to resize while keeping a ratio like 16:9 or 4:3.

Find the aspect ratio of a size

Aspect ratio: 16:9

Resize while keeping a ratio

1280 × 720 keeps the 16:9 ratio

What is an aspect ratio?

An aspect ratio is the proportion between width and height, written as width:height. Two sizes with the same ratio have the same shape: 1280 × 720 and 3840 × 2160 are both 16:9. Keeping the ratio when you resize an image or video stops it from looking stretched or squashed.

Common aspect ratios and resolutions

RatioCommon sizesUsed for
16:91280 × 720, 1920 × 1080, 2560 × 1440, 3840 × 2160HD and 4K video, monitors, YouTube
4:3800 × 600, 1024 × 768, 1600 × 1200Older monitors, iPad, presentations
3:21500 × 1000, 2160 × 1440, 3000 × 2000DSLR photos, Surface laptops
1:11080 × 1080, 1200 × 1200Instagram square posts, avatars
4:51080 × 1350Instagram portrait posts
9:161080 × 1920Stories, Reels, TikTok, phone screens
21:92560 × 1080, 3440 × 1440Ultrawide monitors, cinematic video

Aspect ratio in responsive design

On the web, the CSS aspect-ratio property reserves the right space for images and embeds before they load, which prevents layout shift. Check how your media holds its ratio at phone, tablet and desktop widths with a responsive test before you ship.

Check these values on any live website

Traceo is a free Chrome extension that shows the real CSS on any page: hover an element to read its colors in HEX and RGB, font sizes in px and rem, spacing, and contrast, then record and share UI bugs with console and network logs.

FAQ

How do you calculate 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. The calculator does this for any size.

How do I resize an image and keep the aspect ratio?

Pick the ratio and enter the new width; the new height is width × (ratio height ÷ ratio width). For 16:9 at 1280px wide: 1280 × 9 ÷ 16 = 720px tall.

What resolution is 16:9?

Common 16:9 resolutions are 1280 × 720 (720p), 1920 × 1080 (1080p), 2560 × 1440 (1440p) and 3840 × 2160 (4K UHD).

What is the difference between 4:3 and 16:9?

4:3 is closer to square (1.33 times wider than tall) and was standard for older screens. 16:9 is widescreen (1.78 times wider than tall) and is the default for modern monitors, TVs and online video.

How do I keep an aspect ratio in CSS?

Use the aspect-ratio property, for example aspect-ratio: 16 / 9 on a video container. The browser sets the height from the width, so the box keeps its shape at every screen size.

More free tools