
Resize by pixels, percentage or social preset — batch, high quality, with live preview.
Simplify any width-by-height ratio and scale a new width or height with exact rounding.
Your files never leave your device. Everything runs in your browser.
Aspect Ratio Calculator does two related jobs. It reduces a width and height pair to its simplest ratio, and it scales that ratio to a new width or height so photos, videos, canvas elements and layout boxes keep their exact shape. It is the check to run before exporting a thumbnail, resizing a video frame or setting a fixed-size embed.
Simplification uses the greatest common divisor, so 1920 by 1080 becomes 16:9 and 1000 by 750 becomes 4:3. Once the ratio is known, entering a new width calculates the matching height, and entering a new height calculates the width. If both new fields contain a value, the width wins and the height field is ignored.
Every scaled result is rounded to a whole pixel, because image and video dimensions need integers. That rounding is usually invisible, but a width such as 1000 on a 16:9 origin produces 562.5 and is rounded to 563, so the scaled pair is a pixel away from the mathematical ratio.
16 : 9, and a new width of 1280 gives 1280 × 720.1280 × 720, which is the same calculation run in the other direction.4 : 3, while 1366 by 768 simplifies only to 683 : 384 because it is not exactly 16:9.64 : 27, not 21:9, because 21:9 is a marketing label for a family of panels rather than an exact pixel ratio.16 : 9 in the field. Copy it as displayed if that is the style you need.It divides both numbers by their greatest common divisor. For whole-number dimensions the reduction is exact, so 1920 by 1080 becomes 16:9 with no approximation involved.
Because 1366 divided by 768 is not exactly 16 divided by 9. The greatest common divisor is 2, so the exact simplified ratio is 683:384. The difference is small but real.
Enter the real pixel dimensions, such as 2560 by 1080, and the tool shows the exact simplified form, which is 64:27. A literal 21:9 reduction would need dimensions such as 2100 by 900 that are not standard panel sizes.
The new width takes priority and the height is ignored. Empty the width field if you want the height to drive the calculation.
Yes, to the nearest whole pixel. A computed 562.5 becomes 563. Screens and video encoders work with integer dimensions, so this keeps the result usable.
No. It only calculates dimensions. To actually change a file, use the Image Resizer with the numbers this calculator produces.
Related convert tools: Image Resizer, Image Compressor, Unit Converter, CSS Unit Converter.
The calculator runs entirely in your browser — no dimensions or files are uploaded.