/tools/image-aspect-ratio-calculator

Image Aspect Ratio Calculator

Type a width and height to get the simplified aspect ratio and its decimal value, then enter a new width to find the matching height that keeps the same proportions.

Private & secure

How to use the Image Aspect Ratio Calculator

01
Enter size
Type a width and height, or pick a common ratio.
02
Read the ratio
See the simplified ratio and its decimal value.
03
Resize
Enter a new width to get the matching height.

How the aspect ratio is calculated

The calculator divides the width and height by their greatest common divisor. 1920 and 1080 share a divisor of 120, giving 16:9. 1080 × 1350 shares 270, giving 4:5. A preview box redraws in the new shape as you type, and the decimal value, width divided by height, is shown to four places.

Some sizes don't reduce to small numbers. 1366 × 768 simplifies to 683:384, so when the simplified width would be over 100 the calculator shows the decimal form instead, here 1.78:1, which is close to 16:9.

Resizing without stretching

To scale an image without distorting it, the height must change by the same factor as the width. New height equals new width times the original height, divided by the original width. Enter a new width and the calculator does the arithmetic and rounds to whole pixels: 1920 × 1080 scaled to 1280 wide becomes 1280 × 720.

The calculation is plain arithmetic in the page, with no file to upload. To read the ratio of an existing picture, use the Image Dimensions Checker, which reports it along with the pixel size.

Common aspect ratios and where they are used

16:9 is standard for video, TVs, most monitors and YouTube thumbnails. 4:3 is the default photo shape on most phone cameras and older displays. 3:2 is typical of many dedicated cameras. 1:1 suits square social posts and profile pictures, 4:5 is a common portrait size for social feeds, 9:16 is used for stories, reels and short vertical video, and 21:9 is ultrawide. The preset buttons fill in a typical size for each.

Supported formats

Any dimensions

Files up to 25 MB. Large, high-resolution photos are supported.

Privacy

This tool runs entirely in your browser. Your image is never uploaded. No account needed. How we handle files.

Image Aspect Ratio Calculator FAQ

How do I find the aspect ratio of an image file?

Open it in the Image Dimensions Checker, which shows the width, height and simplified ratio together.

Is 1366 × 768 really 16:9?

Very nearly. Its exact ratio is 1.7786:1 against 1.7778:1 for 16:9, so it is treated as 16:9 in practice.

What is the decimal ratio useful for?

Comparing shapes quickly and setting the CSS aspect-ratio property, which accepts either form, such as 16 / 9 or 1.7778.

Can I calculate the width from a height?

The resize box works from a new width. For the other direction, multiply the new height by the original width and divide by the original height.

What aspect ratio is 1080 × 1080?

1:1, a square.

Are my images safe?

This tool runs entirely in your browser. Your image is never uploaded.

Is it free?

Yes. No account, no watermark and no limit on how many images you process. Files can be up to 25 MB.

Related tools

See all 8 utilities tools →