Ratio Calculator
Your input stays in your browser and is never sent.Solve for a missing value in a ratio, simplify ratios and split a total by a ratio. Handy for aspect ratios and recipe scaling.
- Enter
- See the result
Enter three numbers and leave the one you want empty
What is the ratio calculator?
The ratio calculator handles common ratio problems: "At 16:9, how tall is 1920 wide?", "What is 1920:1080 simplified?" or "How do I split 10,000 in a 2:3 ratio?"
SOKUFU's ratio calculator has three modes: find the missing value, simplify and split a total.
When splitting a total into whole numbers, leftovers are handed out so the total stays the same — ready for bill splitting and allocations.
No account or login. Free to use as often as you like.
How to use the ratio calculator
- Choose a modePick "Find the missing value", "Simplify" or "Split a total".
- Enter numbersTo find a missing value, fill in three of the four boxes. Write ratios like "2:3".
- See the answerThe answer appears as you type.
Features of SOKUFU's ratio calculator
- Any box can be solved
- Leave any of the four boxes in A:B=C:D empty to find it.
- Decimal ratios
- Ratios such as 0.5:1.5 are simplified to whole numbers.
- Three or more parts
- Ratios such as "1:2:3" work too.
- Totals stay exact
- When rounding to whole numbers, leftovers go to the largest remainders first so the total is kept.
- Runs in your browser
- Nothing you enter is ever sent to a server.
- Works on phones
- The layout adapts to your screen, so it works on phones and tablets too.
How ratios work
When A:B = C:D, the product of the outer terms equals the product of the inner terms (A×D = B×C). With one value missing, the other three give it.
To simplify a ratio, divide every term by the same number (the greatest common divisor). 1920:1080 divided by 120 is 16:9.
Related tools
- Percentage CalculatorFind percentages and percent change.
- Online CalculatorDo other calculations alongside ratios.
Ratio calculator FAQ
Can it calculate aspect ratios?
Yes. In "Find the missing value", enter 16 : 9 = 1920 : ? to get the height of 1080.
Can I use it to split a bill?
Yes. In "Split a total", enter the total and the ratio, and round to whole numbers so the parts add up exactly.
How do I separate the numbers in a ratio?
Use a colon (: or the full-width :).
Can a ratio contain 0?
Simplifying only accepts numbers greater than 0. When splitting a total, a part with a ratio of 0 gets 0.
Are the numbers I enter sent to a server?
No. Ratios are calculated in your browser, and the numbers you enter never leave your device.
Related tools
- Character CounterCount characters, lines, manuscript pages and bytes as you type. Your text never leaves your browser.
- Online CalculatorA calculator in your browser. Type a whole expression, and use memory keys and a calculation history.
- Time CalculatorAdd and subtract hours and minutes. Total your work hours, find the time between two clock times, or add time to a clock time.
- Percentage CalculatorWork out X% of a number, what percent one number is of another, percent change, percent increase and discounted prices.
- Age CalculatorCalculate your exact age from your date of birth, plus Japanese kazoe age, days since birth, days to your next birthday, the Japanese era and zodiac sign.
- Coming of Age Day CalculatorFind the date of your Coming of Age ceremony in Japan from your date of birth, with your 18th and 20th birthdays and a table by school year.
- Unit ConverterConvert length, area, volume, weight, temperature, speed, time, angle, data size and fuel economy into every unit at once.
- Area ConverterConvert square meters, ares, hectares, square feet, acres and Japanese units such as tsubo and tatami mats in one go.
- Time ConverterConvert milliseconds, seconds, minutes, hours, days, weeks, months and years in one go.
- Angle ConverterConvert degrees, radians, gradians, arcminutes, arcseconds and turns in one go.
- Length ConverterConvert millimeters, centimeters, meters, kilometers, inches, feet, yards, miles and Japanese units such as shaku and ken in one go.
- Volume ConverterConvert milliliters, liters, cubic meters, spoons, cups, gallons and Japanese units such as gō and shō in one go.
- Temperature ConverterConvert Celsius, Fahrenheit, Kelvin and Rankine in one go.
- Weight ConverterConvert milligrams, grams, kilograms, tonnes, carats, ounces, pounds, stones and Japanese units such as monme and kan in one go.
- Speed ConverterConvert km/h, m/s, mph, knots, feet per second and Mach in one go.
- Data Size ConverterConvert bits, bytes, KB, MB, GB, TB and KiB, MiB, GiB, TiB in both decimal and binary units.
- Fuel Economy ConverterConvert km/L, L/100 km and US and UK mpg in one go.
- Oku Unit ConverterConvert Japanese large-number units (man, oku, chō, kei) to and from thousand, million, billion and trillion.
- BMR CalculatorEstimate your basal metabolic rate in kcal per day from sex, age, height and weight. Compare the Japanese NIHN (Ganpule) equation with Mifflin-St Jeor, revised Harris-Benedict, Katch-McArdle and Japan's official reference values side by side.
- TDEE CalculatorEstimate your total daily energy expenditure (TDEE) from sex, age, height, weight and activity level, with calorie targets for cutting and bulking, your BMR and macro ranges.
- Compound Interest CalculatorSee how savings grow with compound interest. Enter a starting amount, a monthly contribution, an annual rate and a term to get the final balance and interest earned, with a year-by-year table, a chart, a simple-interest comparison and an after-tax figure.
- Hourly Wage CalculatorWork out a day's pay from your hourly wage and clock-in and clock-out times, with overtime and late-night premiums and shifts past midnight. Also converts an hourly wage to monthly and annual pay, and back.
- Gacha Probability CalculatorWork out your chances of pulling the character or item you want from a gacha, from the drop rate and number of pulls. Handles multiple copies and pity, and shows how many pulls you need for a 50%, 90% or 99% chance, the average number of pulls and a rough cost.
- Slope CalculatorEnter any two of run, rise, grade (%) and angle to get the rest, plus the slope length. See the grade as a percentage, per mille, 1:n ratio and degrees at once.
- Golf Olympic CalculatorScore and settle the golf side game Olympic (gold, silver, bronze, iron and diamond). Tap who won each medal on each hole and see totals and who pays whom right away.
- Split Bill CalculatorSplit a bill by the number of people and see what each person pays. Round each share up or down to ¥10, ¥100 or ¥500, let some people pay more by a fixed amount or a multiplier, and see the leftover or shortfall for whoever is collecting.