Aspect Ratio Calculator
How do I calculate aspect ratio?
Result
How it is calculated
The tool keeps the proportion between width and height and solves for the missing side: h₂ = w₂ × h₁ / w₁. Enter the original width w₁ and height h₁, plus the new width w₂, in any one unit such as pixels. It also shows the simplified ratio by dividing both original sides by their greatest common divisor. When w₁ or h₁ is a decimal, it shows the ratio as w₁/h₁ : 1 to two decimals instead. All three values must be greater than zero. The new height is not rounded to a whole number beyond two decimals, so for images you need to round to whole pixels yourself.
Worked example
An image of 1920 × 1080 is to be resized to a width of 1280. The new height is 1280 × 1080 / 1920 = 720.00. The greatest common divisor of 1920 and 1080 is 120, so the ratio is 1920/120 : 1080/120 = 16:9.
Common mistakes
- Entering the new width in a different unit than the original, such as inches against pixels.
- Typing the new height in the width field: the tool solves only for height.
- Rounding the ratio, so that 1.78:1 is treated as an exact 16:9 when it is only close.
- Forgetting to round the calculated height to a whole pixel, which can leave a one pixel stretch.
- Swapping width and height of the original, which turns a landscape ratio into portrait.
About this calculator
This tool keeps a width-to-height ratio fixed while solving for a missing dimension — enter a known width and height plus a new width, and it returns the matching height that preserves the same proportions, along with the ratio in its simplest form (like 16:9 or 4:3).
It is a staple for video editors and YouTubers resizing footage without distortion, designers cropping images or laying out responsive layouts, and anyone printing or resizing a photo who needs to know what height goes with a given width so nothing gets stretched or squashed.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
- NATO Phonetic Alphabet Converter
No calculators found
Comments (1)
When picking a target width, look for one that gives a whole-number height so you avoid fractional pixels. Resizing 1920 by 1080 to 1280 gives a clean 720, while a width of 1000 gives 562.50. Many video encoders also prefer even dimensions, so check the height is even as well. Which formats or platforms are you resizing for?