Select Language
Calculate and convert aspect ratios for videos, images and screen sizes.
Enter any width and height to see its aspect ratio instantly, or drop in an image and let the tool read the dimensions for you. Resize without distortion, compare two sizes, and turn a screen diagonal into real pixels. Everything runs on your device - nothing you enter or drop here is ever uploaded.
Get proportions right the first time. Enter the dimensions you know and the calculator works out the missing width or height for any 16:9, 4:3 or custom ratio. Ideal for video exports, print sizes and screen work, it saves you from stretched or cropped visuals.
Type a width and height, drop an image into the Auto-Detect zone, or paste a YouTube or Instagram link. Results update as you type.
Find Missing completes one side, Resize scales without distortion, Compare pits two sizes against each other, and Screen Size turns diagonal inches into pixels.
One-tap copy on every number, ready-to-paste CSS for your website, and a one-click text report with all the results.
Drop an image here to detect its ratio instantly
or click to browse - 100% private, nothing is uploaded anywhere
Tip: decimals are allowed (try 2.39 for cinema ratios). Results update live as you type - no button to press.
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 enhance your browsing experience, serve personalized ads, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies. Read more in our Privacy Policy and Cookie Policy.