About this tool
Aspect Ratio Calculator reduces a width and height to their simplest ratio and then lets you scale that shape to a new size. Enter the original width and height (1920 by 1080 is pre-filled) and the ratio box shows 16 : 9; click the box to copy it.
Below it, type either a new width to get the matching height or a new height to get the matching width. The scaled value is rounded to four decimal places, so 2560 wide gives 1440 high, while an awkward ratio may give a long decimal that you will need to round to whole pixels yourself. Decimal inputs are supported: the numbers are scaled up by a power of ten (up to six decimal places) and divided by their greatest common divisor, so 1.5 by 1 becomes 3 : 2.
Both width and height must be numbers greater than zero; otherwise the ratio box shows an invalid message and nothing is scaled. The tool works with any unit, because only the proportion matters. Useful for sizing video, images, embeds and CSS aspect-ratio values. It runs in your browser and nothing is uploaded.