How to Calculate Aspect Ratio for Any Image or Video
Whether you are editing a video for YouTube, resizing images for Instagram, or setting up a cinematic presentation, aspect ratio is one of those terms you cannot ignore. Get it wrong and your content ends up stretched, squished, or surrounded by black bars.
This guide explains what aspect ratio is, which ratios to use for popular platforms, and how to calculate dimensions in seconds.
What Is Aspect Ratio?
Aspect ratio is the proportional relationship between width and height, written as width:height. A 16:9 aspect ratio means for every 16 units of width, there are 9 units of height.
Common examples:
- 16:9 — YouTube, widescreen TVs, standard monitors
- 9:16 — TikTok, Instagram Reels, YouTube Shorts
- 1:1 — Instagram square posts, profile pictures
- 4:3 — Older TVs, some presentations
- 21:9 — Ultrawide monitors, cinematic video
Why Aspect Ratio Matters
Using the wrong aspect ratio causes visible problems:
- Stretching — A 4:3 image forced into 16:9 looks unnaturally wide
- Letterboxing — Black bars appear when the ratio does not match the screen
- Cropping — Important content gets cut off when platforms force a different ratio
Each platform has a preferred ratio. YouTube expects 16:9. Instagram Reels and TikTok demand 9:16. Using the correct ratio from the start saves you from awkward cropping later.
How to Calculate Aspect Ratio Dimensions
The math is straightforward: divide width by height to get the ratio, then use that ratio to find missing dimensions.
Example: You have a 1920×1080 image.
1920 ÷ 1080 = 1.777..., which simplifies to 16:9.
To find height from width:
height = width ÷ (ratio width / ratio height)
For 1920px width at 16:9: height = 1920 ÷ (16/9) = 1080px
To find width from height:
width = height × (ratio width / ratio height)
For 1080px height at 16:9: width = 1080 × (16/9) = 1920px
Common Aspect Ratios and Resolutions
| Aspect Ratio | Common Resolutions | Best For |
|---|---|---|
| 16:9 | 1920×1080, 3840×2160 | YouTube, presentations, widescreen video |
| 9:16 | 1080×1920 | TikTok, Instagram Reels, YouTube Shorts |
| 1:1 | 1080×1080, 1200×1200 | Instagram posts, profile pictures |
| 4:5 | 1080×1350 | Instagram portrait photos |
| 21:9 | 2560×1080, 3440×1440 | Ultrawide gaming, cinematic content |
| 4:3 | 1024×768, 1600×1200 | Older displays, some photography |
Platform-Specific Recommendations
YouTube
Use 16:9 for standard videos. Recommended resolutions: 1920×1080 (Full HD) or 3840×2160 (4K). For YouTube Shorts, switch to 9:16 at 1080×1920.
- Posts: 1:1 (square) or 4:5 (portrait)
- Stories and Reels: 9:16
- ads: 1:1 or 4:5 depending on placement
TikTok
Always 9:16. Upload at 1080×1920 for best quality.
Presentations
16:9 is the modern standard. Avoid 4:3 unless you are working with legacy equipment.
Calculate Instantly with Our Tool
Doing the math manually is fine for one-off calculations, but if you work with multiple dimensions or custom ratios, our Aspect Ratio Calculator does the work for you.
Enter any width or height, pick a preset (16:9, 1:1, 9:16, and more), and get the exact missing dimension instantly. It also shows a visual preview so you can see the shape before committing to a resize.
Quick Checklist
- Know your target platform's preferred ratio before creating content
- Use 16:9 for YouTube and widescreen displays
- Use 9:16 for TikTok, Reels, and Shorts
- Use 1:1 for square social media posts
- Never stretch or squeeze—always calculate the correct dimensions
- Check the visual preview before exporting
Final Thoughts
Aspect ratio is not just a technical detail. It affects how your content is perceived and whether viewers see it as intended. Take a moment to calculate the right dimensions before you start designing or filming. Your content will look professional, and you will avoid the frustration of black bars and awkward crops.
Try our Aspect Ratio Calculator the next time you need to resize an image or prepare video dimensions. It is free, works in your browser, and supports every common ratio plus fully custom inputs.