Skip to main content

Aspect Ratio Calculator

Calculate aspect ratios, scale dimensions proportionally,
and find dimensions from any ratio.

16:9
Width
Height

Enter dimensions to find the aspect ratio

Results

Simplified Ratio
16:9
Decimal
1.7778
CSS aspect-ratio
aspect-ratio: 16 / 9;

Common Aspect Ratios

Click any ratio to use it in the calculator

Understanding Aspect Ratios

What is an Aspect Ratio?

An aspect ratio describes the proportional relationship between width and height. It's expressed as two numbers separated by a colon (e.g., 16:9), where the first number represents width and the second represents height.

Why Does It Matter?

Maintaining aspect ratio prevents images and videos from appearing stretched or squished. It's crucial for responsive design, ensuring content looks correct across different screen sizes.

CSS aspect-ratio Property

Modern CSS supports the aspect-ratio property, making it easy to maintain proportions:

.video-container {
  aspect-ratio: 16 / 9;
  width: 100%;
}

Responsive Images

Use aspect ratio with object-fit for responsive images that maintain their proportions:

.image-container {
  aspect-ratio: 4 / 3;
}
.image-container img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

Common Video Resolutions

NameResolutionAspect RatioCommon Use
4K UHD3840 x 216016:9YouTube, streaming
1080p (Full HD)1920 x 108016:9Standard HD video
720p (HD)1280 x 72016:9Web video, streaming
Instagram Square1080 x 10801:1Social media posts
Instagram Story1080 x 19209:16Stories, Reels, Shorts