Aspect Ratio Calculator
Calculate aspect ratios and scale dimensions proportionally online. Free aspect ratio calculator for images, video, and screen sizes.
Tip: Click the lock icon to maintain the aspect ratio while adjusting dimensions. The CSS padding ratio can be used for responsive containers withpadding-bottom: 56.25%.
About Aspect Ratio Calculator
Calculate and convert aspect ratios for images and videos. Find the simplified ratio, decimal value, and CSS padding percentage for responsive design.
How to Use Aspect Ratio Calculator
Enter the source dimensions
Input the width and height of your source image, video, or display. You can also specify a ratio directly, like 16:9, if that's all you have to work with.
Enter the target dimension
Specify either a target width or a target height. The calculator works out the other dimension to maintain the ratio. You can also specify both if you want to compare ratios between two arbitrary dimensions.
View the calculated values
The calculator displays the matching dimension, the ratio expressed as both a decimal and a simplified fraction, the diagonal length, and matches against common preset ratios like 16:9 and 4:3.
Use the result in your design
Apply the calculated dimensions to your project. Copy the CSS aspect-ratio value (something like 'aspect-ratio: 16/9') for ratio-locked containers, or use the dimensions directly for image scaling, video sizing, and responsive layouts.
When to Use Aspect Ratio Calculator
Image scaling
Resize images without distorting them. If you're going from 1920×1080 (a 16:9 photo) to 1280 pixels wide, the calculator works out that the height needs to be 720. This matters for thumbnails, banners, responsive images, and ad creatives — letting the proportions drift produces stretched-looking output that immediately reads as amateur.
Video production
Standard video ratios are 16:9 for HD video and YouTube, 9:16 for vertical phone formats like TikTok and Reels, 4:5 for Instagram feed posts, and 1:1 for square content. Adapting the same source across platforms with different ratio requirements is much faster when you can plug numbers into a calculator instead of doing the arithmetic manually.
Web design and responsive layouts
Modern CSS includes an aspect-ratio property that locks containers to a specific shape. The calculator helps designers and developers figure out target dimensions and the CSS values to use for responsive containers that maintain their proportions across breakpoints.
Display and screen sizing
Common display ratios include 16:9 for most monitors and TVs, 16:10 for some laptops, 21:9 for ultra-wide displays, and 4:3 for older equipment. The calculator helps match dimensions for digital signage, custom-built displays, and monitor specifications where you need to choose hardware for a specific content format.
Aspect Ratio Calculator Examples
16:9 video at 1080 wide
Ratio: 16:9, Width: 1920Height: 1080. Diagonal: 2202.91. Aspect as decimal: 1.778.Standard HD comes out to 1920×1080. The calculator works out the height from the width given a ratio. 16 divided by 9 is 1.778, so the height is the width divided by 1.778.
Instagram square crop
Ratio: 1:1, Source: 1920×1080Square crop at 1080×1080 from a horizontal source, or 1920×1920 if extended or letterboxed.To crop a horizontal image to square, take the smaller dimension — 1080 in this case. For Instagram's main feed, 1080×1080 is the right size for highest quality without unnecessary upscaling.
Resize while maintaining ratio
Source: 800×600, Target width: 1200Target dimensions 1200×900. Ratio 4:3 preserved.Scaling 800×600 to 1200 wide. The ratio 4:3 is 1.333, so the height becomes 1200 / 1.333 = 900. The calculator does this kind of math reliably and prevents the small calculation errors that creep in when you try to do it by hand.
Tips & Best Practices for Aspect Ratio Calculator
- 1.The common ratios worth memorizing are 16:9 for standard video, 4:3 for older video and presentations, 3:2 for DSLR cameras, 1:1 for Instagram square, 9:16 for vertical phone formats, and 21:9 for ultra-wide cinema.
- 2.Use the modern CSS aspect-ratio property — 'aspect-ratio: 16 / 9' creates a ratio-locked container in one line. It's much cleaner than the old padding-bottom hack and is supported in all modern browsers.
- 3.When working with images, keep the original ratio whenever possible. Cropping always loses content, and scaling without the original ratio produces distortion that's immediately visible to viewers.
- 4.Sometimes you need pixel-perfect math. Convert the ratio to a decimal (16:9 becomes 1.778), then multiply or divide for the dimension you need. The calculator handles the conversion in either direction.
- 5.Watch DPI when working with print. Web ratios are pixel ratios; print also depends on DPI. A 1920×1080 image at 96 DPI prints at 20×11.25 inches, but the same pixel dimensions at 300 DPI come out at 6.4×3.6 inches.
- 6.Modern displays vary widely, so test on multiple devices when content quality matters. A 16:9 desktop monitor and a 9:16 phone display will need different content variants if you want either to look right.
Frequently Asked Questions
Related Tools
Date Calculator
Calculate date differences and add or subtract days, months, and years online. Free date calculator with weekday and holiday support.
Percentage Calculator
Calculate percentages online with increase, decrease, and ratio modes. Free percentage calculator for discounts, tips, and math.
Factorial Calculator
Calculate the factorial of any number online with support for large values. Free factorial calculator for math and combinatorics work.
Sales Tax Calculator
Calculate sales tax amounts and total prices online. Free sales tax calculator with pre-tax and post-tax price breakdown support.
Age Calculator
Calculate your exact age from birthdate in years, months, and days online. Free age calculator with upcoming birthday countdown.
Temperature Converter
Convert between Celsius, Fahrenheit, and Kelvin online. Free temperature converter with instant results and conversion formulas.