Aspect Ratio Calculator: Find Width or Height for Any Ratio

Use this free aspect ratio calculator to find the missing width or height for any ratio, such as 16:9, 4:3, 9:16 or 1:1. Pick a ratio, enter a width or a height, and you get the matching size in pixels instantly. You can also resize your own image or video size and keep its proportions.

Pick a ratio and enter a width or height

Aspect ratio (width:height)
Choose the shape you need. The first number is the width.
This field is required.
Enter a width to get the matching height.
This field is required.
Enter a height to get the matching width.
This field is required.

Resize your own size (any ratio)

This field is required.
This field is required.
The width you want to resize to.
This field is required.

How to use the aspect ratio calculator

  1. Pick a ratio from the list. The first number is the width, the second is the height (16:9 is wide, 9:16 is tall).
  2. To find a height, enter the Width. The matching height appears next to it.
  3. To find a width, enter the Height. The matching width appears next to it.
  4. To resize a size that isn’t in the list, use the second section: enter the original width and height, then the new width you want. You get the new height and your ratio written as X:1.

Results are rounded to the nearest whole pixel, because screens and image editors work in whole pixels.

Aspect ratio formulas

An aspect ratio is the width divided by the height. Written as W:H, 16:9 means 16 units wide for every 9 units tall. The calculator uses these formulas:

  • Height = width ÷ (W ÷ H). For 16:9, height = width ÷ 1.7778.
  • Width = height × (W ÷ H). For 16:9, width = height × 1.7778.
  • New height (keep proportions) = original height ÷ original width × new width.
  • Ratio as X:1 = original width ÷ original height.

Worked examples

Ratio / sizeYou enterResult
16:9Width 1,920 pxHeight 1,080 px
16:9Height 1,080 pxWidth 1,920 px
4:3Width 1,920 pxHeight 1,440 px
4:3Height 1,280 pxWidth 1,707 px
3,000 × 2,000 photoNew width 1,200 pxNew height 800 px (ratio 1.50:1, which is 3:2)
3,000 × 2,000 photoNew width 800 pxNew height 533 px

Common aspect ratios and sizes

These are the ratios in the calculator and where you usually meet them:

RatioShapeCommon useExample sizes (px)
16:9WideYouTube, HD and 4K video, most monitors and TVs1280×720, 1920×1080, 3840×2160
9:16TallTikTok, Reels, YouTube Shorts, phone stories1080×1920
4:3Slightly wideOlder TVs, iPad screens, presentations1024×768, 1440×1080
3:2WideDSLR and mirrorless photos, 6×4 prints3000×2000, 6000×4000
1:1SquareSquare social posts, profile pictures1080×1080
4:5Slightly tallPortrait social posts1080×1350
21:9UltrawideUltrawide monitors (marketed as 21:9, often 2560×1080 or 3440×1440)2560×1080
2.39:1Very wideCinema “scope” films1920×803

YouTube’s help pages say the standard aspect ratio for YouTube on a computer is 16:9, and list 16:9 upload resolutions from 426×240 up to 7680×4320 (8K). YouTube Shorts are vertical videos with a maximum resolution of 1080p, so 1080×1920 (9:16) is the usual size.

Aspect ratio for video editing

Set your project’s aspect ratio before you start editing. Changing it later means cropping or adding black bars. If you post one video to several platforms, edit a 16:9 master and export cropped 9:16 and 1:1 versions. Most editors let you set a custom canvas; our comparison of DaVinci Resolve vs Pinnacle Studio covers which one gives you more control over output formats. If you make videos for YouTube, the YouTube income estimator shows what your views could earn.

Aspect ratio for graphic and web design

In design work the ratio matters more than the exact pixels. A hero image, a blog thumbnail or a product photo should keep the same ratio across your site so the layout doesn’t jump. Pick one ratio per image slot, then use the calculator to work out every export size. Designers and developers think about this differently, as our guide to web design vs graphic design explains. If you would rather have the images and layout handled for you, see our web design service.

  • Keep the original: resize from the largest file you have, never upscale a small one.
  • Crop, don’t stretch: if the ratios differ, crop to the new ratio instead of squashing the image.
  • Use even numbers for video: many video encoders need width and height that divide by 2.

Frequently asked questions

How do I calculate an aspect ratio?

Divide the width by the height. A 1920×1080 image gives 1.78, which is 16:9. To write it as a simple ratio, divide both numbers by their largest common divisor (1920 and 1080 both divide by 120, giving 16:9).

What is the height of a 16:9 image that is 1,280 pixels wide?

720 pixels. Divide 1,280 by 16 and multiply by 9.

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

They are the same shape turned on its side. 16:9 is wide (landscape) and 9:16 is tall (portrait), the format used for phone video such as Shorts, Reels and TikTok.

Does resizing change the aspect ratio?

Not if you scale the width and height by the same amount. Use the resize section of the aspect ratio calculator to get the matching height for any new width.

Is the aspect ratio calculator free?

Yes. It is free with no sign-up, and nothing you enter is stored.

More free calculators