Tinker Calc

Tools › Work & Study

Aspect Ratio Calculator: Resize Width and Height

Enter a width and height to get the simplified aspect ratio, such as 16:9. Then enter a new width or height to get the matching size that keeps the same proportions, so images and video aren't stretched.

px
Any unit works (pixels, inches, cm) as long as width and height use the same one
px
px
The new width or the new height, depending on your choice above
Simplified aspect ratio–
New width–
New height–
Ratio as a decimal (width ÷ height)–
Common format–
Orientation–

How to use the aspect ratio calculator

Type the original width and height of your image, video, screen or print. Pixels are typical, but inches, centimetres or any other unit work too, as long as width and height use the same unit. The calculator reduces the pair to its simplest ratio, such as 16:9 or 3:2. It also shows the ratio as a decimal and names the closest common format.

To resize, choose whether you know the new width or the new height, then enter that number. The calculator returns the other side so the proportions stay the same and nothing looks squashed or stretched.

The formula

The aspect ratio is width divided by height. To simplify it, the calculator finds the greatest common divisor (GCD) of the two numbers and divides both by it. For example, 1920 and 1080 share a GCD of 120, so the ratio is 16:9.

To resize, keep the ratio constant. The new height equals the new width × original height ÷ original width. The new width equals the new height × original width ÷ original height. Results are rounded to two decimal places. With pixels, round to a whole number, and the image may be off by up to half a pixel.

Worked example

You have a 1920 × 1080 video frame and want a 1280-pixel-wide version. The ratio is 1920 ÷ 120 = 16 by 1080 ÷ 120 = 9, giving 16:9. As a decimal that is 1.7778. The new height is 1280 × 1080 ÷ 1920 = 720, so the resized frame is 1280 × 720, which is standard 720p.

A 1366 × 768 laptop screen gives a less tidy result. It simplifies to 683:384, which is about 1.7786. That is very close to 16:9 but not exact, so the calculator reports "Closest to 16:9". Scaling it to 1920 wide gives a height of 1079.47 pixels.

Practical tips

Social media portrait posts are often 4:5, such as 1080 × 1350. Most TVs and monitors are 16:9, and many cameras shoot 3:2 or 4:3. If your target box has a different ratio from your image, you must either crop the image or add bars to the sides or top and bottom. You can't fill the box exactly without distortion.

Some video encoders need even pixel dimensions. If the result is 1079.47, round to 1080 and accept a tiny difference.

Frequently asked questions

What aspect ratio is 1920 × 1080?

1920 × 1080 is 16:9, the standard widescreen ratio used by Full HD TVs, monitors and most online video.

Is 4:3 the same as 16:12?

Yes. Ratios that simplify to the same numbers are identical in shape. 16:12 reduces to 4:3 when you divide both sides by 4.

How do I resize an image without stretching it?

Change only one side, then calculate the other with new height = new width × original height ÷ original width. Most editors do this when you lock the proportions.

Why does my ratio show odd numbers like 683:384?

Some resolutions don't reduce to a neat ratio. 1366 × 768 is marketed as 16:9 but is actually 683:384, about 1.7786 compared with 1.7778 for true 16:9.

Related tools

Final Grade Calculator: What Do I Need on My Final?Find the score you need on your final exam to reach your target course grade. Enter your current grade, the final's weight and your goal.Fraction Calculator: Add, Subtract, Multiply, DivideAdd, subtract, multiply or divide fractions and mixed numbers. Get the simplified fraction, mixed number and decimal, with every step shown.GPA Calculator: Letter Grades and Credit HoursFree GPA calculator. Enter each course's letter grade and credit hours to get your weighted grade point average on a 4.0 scale, with A+ as 4.0 or 4.3.Hourly to Salary CalculatorConvert an hourly wage to annual, monthly, biweekly, weekly and daily pay. Includes overtime, custom hours per week and weeks worked per year.Mean, Median, Mode and Range CalculatorPaste a list of numbers to get the mean, median, mode, range, sum, min, max and standard deviation (sample or population) instantly.Overtime Pay Calculator: Time and a Half and Double TimeCalculate overtime pay from your hourly rate and hours worked. Handles time and a half, double time and custom thresholds, and shows gross pay.