
Stop stretching and squishing your images. Here's how aspect ratios actually work, where they matter, and a free calculator to get your dimensions right every time.
I ruined a client's logo once
Not my proudest moment. Back in 2019, I was freelancing and needed to resize a company logo for a website header. I grabbed the image, dragged the corner, and stretched it. The CEO's face looked like it belonged in a funhouse mirror. I didn't notice until the client called me.
That's when I actually learned what aspect ratios are. I'd been doing web work for three years at that point. Should have happened sooner.
What an aspect ratio actually is
It's the proportional relationship between width and height. That's all. Nothing complicated.
16:9 means for every 16 units of width, you have 9 units of height. A square is 1:1. A standard phone screen held vertically is 9:16. A cinema screen might be 2.39:1, which is why movies look so wide compared to your TV.
The problem shows up when you try to force an image into a different ratio than it was created for. You get one of three outcomes:
Stretching. The image gets squished or widened. People look fat or thin. Circles become ovals. Everything feels wrong.
Cropping. Parts of the image get cut off. You lose the subject's head. The important text in the corner disappears.
Letterboxing. Black bars appear on the sides or top and bottom. The image keeps its proportions but doesn't fill the space.
None of these are great. The goal is to avoid all three by knowing the ratio before you resize.
The math, explained simply
If you have an image that's 1920 pixels wide and 1080 pixels tall, the aspect ratio is 1920 divided by 1080, which simplifies to 16:9.
If you need that same image to be 800 pixels wide while keeping the same ratio, you calculate:
800 / 1920 = 0.4167
1080 × 0.4167 = 450
So the new height is 450 pixels. The ratio stays 16:9. The image doesn't stretch.
I did this calculation by hand exactly once in 2020 and decided I'd rather build a tool than do it again.
Where aspect ratios matter most
Social media
Every platform wants a different ratio. Instagram posts are 1:1 (square). Instagram stories and Reels are 9:16 (vertical). YouTube thumbnails are 16:9 (horizontal). TikTok is 9:16. Twitter/X timeline images are 16:9, but header images are roughly 3:1.
I've had to produce the same image in four different ratios for a single client campaign. Each one needs different cropping to keep the important parts visible.
Video production
If you shoot video in 16:9 and need to export for Instagram Reels (9:16), you're either cropping the sides significantly or adding a blurred background behind the video. Knowing the ratios ahead of time lets you plan your shots so the important content survives the crop.
Responsive web design
That hero image that looks perfect on a 1920-pixel-wide desktop monitor might need a completely different crop on a 375-pixel-wide phone screen. If you know the aspect ratios of your breakpoints, you can design images that work at each size without awkward cropping.
Print design
Standard photo prints are 3:2 (from 35mm film). Letter-size paper is roughly 1.29:1. A4 paper is 1.414:1 (the square root of 2, which is why it scales so nicely). If you're designing something that will be printed, you need to know the target ratio before you start laying things out.
Common aspect ratios you should know
| Ratio | Common Use | |-------|-----------| | 1:1 | Instagram posts, profile pictures, album art | | 4:3 | Old TV, iPad screen, standard photography | | 3:2 | 35mm photography, some print formats | | 16:9 | YouTube, widescreen monitors, HDTV | | 9:16 | Instagram Stories, TikTok, phone screens (vertical) | | 21:9 | Ultrawide monitors, cinematic video | | 2.39:1 | Anamorphic widescreen cinema |
How to calculate aspect ratios without doing math
The Aspect Ratio Calculator handles this for you:
- Enter your original width and height.
- Enter one of your target dimensions.
- Get the other dimension automatically.
If you have a 1920 by 1080 image and need it 800 pixels wide, it tells you 450 pixels tall. No calculation required.
Mistakes I've made so you don't have to
Dragging image corners without constraining proportions. Most design tools let you resize freely. Don't. Hold Shift while dragging to lock the aspect ratio. In Figma, the lock icon next to the width and height fields does the same thing.
Assuming "resize" means "maintain ratio." Some tools don't. Photoshop has a chain link icon you need to keep active. Some online resizers have a "maintain aspect ratio" checkbox. Always check before you resize.
Forgetting that upscaling still looks bad. Even with perfect aspect ratios, a 100 by 100 pixel image blown up to 1000 by 1000 is going to be blurry. Aspect ratios preserve shape. They don't create resolution. If you need a larger image, start with a larger source.
Cropping without checking the important areas. When you change an image's ratio by cropping, make sure the subject stays in frame. I've seen too many LinkedIn banners where the person's face got cropped out because someone didn't check the mobile view.
Aspect ratios in CSS
If you're building responsive layouts, CSS has built-in support for aspect ratios:
.video-container {
aspect-ratio: 16 / 9;
width: 100%;
}
This creates a container that always maintains a 16:9 ratio, regardless of its width. The height adjusts automatically. It works for images, videos, cards, and any element where you want to enforce a proportional relationship.
Browser support for aspect-ratio is above 90 percent in 2026. The fallback for older browsers is the padding-top trick:
.video-container {
position: relative;
width: 100%;
padding-top: 56.25%; /* 9/16 = 0.5625 */
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
The golden ratio and why designers care about it
The golden ratio is approximately 1.618:1. You'll find it in nature, classical architecture, and a lot of design theory. Whether it actually makes things look better is debated. But it's a useful starting point for layouts.
If your content area is 960 pixels wide, the sidebar at golden ratio proportions would be about 593 pixels. Does it matter? Maybe. Maybe not. But it's a number that feels right to a lot of designers, and sometimes that's enough.
Frequently asked questions
What's the difference between aspect ratio and resolution?
Aspect ratio is the shape. Resolution is the number of pixels. A 1920 by 1080 image and a 3840 by 2160 image have the same aspect ratio (16:9) but different resolutions. The shape is identical. The detail level is not.
Can I change an image's aspect ratio without cropping?
Not without distorting it. If you change the ratio, you either crop (lose parts of the image) or stretch (distort the image). There's no third option. The question is which trade-off you prefer.
Why do my images look different on different devices?
Different devices have different screen ratios. An image that fills an iPhone screen will have black bars on an iPad. An image designed for a desktop monitor will be cropped on a phone. Design for the most important ratio first, then adapt for others.
What aspect ratio should I use for YouTube thumbnails?
16:9, with a recommended resolution of 1280 by 720 pixels. YouTube will accept other ratios, but 16:9 displays correctly across all devices.
How do I find the aspect ratio of an image?
Divide the width by the height. If the result is 1.778, that's 16:9. If it's 1.0, that's 1:1 (a square). If it's 1.333, that's 4:3. Or just use the Aspect Ratio Calculator and skip the division.
Final note
Aspect ratios are basic math with a nice interface. But when you're juggling fifteen different image sizes for a campaign and it's 11pm and the client wants changes tomorrow, having a calculator that just works is worth it.
The Aspect Ratio Calculator handles the math so you can focus on making things look right.
Written by Axonix Team
Axonix Team - Technical Writer @ Axonix
Share this article
Discover More
View all articles
How to Convert Video to GIF: The comprehensive Guide for Social Media
Learn why GIFs are the secret weapon for social media engagement, and how to convert your videos to high-quality GIFs in seconds without watermarks.

How to Convert Any Image to ASCII Art Online (Free, No Signup)
A step-by-step guide to turning photos into stunning ASCII art with animations, colors, and export options — entirely in your browser.

5 high-performing Free AI Image Generators in 2026 (Honest Comparison)
I tested every major AI image generator so you don't have to. Here's what's actually free, what's actually good, and what secretly charges you.
Use These Related Tools
View all toolsNeed a tool for this workflow?
Axonix provides 100+ browser-based tools for practical development, design, file, and productivity tasks.
Explore Our Tools