Aspect ratio calculator
Turn a width and height into the simplest ratio like 16:9, or find the other side from a ratio and one side, in your browser.
The simplest ratio divides both sides by their greatest common divisor. The other side is the known side times the ratio, with the result shown to at most 2 decimal places.
The numbers you enter stay in this browser and are not uploaded.
Numbers you enter never leave this device.
How to use it
- 1
Enter a width and height
Type the width and height in whole numbers from 1 to 100,000, such as 1920 and 1080.
- 2
Read the simplest ratio
Both numbers are divided by their greatest common divisor, so 1920 by 1080 becomes 16:9. The decimal ratio shows the width divided by the height, such as 1.78:1.
- 3
Pick a common ratio
Use the buttons for 16:9, 4:3, 1:1, 21:9 or 9:16, or type your own ratio. Decimals like 2.39 are fine.
- 4
Find the other side
Choose whether you know the width or the height and type its length. The other side is shown to at most 2 decimal places.