Calculate and convert aspect ratios for videos, images and screen sizes.
Drop an image here to detect its ratio instantly
or click to browse - 100% private, nothing is uploaded anywhere
1920 × 1080
16:9 · Landscape
This is the YouTube / HD standard. For thumbnails use 1280 x 720 - same ratio, smaller size.
Container
.aspect-box {
width: 100%;
aspect-ratio: 16 / 9;
}Image
img {
width: 100%;
aspect-ratio: 16 / 9;
object-fit: cover;
}Video
video {
width: 100%;
aspect-ratio: 16 / 9;
}The Aspect Ratio Calculator is a free online tool that helps you calculate and convert aspect ratios for images, videos, and screens. Have you ever tried to resize a photo for Instagram or a YouTube thumbnail, only to end up with an image that looks stretched or squished?
This tool fixes that by doing the math for you. It helps you find missing dimensions, resize files without ruining the proportions, and compare different screen sizes. It also comes pre-loaded with presets for popular devices (like iPhones and MacBooks) and social media platforms.
Plus, developers can use the built-in CSS generator to instantly get modern aspect-ratio code. Everything runs locally in your browser.
An aspect ratio is the proportional relationship between the width and height of an image or screen. It is usually written as two numbers separated by a colon (like 16:9 or 1:1). It tells you the shape of the rectangle, but not the actual size.
If you know the width is 1920px and the ratio is 16:9, go to the "Find Missing" tab. Enter 1920 as the width, set the ratio to 16:9, and the tool will instantly calculate that the height must be 1080px.
Yes! When you enter any dimensions in the "Calculate" tab, the tool automatically generates modern CSS code using the aspect-ratio property. You can copy this code to make responsive video containers or image holders that never lose their shape.
16:9 is the standard widescreen ratio used by YouTube, modern TVs, and most computer monitors. 4:3 is the older, squarer shape used by traditional tube TVs and some vintage video formats.
Yes. All calculations happen directly inside your web browser using JavaScript. Your image dimensions and projects are never uploaded to a server or tracked.
We use cookies to serve relevant ads and improve your experience. Read our Privacy Policy.