Aspect ratio calculator
Pick a ratio and type a width or height to get the other side, or enter any width and height to see its ratio in lowest terms, with the nearest common ratio.
Find the missing side
Change the width or the height and the other updates. Results are rounded to whole pixels.
Find the ratio of a size
16:9
Decimal 1.78:1
How to use the aspect ratio calculator tool
- 1
Choose a ratio
Tap a common ratio such as 16:9 or 4:5, or type your own.
- 2
Enter one side
Type a width or a height in pixels. The other side is calculated as you type.
- 3
Or check a size
Enter any width and height to see its ratio in lowest terms and the closest common ratio.
How it works
Height = width × ratio height ÷ ratio width, rounded to whole pixels. To find a ratio, the width and height are divided by their greatest common divisor, so 1920 × 1080 becomes 16:9.
Ratios with names that aren’t exact
Ultrawide “21:9” screens are really about 2.37:1 to 2.39:1. For a specific screen, enter its actual pixels in “Find the ratio of a size”.
Frequently asked questions
How do I calculate an aspect ratio?+
Divide the width and the height by their greatest common divisor. 1920 and 1080 share 120, so 1920 × 1080 is 16:9.
How do I find the height for a 16:9 width?+
Multiply the width by 9 and divide by 16. A 1280-pixel-wide 16:9 image is 720 pixels tall.
Why is my result a strange ratio like 683:384?+
Some sizes don’t reduce to a simple ratio. The calculator also shows the decimal value and the closest common ratio, which is usually what you need.
Is it free? Do I need an account?+
Yes, it’s free and there’s no signup, watermark or daily limit. An account is only needed if you want teammates or clients to comment on the file in edits.io.
Need feedback, not just a file?
Click anywhere on mockups, screenshots and artwork to leave precise comments. Clients comment with a link, no account needed.
See design feedback in edits.io