Color & design

Aspect ratio calculator

Find an image ratio and calculate a new height for a target width.

Make it yours

Processed in your browser

Your result

A little input. A useful result.

Adjust the example inputs, then select Calculate dimensions.

A LITTLE KNOW-HOW

About this tool

Reduce a width and height to their simplest aspect ratio, then scale them to a new width. The suggested height is rounded to the nearest whole pixel, with the unrounded height shown for precision.

How to use it

  1. 1

    Enter the original width and height in pixels.

  2. 2

    Enter the target width.

  3. 3

    Calculate the simplified ratio and matching target height.

Questions, answered

Why is the suggested height rounded?

Raster images use whole pixels. A calculated height such as 562.5 pixels is rounded to 563; the exact mathematical height is also included.

Does this resize the image file?

This tool calculates dimensions. Use the image resizer to create a resized file with the dimensions you choose.