Aspect Ratios Explained: From 16:9 to 1:1 and Beyond
Master aspect ratios for every platform. Complete reference for social media, video, print, and responsive CSS with calculations and best practices.
Aspect ratio determines how images and videos appear on different screens and platforms. Understanding aspect ratios helps you create content that displays correctly everywhere - from Instagram posts to ultrawide monitors.
What is Aspect Ratio?
An aspect ratio is the proportional relationship between the width and height of an image or video. It's expressed as width:height.
Aspect Ratio = Width : Height
Example: 1920 × 1080 pixels
1920 : 1080 = 16 : 9 (simplified)
The same aspect ratio can apply to any size - a 16:9 image could be 1920×1080, 1280×720, or even 160×90. The shape stays the same.
How to Calculate Aspect Ratio
From Dimensions to Ratio
Divide both numbers by their greatest common divisor (GCD):
1920 × 1080
GCD of 1920 and 1080 = 120
1920 ÷ 120 = 16
1080 ÷ 120 = 9
Aspect ratio: 16:9
As a Decimal
Divide width by height:
1920 ÷ 1080 = 1.778 (or just "1.78")
This is useful for calculations and comparisons.
Quick Mental Math
Width × Height → Ratio (approximate)
1920 × 1080 → divide both by ~100 → 19:10 ≈ 16:9
1080 × 1350 → 4:5 (divide by 270)
Finding Dimensions from Ratio
If you know the ratio and one dimension:
Want 16:9 at 1920px wide:
Height = Width × (9/16)
Height = 1920 × 0.5625 = 1080px
Want 16:9 at 1080px tall:
Width = Height × (16/9)
Width = 1080 × 1.778 = 1920px
Common Aspect Ratios
Standard Ratios Reference
| Ratio | Decimal | Width | Height | Common Use |
|---|---|---|---|---|
| 1:1 | 1.00 | 1 | 1 | Square, Instagram posts, profile pics |
| 5:4 | 1.25 | 5 | 4 | 8×10 prints, some monitors |
| 4:3 | 1.33 | 4 | 3 | Traditional TV, iPad, older monitors |
| 3:2 | 1.50 | 3 | 2 | DSLR photos, 35mm film, prints |
| 16:10 | 1.60 | 16 | 10 | MacBooks, some monitors |
| 16:9 | 1.78 | 16 | 9 | HD video, most monitors, YouTube |
| 1.85:1 | 1.85 | 1.85 | 1 | US widescreen cinema |
| 2:1 | 2.00 | 2 | 1 | Univisium, some phones |
| 21:9 | 2.33 | 21 | 9 | Ultrawide monitors |
| 2.35:1 | 2.35 | 2.35 | 1 | Anamorphic widescreen cinema |
| 2.39:1 | 2.39 | 2.39 | 1 | Modern cinema "Scope" |
| 9:16 | 0.56 | 9 | 16 | Vertical video, phone screens |
| 4:5 | 0.80 | 4 | 5 | Instagram portrait, Pinterest |
Visualizing the Differences
1:1 (Square)
+-------+
| |
| |
+-------+
4:3 (Classic)
+---------+
| |
| |
+---------+
16:9 (Widescreen)
+-------------+
| |
+-------------+
21:9 (Ultrawide)
+-----------------+
| |
+-----------------+
9:16 (Vertical)
+---+
| |
| |
| |
| |
+---+
Platform-Specific Requirements
Social Media Images
| Platform | Format | Ratio | Resolution |
|---|---|---|---|
| Feed Post | 1:1 | 1080×1080 | |
| Portrait Post | 4:5 | 1080×1350 | |
| Landscape Post | 1.91:1 | 1080×566 | |
| Story/Reel | 9:16 | 1080×1920 | |
| Feed Post | 1.91:1 | 1200×630 | |
| Story | 9:16 | 1080×1920 | |
| Cover Photo | 2.7:1 | 820×312 | |
| Twitter/X | Single Image | 16:9 | 1200×675 |
| Two Images | 7:8 each | 700×800 | |
| Card Image | 1.91:1 | 1200×628 | |
| Post Image | 1.91:1 | 1200×627 | |
| Cover Photo | 4:1 | 1584×396 | |
| Standard Pin | 2:3 | 1000×1500 | |
| Long Pin | 1:2.1 | 1000×2100 | |
| TikTok | Video | 9:16 | 1080×1920 |
| YouTube | Video | 16:9 | 1920×1080+ |
| Thumbnail | 16:9 | 1280×720 | |
| Shorts | 9:16 | 1080×1920 |
Video Platforms
| Platform | Aspect Ratio | Common Resolutions |
|---|---|---|
| YouTube | 16:9 | 3840×2160, 1920×1080, 1280×720 |
| YouTube Shorts | 9:16 | 1080×1920 |
| TikTok | 9:16 | 1080×1920 |
| Instagram Reels | 9:16 | 1080×1920 |
| Vimeo | 16:9 | 1920×1080, 4096×2160 |
| TV Broadcast | 16:9 | 1920×1080 (HD), 3840×2160 (4K) |
| Cinema | 2.39:1 | 4096×1716 (4K DCI Scope) |
Screen Resolutions
| Resolution | Ratio | Name |
|---|---|---|
| 640×480 | 4:3 | VGA |
| 800×600 | 4:3 | SVGA |
| 1024×768 | 4:3 | XGA |
| 1280×720 | 16:9 | HD / 720p |
| 1280×800 | 16:10 | WXGA |
| 1920×1080 | 16:9 | Full HD / 1080p |
| 1920×1200 | 16:10 | WUXGA |
| 2560×1440 | 16:9 | QHD / 1440p |
| 2560×1080 | 21:9 | Ultrawide |
| 3440×1440 | 21:9 | Ultrawide QHD |
| 3840×2160 | 16:9 | 4K UHD |
| 5120×2160 | 21:9 | 5K Ultrawide |
Print Sizes
| Print Size | Ratio | Closest Standard |
|---|---|---|
| 4×6 inches | 3:2 | 3:2 |
| 5×7 inches | 7:5 (1.4) | Between 4:3 and 3:2 |
| 8×10 inches | 5:4 | 5:4 |
| 11×14 inches | 14:11 (1.27) | ~5:4 |
| 16×20 inches | 5:4 | 5:4 |
| 20×24 inches | 6:5 | ~5:4 |
Note: Most digital cameras shoot 3:2, which doesn't match common print sizes. You'll need to crop for 5:4 prints like 8×10.
Implementing Aspect Ratios in CSS
Modern CSS: aspect-ratio Property
The cleanest solution for modern browsers:
/* Fixed aspect ratio container */
.video-container {
aspect-ratio: 16 / 9;
width: 100%;
}
.square-image {
aspect-ratio: 1 / 1;
width: 200px;
}
.portrait-card {
aspect-ratio: 4 / 5;
width: 300px;
}
Padding Hack (Legacy Support)
For older browsers, use the padding percentage trick:
/* Percentage padding is relative to width */
.aspect-ratio-box {
position: relative;
width: 100%;
padding-bottom: 56.25%; /* 9/16 = 0.5625 = 56.25% */
}
.aspect-ratio-box > * {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
Common padding values:
| Ratio | Padding-Bottom |
|---|---|
| 1:1 | 100% |
| 4:3 | 75% |
| 3:2 | 66.67% |
| 16:9 | 56.25% |
| 21:9 | 42.86% |
| 4:5 | 125% |
| 9:16 | 177.78% |
Responsive Images with Aspect Ratio
/* Maintain aspect ratio while being responsive */
.responsive-image {
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
object-fit: cover; /* or 'contain' */
}
/* Image gallery with consistent sizing */
.gallery-item {
aspect-ratio: 1 / 1;
object-fit: cover;
width: 100%;
}
Video Embeds
/* Responsive YouTube/Vimeo embed */
.video-wrapper {
aspect-ratio: 16 / 9;
width: 100%;
}
.video-wrapper iframe {
width: 100%;
height: 100%;
}
Handling Different Aspect Ratios
object-fit Property
Control how content fills its container:
/* Cover: fills container, may crop */
.image-cover {
aspect-ratio: 16 / 9;
object-fit: cover;
object-position: center; /* control crop position */
}
/* Contain: shows all content, may letterbox */
.image-contain {
aspect-ratio: 16 / 9;
object-fit: contain;
background: #000; /* letterbox color */
}
/* Fill: stretches to fill (distorts) */
.image-fill {
aspect-ratio: 16 / 9;
object-fit: fill;
}
Letterboxing and Pillarboxing
When content doesn't match the container ratio:
Letterboxing (black bars top/bottom):
16:9 content in 4:3 container
+-------------+
|■■■■■■■■■■■■■| ← black bar
| content |
|■■■■■■■■■■■■■| ← black bar
+-------------+
Pillarboxing (black bars left/right):
4:3 content in 16:9 container
+---+---------+---+
| ■ | content | ■ |
+---+---------+---+
Best Practices
1. Design for Cropping
When creating content that will appear at multiple ratios, keep important elements in the "safe zone":
+---------------------------+
| |
| +---------------+ |
| | SAFE ZONE | |
| | Important | |
| | content here | |
| +---------------+ |
| |
+---------------------------+
Content outside safe zone may be cropped on some platforms.
2. Shoot Wide, Crop Later
For video, shoot in a wider aspect ratio than your final output:
Shoot in 16:9 → Crop to:
- 16:9 (horizontal)
- 1:1 (square)
- 9:16 (vertical)
- 4:5 (portrait)
3. Consider Mobile First
Most social media is viewed on phones:
- Vertical (9:16) gets more screen real estate
- Square (1:1) works well on feeds
- Horizontal (16:9) is fine but uses less space
4. Platform-Specific Assets
Create separate assets for different platforms rather than using one-size-fits-all:
Campaign assets needed:
- Instagram Feed: 1:1 and 4:5
- Instagram Story: 9:16
- YouTube: 16:9
- Facebook: 1.91:1
Common Issues
Image Looks Stretched
The aspect ratio is being changed (filled instead of covered):
/* Wrong: distorts image */
img {
width: 400px;
height: 300px;
}
/* Right: maintains ratio */
img {
width: 400px;
height: auto;
}
/* Or use object-fit */
img {
width: 400px;
height: 300px;
object-fit: cover;
}
Important Parts Getting Cropped
Use object-position to control the focus point:
/* Focus on top (for portrait photos) */
img {
object-fit: cover;
object-position: center top;
}
/* Focus on specific point */
img {
object-fit: cover;
object-position: 30% 20%;
}
Quick Reference Formulas
// Calculate height from width and ratio
height = width / (ratioWidth / ratioHeight)
height = width * (ratioHeight / ratioWidth)
// Calculate width from height and ratio
width = height * (ratioWidth / ratioHeight)
// Get ratio from dimensions
ratio = width / height
// Convert ratio to percentage (for padding hack)
percentage = (height / width) * 100
Use our Aspect Ratio Calculator to quickly find dimensions, convert between ratios, and calculate cropping.
Related Tools
Aspect Ratio Calculator
Calculate aspect ratios, resize dimensions while maintaining proportions. Common presets for video, photo, mobile screens, and social media
Image Resizer
Resize and scale images with smart aspect ratio control. Supports custom dimensions, percentage scaling, social media presets, and batch resizing while maintaining image quality.
Related Articles
Try Our Free Tools
200+ browser-based tools for developers and creators. No uploads, complete privacy.
Explore All Tools