You need to resize a video or image to a specific width, but you need to know the corresponding height so it doesn't get distorted. Doing it by hand involves a simple rule of three, but repeating it every time a measurement changes is needlessly tedious. The aspect ratio calculator on this site solves the calculation instantly.
What aspect ratio is, in short
Aspect ratio is the proportion between an image or screen's width and height, normally expressed as two numbers (16:9, 4:3, 21:9). This proportion is what determines whether an image looks "normal" or distorted when resized: as long as the same ratio between width and height is kept, the image retains its correct visual proportions, no matter how much it grows or shrinks in absolute size.
How to calculate the right width or height
- Enter the aspect ratio you need: 16:9, 4:3, 21:9 or any pair of whole numbers.
- Enter one known dimension, for example the width you need.
- Read the other dimension. The tool calculates the corresponding height. The lock (width or height) decides which of the two measures stays fixed when you change the ratio.
The result is rounded to the nearest whole pixel. With 16:9 and a 1000 px width, the exact height is 562.5 px and the tool shows 563 px.
You can do it for free with the aspect ratio calculator on this site, with no sign-up, and no value leaves your browser.
The most common aspect ratios and where they're used
- 16:9: the widescreen proportion common in video and in computer and television screens.
- 4:3: the classic TV and old monitor format.
- 21:9: an ultrawide format, found on some monitors and in cinemas.
- 1:1: square format.
- 9:16: the same 16:9 in portrait orientation, common in vertical mobile video.
How the simplified ratio works
Any pair of dimensions (for example, 1920x1080) can be simplified to its most basic aspect ratio (16:9) by dividing both numbers by their greatest common divisor. This identifies which standard ratio matches the dimensions you have, without memorizing every combination. If the two measures share no common divisor, the simplified ratio is the measure itself: 1000x563 stays as 1000:563.
Real use cases
- Resizing an image or video to a specific width without distorting it, calculating the correct height beforehand.
- Designing for multiple formats, calculating the exact dimensions needed to adapt the same content to different platforms (square for the feed, vertical for stories).
- Giving an element a fixed proportion in CSS, knowing in advance what height corresponds to a given width. The CSS
aspect-ratioproperty sets it directly in the browser.
Frequently asked questions
Can I use a custom aspect ratio, not just the standard ones? Yes, any pair of whole numbers greater than zero. A decimal ratio such as 2.39:1 is entered at whole-number scale as 239:100.
How do I know the aspect ratio of an image I already have? Enter its width and height in pixels. The tool shows the simplified ratio, but it does not read the image file.
Does this resize the image directly? No, it calculates the correct dimensions. To apply the actual resize, use a tool like the image resizer.
Is anything I calculate saved? No. The calculation runs in your browser, and no value is sent or stored.
Calculate the right width or height while keeping the proportion for free with the aspect ratio calculator, for 16:9, 4:3, 21:9 and more.