Aspect ratio calculator

Type a width and a height, or a ratio and one side. The ratio or the missing side appears with the formula, plus Reels and Stories safe-zone overlays.

Find the ratio

Enter a width and a height to see the ratio.

Find the missing side

1,080 × 1,920 pixels

Height = width × ratio height ÷ ratio width = 1,080 × 16 ÷ 9 = 1,920 (rounded to whole pixels).

Safe-zone overlays (1080 × 1920)

Transparent PNGs to lay over a 9:16 video in your editor. Shaded areas are where Meta suggests keeping text, logos and key details out. Drawn in your browser; nothing is uploaded.

How does the video ratio calculator work?

It has three parts: find the ratio of a width and a height, find the missing side of a ratio, and make a safe-zone overlay. Everything is plain arithmetic in your browser.

Part What you type What you get
Find the ratio A width and a height in pixels The reduced ratio, the decimal, the divisor used and the closest common ratio
Find the missing side A ratio (or a preset: 9:16, 4:5, 1:1, 16:9) and a known width or height The other side in whole pixels, with the formula
Safe-zone overlays Nothing: press "Make the Reels overlay" or "Make the Stories overlay" A transparent 1080 × 1920 PNG to lay over a vertical video in your editor

The common ratios it compares with are 9:16, 4:5, 3:4, 1:1, 4:3, 3:2, 16:9, 1.91:1 and 21:9. When your ratio is within a hair of one of them, the result says "This is" that ratio. Otherwise it says "The closest common ratio is", so you know you are near a standard shape but not on it.

New to the term? Read what aspect ratio means first, then come back to the numbers.

How is the aspect ratio worked out?

Divide the width and the height by their greatest common divisor. For the missing side, multiply the known side by one part of the ratio and divide by the other.

The two formulas

  • Ratio = width ÷ divisor : height ÷ divisor, where the divisor is the largest whole number that divides both
  • Missing height = width × ratio height ÷ ratio width, rounded to whole pixels
  • Missing width = height × ratio width ÷ ratio height, rounded to whole pixels

Worked examples

These are example sizes. Type them into the tool to check each line.

You type Divisor Result
1920 × 1080 120 16:9
1080 × 1350 270 4:5
4032 × 3024 (a phone photo) 1008 4:3
1080 × 566 2 540:283, decimal 1.908, so "This is 1.91:1"
1170 × 2532 (a phone screen) 6 195:422, decimal 0.462; the closest common ratio is 9:16
Ratio and known side Calculation Missing side
4:5, width 1080 1080 × 5 ÷ 4 height 1350
9:16, width 720 720 × 16 ÷ 9 height 1280
16:9, width 1000 1000 × 9 ÷ 16 = 562.5 height 563 (rounded)
9:16, height 1920 1920 × 9 ÷ 16 width 1080

The phone-screen line is the useful one. A screen recording is not exactly 9:16, so it may get bars or a crop when you post it as a vertical video. Resize it to 1080 × 1920 first, and you decide what is cut.

Which ratios do Instagram, TikTok and YouTube Shorts use?

Instagram photos keep full quality from 1.91:1 to 4:5 [3]. Stories are 1080 × 1920 at 9:16 [2]. TikTok recommends 9:16 at 1080 × 1920 or higher [4], and Shorts can be square or vertical [6].

Format Ratio and size Source
Instagram photo post 1.91:1 to 4:5; at 1080 wide, a height from 566 to 1350 pixels [3] Instagram Help Center [3]
Instagram story 9:16, recommended 1080 × 1920, minimum 600 × 1067 [2] Meta Business Help Center [2]
TikTok video 9:16 vertical, exported at 1080 × 1920 or higher [4] TikTok for Business [4]
YouTube Shorts Square or vertical, up to 3 minutes long [6] YouTube Help [6]

If a photo's ratio is outside Instagram's range, Instagram crops it to fit a supported ratio [3]. Crop it yourself first, so you choose what stays in the frame. The Instagram image resizer does that in your browser.

For Reels, see our page on the Instagram Reels aspect ratio. For every feed size in one table, see the Instagram post size guide.

What do the Reels and Stories safe-zone overlays show?

The areas Meta suggests keeping free of text, logos and key details, so the profile icon, buttons and call to action do not cover them [1] [2]. The overlay shades those areas and outlines the safe area.

Overlay Keep clear (Meta's numbers) On a 1080 × 1920 frame
Reels 14% top, 35% bottom, 6% each side [1] 269 px top, 672 px bottom, 65 px each side; safe area 950 × 979 px (our arithmetic)
Stories 14% top, 20% bottom [2] 269 px top, 384 px bottom; safe area 1080 × 1267 px (our arithmetic)

The pixels are the percentages applied to 1080 × 1920 and rounded. Meta also quotes about 250 pixels at the top and 340 at the bottom for Stories [2]. The overlay follows the percentages, which leave a little more room.

How to use one:

  1. Press "Make the Reels overlay" (or Stories), then "Download the Reels overlay".
  2. In your video editor, put the PNG on the top track, over your 9:16 video.
  3. Move titles, faces and product shots inside the dashed outline.
  4. Hide or delete the overlay track before you export.

Meta writes these numbers for ads [1] [2]. They are a good margin for ordinary posts too.

What mistakes and limits should you know about?

Do not stretch a video to a new ratio, do not trust a guessed TikTok overlay, and remember the tool only does arithmetic: it never opens or changes your file.

  • Changing the ratio is a crop or a border, never a stretch. Going from 16:9 to 9:16 means cutting the sides or adding bars. Stretching distorts faces.
  • Rounding. A missing side is rounded to whole pixels, so 16:9 at 1000 wide gives 563, not 562.5. Pick a width that divides cleanly, such as 1920 or 1280, when you can.
  • No TikTok overlay. TikTok's safe zone changes with the orientation, the caption length and interactive add-ons, so TikTok offers downloadable safe-zone files instead of fixed numbers [5]. Use those files, including the right-to-left version for Arabic [5].
  • No Shorts overlay. YouTube says Shorts can be square or vertical [6], and we found no official safe-zone numbers for them.
  • Your file stays with you. The tool never sees your video. You type sizes, and the overlay is drawn in your browser.

Do it in Shatla.io

Once your video fits the frame, Shatla.io is one way to schedule it ahead to Instagram, Facebook Pages and TikTok [7]. You can also post it straight from each app.

Shatla.io schedules to Instagram, Facebook Pages and TikTok, and Stories go to Instagram only [7]. You pick a time from 2 minutes to 90 days ahead [7]. Set the ratio with this calculator before you add the file. For what each plan includes, see the price in your country. More on the Shatla.io scheduler page.

The screenshots come from the Shatla.io screenshot library: a placeholder store shown in the real app, with example names and numbers, not a customer (how we check).

  1. Open the post composer, choose post, reel, story or carousel, and add your video or photo at the size you worked out here. For a post, reel or carousel, write the caption.

    The Shatla.io post composer: one post for Instagram and a Facebook Page, the post type and the caption. Example account and example numbers.
    Shatla.io 5968ccf73d67,
  2. Pick the date and time, from 2 minutes to 90 days ahead, and the accounts the post goes to.

    A scheduled reel in Shatla.io: the Instagram account and the Facebook Page it goes to, the caption, the first comment and the time. Example account and example numbers.
    Shatla.io 5968ccf73d67,

The full guide on Shatla.io

Frequently asked questions

How do I calculate an aspect ratio?

Find the largest whole number that divides both the width and the height, then divide both by it. 1920 × 1080 share 120, so the ratio is 16:9.

What is the aspect ratio of 1080 × 1920?

9:16, a vertical full-screen frame. Both sides divide by 120, giving 9 and 16. It is the recommended Instagram story size [2] and the TikTok export size [4].

What ratio is best for an Instagram post?

It depends on the photo. Instagram's Help Center lists photo ratios from 1.91:1 (landscape) to 4:5 (portrait) [3]; one version of that page says 3:4, so check the app before you post taller photos. Square 1:1 sits in between.

Is there a TikTok or YouTube Shorts safe-zone overlay?

Not here. TikTok publishes its safe zone as downloadable files that depend on the caption [5], and we found no official numbers for Shorts. The tool draws only the overlays Meta gives numbers for.

Is my video uploaded?

No. You type sizes, not files, and the overlays are drawn in your browser. Nothing leaves the page.

Sources

  1. Instagram Reels (Meta Ads Guide), Meta Ads Guide. Accessed .
  2. Design Requirements for Instagram Stories Ads, Meta Business Help Center. Accessed .
  3. Image resolution of photos you share on Instagram, Instagram Help Center. Accessed .
  4. Video Advertising Guide for Small Businesses, TikTok for Business. Accessed .
  5. TikTok Auction In-Feed Ads, TikTok for Business. Accessed .
  6. Upload YouTube Shorts, YouTube Help. Accessed .
  7. Shatla.io features list (features.json), Shatla.io. Accessed .

Founder, Shatla.io

Founder of Shatla.io and The Diet Masters (1.8M+ YouTube subscribers).

Reviewed by Shatla.io Team before publishing.

View this page as Markdown