Back to Blog
Guidesaspect-ratioimagevideo

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.

Loopaloo TeamJuly 20, 202514 min read

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

RatioDecimalWidthHeightCommon Use
1:11.0011Square, Instagram posts, profile pics
5:41.25548×10 prints, some monitors
4:31.3343Traditional TV, iPad, older monitors
3:21.5032DSLR photos, 35mm film, prints
16:101.601610MacBooks, some monitors
16:91.78169HD video, most monitors, YouTube
1.85:11.851.851US widescreen cinema
2:12.0021Univisium, some phones
21:92.33219Ultrawide monitors
2.35:12.352.351Anamorphic widescreen cinema
2.39:12.392.391Modern cinema "Scope"
9:160.56916Vertical video, phone screens
4:50.8045Instagram 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

PlatformFormatRatioResolution
InstagramFeed Post1:11080×1080
Portrait Post4:51080×1350
Landscape Post1.91:11080×566
Story/Reel9:161080×1920
FacebookFeed Post1.91:11200×630
Story9:161080×1920
Cover Photo2.7:1820×312
Twitter/XSingle Image16:91200×675
Two Images7:8 each700×800
Card Image1.91:11200×628
LinkedInPost Image1.91:11200×627
Cover Photo4:11584×396
PinterestStandard Pin2:31000×1500
Long Pin1:2.11000×2100
TikTokVideo9:161080×1920
YouTubeVideo16:91920×1080+
Thumbnail16:91280×720
Shorts9:161080×1920

Video Platforms

PlatformAspect RatioCommon Resolutions
YouTube16:93840×2160, 1920×1080, 1280×720
YouTube Shorts9:161080×1920
TikTok9:161080×1920
Instagram Reels9:161080×1920
Vimeo16:91920×1080, 4096×2160
TV Broadcast16:91920×1080 (HD), 3840×2160 (4K)
Cinema2.39:14096×1716 (4K DCI Scope)

Screen Resolutions

ResolutionRatioName
640×4804:3VGA
800×6004:3SVGA
1024×7684:3XGA
1280×72016:9HD / 720p
1280×80016:10WXGA
1920×108016:9Full HD / 1080p
1920×120016:10WUXGA
2560×144016:9QHD / 1440p
2560×108021:9Ultrawide
3440×144021:9Ultrawide QHD
3840×216016:94K UHD
5120×216021:95K Ultrawide

Print Sizes

Print SizeRatioClosest Standard
4×6 inches3:23:2
5×7 inches7:5 (1.4)Between 4:3 and 3:2
8×10 inches5:45:4
11×14 inches14:11 (1.27)~5:4
16×20 inches5:45:4
20×24 inches6: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:

RatioPadding-Bottom
1:1100%
4:375%
3:266.67%
16:956.25%
21:942.86%
4:5125%
9:16177.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

Related Articles

Try Our Free Tools

200+ browser-based tools for developers and creators. No uploads, complete privacy.

Explore All Tools