Aspect ratio calculator

Find an image’s aspect ratio and work out the height for a new width.

Graphics Stateless

Enter width and height from 1 to 100,000 pixels. A new width is optional. The matching height is rounded to the nearest pixel, with a minimum of one pixel.

Quick guide

Try an example

You enter

Width (px)
1920
Height (px)
1080
New width (px, optional)
1280

You get

Aspect ratio (width:height)
16:9
Height at the new width (px)
720
How it works & limits

Enter width and height from 1 to 100,000 pixels. A new width is optional. The matching height is rounded to the nearest pixel, with a minimum of one pixel.

Related tool

Length converter