Aspect ratio calculator
How it adds up
| Item | Height | Whole pixels? |
|---|---|---|
| 640 wide | 360 | Yes |
| 1,024 wide | 576 | Yes |
| 1,080 wide | 607.5 | No |
| 1,280 wide | 720 | Yes |
| 1,920 wide | 1,080 | Yes |
| 2,560 wide | 1,440 | Yes |
| 3,840 wide | 2,160 | Yes |
Scaling to a new width keeps the shape. Changing to a different ratio means cropping or adding space, never stretching. Image generators usually offer a fixed set of ratios or sizes; pick the one nearest the shape you need and crop afterwards.
Worked out from the numbers you enter. Calculated in this browser; nothing you enter is sent anywhere or stored.
How to use it · free, no signup
How to use the Aspect Ratio Calculator
Enter a width and a height to see the aspect ratio, the nearest common ratio, and the height that keeps the shape at a new width, with common sizes. Calculated in your browser.
01
Enter the size
The width and height in pixels.
02
Read the ratio
The exact ratio and the nearest common one.
03
Resize
Enter a new width to get the matching height.
Reducing a size to a ratio
An aspect ratio is the shape of an image or screen: its width compared with its height. To find it, divide both by their greatest common divisor. For 1920 × 1080 that is 120, leaving 16:9. The same shape at any size has the same ratio, which is why 1280 × 720 and 3840 × 2160 are also 16:9.
| Ratio | Shape | Common uses |
|---|---|---|
| 1:1 | Square | Profile pictures, many feed posts |
| 4:5 | Slightly tall | Portrait feed posts |
| 3:2 | Landscape | Photographs from many cameras |
| 4:3 | Landscape | Older screens, many tablets |
| 16:9 | Wide | Video, televisions, most monitors |
| 9:16 | Tall | Full-screen vertical video and stories |
Resizing without distortion
To keep the shape at a new width, multiply the new width by the original height and divide by the original width. In the example, 1920 × 1080 at a width of 1,280 is 720 high. The calculator also scales the image to common widths and marks the heights that are not whole pixels: at a width of 1,080, a 16:9 image is 607.5 high, and rounding it changes the shape very slightly.
Sizes that are almost a ratio
Some common sizes do not reduce neatly. A 1366 × 768 screen reduces to 683:384, which is within a tenth of a percent of 16:9. For practical purposes it is 16:9, and the calculator shows both: the exact ratio and the nearest common one.
Ratios for AI images
Image generators usually offer a fixed set of ratios or sizes. Choose the one nearest the shape you need and crop afterwards, rather than stretching. The ratio also changes the composition: a tall frame suits a standing figure, a wide one a landscape. The AI image prompt generator includes the ratio in its output, and the context window calculator is the equivalent check for how much text a model can take at once.
Published by Koit Academy. Who runs it, how it is paid and how its tools are checked.
Questions
What people ask about the Aspect Ratio Calculator
How do I work out an aspect ratio?
How do I resize an image and keep its aspect ratio?
Why is my ratio a strange pair of numbers?
What ratio should I use for social media?
Can I change an image to a different ratio without distortion?
Related tools
AI Image Prompt Generator
A detailed image prompt from its parts
Open itAI Prompt Generator
One clear prompt from its parts
Open itArticle Schema Generator
Article and BlogPosting markup with checked dates
Open itImage Alt Text Checker
Every image’s alt text, and what is missing
Open itWebsite Bandwidth Calculator
The monthly data transfer a website needs
Open itVideo Schema Generator
VideoObject JSON-LD with key moments
Open it