Skip to content
Mathico

Aspect Ratio Calculator

Get the aspect ratio of any image, screen or video (1920 ร— 1080 is 16:9), resize to a new width or height without stretching, and work out how media fits or crops into a frame.

Calculate
px
px

Aspect ratio

16:9

Decimal ratio
1.7778:1
Orientation
Landscape
Nearest common format
16:9
Megapixels
2.07 MP

HD / 4K video, YouTube

How to use the aspect ratio calculator

  1. Ratio from size: enter a width and height in pixels to get the simplified ratio, the decimal ratio and the nearest standard format.
  2. Resize: pick or type a ratio, then enter a new width (or height) to get the other dimension without distortion.
  3. Fit / crop: enter your image or video size and the frame size to see the letterboxed size, or the crop needed to fill the frame.

Aspect ratio formulas

Ratio = (W รท g) : (H รท g), where g = greatest common divisor of W and H
New height = new width ร— H รท W ยท New width = new height ร— W รท H
Fit scale = min(frame W รท W, frame H รท H) ยท Fill scale = max(frame W รท W, frame H รท H)

Worked examples

  • 1920 ร— 1080: gcd 120 โ†’ 16:9 (1.78:1).
  • Resize 16:9 to 1280 wide: 1280 ร— 9 รท 16 = 720 px tall.
  • 4000 ร— 3000 photo into a 1920 ร— 1080 frame: fit = 1440 ร— 1080 (240 px bars each side), or fill = 1920 ร— 1440 with 360 px cropped from height.

Common aspect ratios

RatioDecimalTypical useExample size
1:11.00Square posts1080 ร— 1080
4:50.80Portrait feed posts1080 ร— 1350
9:160.56Vertical video1080 ร— 1920
4:31.33Classic TV, tablets1024 ร— 768
3:21.5035 mm photos, many cameras6000 ร— 4000
16:91.78HD/4K video, monitors3840 ร— 2160
21:92.33Ultrawide monitors3440 ร— 1440

Aspect ratios of photo print sizes

Prints don't all share a camera's shape, so some cropping is often needed. Most cameras shoot 3:2 (DSLRs and mirrorless) or 4:3 (phones and many compacts). Match the print to your photo, or use the fit / crop mode to see what will be lost.

Print sizeAspect ratioFrom a 3:2 photo
4 ร— 6 in2:3No crop
5 ร— 7 in5:7Small crop from the long side
8 ร— 10 in4:5Crops about 17% of the long side
8 ร— 12 in2:3No crop
11 ร— 14 in11:14Crops about 15% of the long side
16 ร— 20 in4:5Crops about 17% of the long side

Tip: leave space around your subject when you shoot. It gives you room to crop to any print size later without cutting off heads or edges.

Aspect ratios are ratios in their simplest form: the ratio calculator simplifies any ratio, the GCF calculator finds the common divisor, and the proportion calculator solves for a missing value. More math calculators.

Sources

Frequently asked questions

How do you calculate aspect ratio?

Divide the width and height by their greatest common divisor. 1920 ร— 1080: the greatest common divisor is 120, so the ratio is 16:9. As a decimal, 1920 รท 1080 = 1.78:1.

How do I resize an image without stretching it?

Keep the ratio the same: new height = new width ร— (ratio height รท ratio width). A 16:9 image resized to 1280 px wide must be 1280 ร— 9 รท 16 = 720 px tall.

What is the difference between fit and fill?

Fit (contain or letterbox) scales the media until it fits entirely inside the frame, leaving bars on two sides. Fill (cover) scales it until the frame is completely covered and crops whatever spills over. A 4000 ร— 3000 photo in a 1920 ร— 1080 frame fits at 1440 ร— 1080 with bars, or fills at 1920 ร— 1440 with 360 px cropped.

What aspect ratio is 1080p and 4K?

Both are 16:9. 1080p is 1920 ร— 1080 and consumer 4K (UHD) is 3840 ร— 2160. Cinema 4K (DCI) is 4096 ร— 2160, about 1.9:1.

What aspect ratio should I use for social media?

Common choices are 9:16 for vertical video (Reels, TikTok, Shorts), 1:1 or 4:5 for feed posts, and 16:9 for YouTube and landscape video. Platforms change their recommendations, so check the current guidelines before a big campaign.

Why should video dimensions be even numbers?

Most video codecs store color at half resolution (4:2:0 chroma subsampling), which needs even width and height. Round resized dimensions to the nearest even number for video.