Ratio Calculator
Simplify or scale a ratio, split a total, join two ratios, or solve a missing term in a proportion.
Calculations run on your device. Nothing is uploaded.
How to use this calculator
Choose Simplify, Split, Join or Solve, enter the parts, then press Calculate. The answer comes with the working, and the two-part tasks also draw a bar.
How the calculation works
Equivalent ratios keep the same relationship between two quantities, so either ratio can be rescaled into the other without changing what it describes. Each mode below applies that idea to a different question.
Simplify and resize
Divide both parts by their greatest common factor to reach the smallest whole-number ratio. Decimal parts are scaled to whole numbers first (1.5 : 2.5 becomes 15 : 25, then 3 : 5); a pair that cannot be made whole within sixteen decimal places is shown exactly as typed, labelled "Ratio as entered", instead of being rounded. To resize, divide the new first part by the original first part to get the scale factor, then multiply the second part by it.
Split a total
Add the simplified parts to get the number of parts, divide the total by that number to find the value of one part, then multiply by each part. 60 in 2 : 3 is 5 parts, 60 ÷ 5 = 12, so the shares are 24 and 36.
Join two ratios
The middle quantity must be the same in both ratios. If the middles differ, scale each ratio until they match: 2 : 3 and 4 : 5 have middles 3 and 4, so scale the first by 4 and the second by 3 to get 8 : 12 and 12 : 15, then write the shared middle once: 8 : 12 : 15.
Solve a proportion
Cross-multiply a × d = b × c. If d is the blank then d = b × c ÷ a; if a is blank then a = b × c ÷ d; if b is blank then b = a × d ÷ c; if c is blank then c = a × d ÷ b. Only one box may be blank and all known terms must be above zero; the answer is rounded when the division does not come out exactly.
Worked examples
1. Simplify and resize
A recipe uses flour and sugar in a 12:18 ratio. Enter 12, 18, and a new first part of 8. Divide the original parts by 6 to get 2:3; the scale factor from the original ratio is 8 ÷ 12 = 2/3, so the second part becomes 12.
2. Join two ratios
Choose Join and enter 2 : 3 and 4 : 5. The middles differ, so scale the first ratio by 4 to get 8 : 12 and the second by 3 to get 12 : 15. Write the shared middle once: 8 : 12 : 15.
3. Solve a proportion
Choose Solve and enter 2, 3, 4, and leave d blank. Cross-multiply: 2 × d = 3 × 4 = 12. Divide by 2: d = 6, so 2 : 3 = 4 : 6.
Frequently asked questions
How do I simplify a decimal ratio?
Just enter the decimals: 1.5 : 2.5 is scaled to 15 : 25 and reduced to 3 : 5 automatically. This works for parts with up to sixteen decimal places; a pair that never becomes whole numbers is shown exactly as typed and labelled "Ratio as entered".
Can I type a ratio like 12:18?
Yes. Type 12:18 or 12/18 into the first box and press Calculate; the two parts fill in and the ratio is simplified.
How do I split a total in a ratio?
Choose Split, enter the ratio parts and the amount. For 50 in 2:3, add the parts to get 5, divide 50 ÷ 5 = 10, then multiply: 20 and 30. Every ratio part and the total must be above zero, and the shares always add back to the total unless the answer is rounded.
How do I join two ratios?
Choose Join and enter the ratios as a : b and b : c, such as 2 : 3 and 3 : 5. When the middle numbers match, that number is written once and the outer numbers join around it, giving 2 : 3 : 5. When they differ, both ratios are scaled to a common middle first: 2 : 3 and 4 : 5 become 8 : 12 and 12 : 15, then 8 : 12 : 15. The joined ratio is reduced when all three parts share a factor.
How do I solve a missing term in a proportion?
Choose Solve, enter a : b = c : d with exactly one box blank. Cross-multiply: a × d = b × c. Divide the known product by the term paired with the blank. In 2 : 3 = 4 : ?, 2 × ? = 3 × 4 = 12, so ? = 12 ÷ 2 = 6. All known terms must be above zero.
Keep learning with related tools
Ratios connect to percentages and unit conversions, but each answers a different question. Use the related calculators for those tasks and read the ratios lesson for sharing and proportion problems. Related tools: Percentage Calculator, Unit Converter. Read the Ratios & Proportions lesson or practice ratios & proportions to build confidence without relying on a calculator.