e.g. 16.
e.g. 9.
Output will appear here
Click in the output to select all text
e.g. 16.
e.g. 9.
Output will appear here
Click in the output to select all text
Crop images to any region or fixed aspect ratio with a draggable crop box and instant preview.
Resize images to exact pixel dimensions or by percentage, with aspect-ratio lock and PNG/JPEG/WebP export.
Calculate image DPI (dots per inch) from pixel dimensions and print size, or find the pixel dimensions needed for a target DPI.
This Aspect Ratio Calculator solves the missing dimension in a width/height pair given a target ratio like 16:9 or 4:3 — enter a known width to find the matching height, or a known height to find the matching width. It also works in reverse: enter any width and height and it simplifies them into their reduced ratio (e.g. 1920×1080 simplifies to 16:9). It's useful for sizing video, image, or print dimensions to a standard ratio, or figuring out what ratio an arbitrary set of dimensions actually is. This is a general-purpose numeric ratio tool — for cropping an actual image file to a target ratio, see the site's Image Aspect Ratio & Crop Calculator instead. Everything runs locally in your browser. Scroll down to choose a mode and enter your numbers.
Choose "Height from width + ratio", enter 1920 as width and 16:9 as the ratio — the result is 1080, the standard Full HD height.
The calculator finds the greatest common divisor (GCD) of the width and height and divides both by it — for example, 1920×1080 divides down to 16:9.
This tool works with numbers only (solving ratios and dimensions); the Image Aspect Ratio & Crop Calculator works with an actual image to calculate crop boundaries and offsets.
Yes, enter the ratio as any two positive numbers — they don't need to be whole numbers, though whole-number ratios like 16:9 are more common for video.
No, this only calculates numbers; use an image or video editing tool to actually resize a file to the calculated dimensions.