Calculator and Converter

Aspect ratio resize calculator

Enter the original width and height of an image or video and choose to set a new width, a new height or a scale in percent, and this tool gives the new size that keeps the same shape.

pixels
pixels
pixels
pixels
%

Results

Enter your values to see the result.

About this tool

It shows the simplified aspect ratio, the size before rounding and the megapixels of the new size. A table lists matching sizes, which helps when resizing pictures, screens and embedded videos.

How it is calculated
ratio = width ÷ height; keeping the ratio, new height = new width × original height ÷ original width (and the other way round); a percentage scales both sides; the simplified ratio divides both sides by their greatest common divisor. Sizes are rounded to whole pixels.
Worked example
With Original width: 1,920 pixels; Original height: 1,080 pixels; Keep the ratio and set: the new width; New width: 1,280 pixels, the result is: New width: 1,280 pixels; New height: 720 pixels; New width before rounding: 1,280; New height before rounding: 720; Aspect ratio: 16:9; Width divided by height: 1.78; Megapixels of the new size: 0.9216.
Good to know
The ratio is width divided by height. Keeping it, the new height is the new width times the original height divided by the original width, and the other way round. Sizes are rounded to whole pixels, so the shape can differ very slightly from the original.

Frequently asked questions

How do I resize without stretching?

Keep the ratio the same by changing only one side and letting the other follow. Enter the new width or height here and read the matching side from the result.

What is the aspect ratio of 1920 by 1080?

It is 16:9, which is the shape of most modern screens and videos. The tool divides both sides by their greatest common divisor to show the simplest form.

Why does the size before rounding differ?

Pixels must be whole numbers. The tool shows the exact value as well, so you can see how much rounding changed the shape.

Related calculators