A ratio calculator solves proportion problems: if a:b = c:d, and three values are known, find the fourth.
What is a ratio calculator?
A ratio calculator solves proportions written as A : B = C : D when three values are known. It finds the missing fourth term using cross-multiplication: D = (B × C) / A. You also see how A and B split the bar visually. Use it to scale recipes, map distances, or any problem where two ratios must stay equal.
How to use the Ratio Calculator
- Enter A and B for the first ratio pair.
- Enter C for the matching left side of the second ratio.
- Read D computed on the right side automatically.
- Check the bar chart for the A : B split.
- Tap a sample card to load a recipe or map example.
About this calculator
A ratio calculator solves proportion problems: if a:b = c:d, and three values are known, find the fourth. Ratios and proportions show up in everyday situations: scaling recipes, converting units, map reading, and keeping a consistent relationship between values.
Cross-multiplication is the underlying method: a/b = c/d means a × d = b × c, so d = b × c / a.
How the math works
- : The known ratio
- : The known value in the new proportion
- : The unknown value to solve for
Ratio example: 3 kg costs ₹150, find cost of 7 kg
If 3 kg of rice costs ₹150, what does 7 kg cost at the same rate? Set A : B = C : D as 3 : 150 = 7 : D. Cross-multiply: 3 × D = 150 × 7, so D = 1050 ÷ 3 = ₹350.
Enter A = 3, B = 150, C = 7. D should show 350.000. The unit rate is 150 ÷ 3 = ₹50 per kg, and 50 × 7 = 350 confirms the proportion. Map problems work the same way: if 1 cm represents 50,000 cm real distance, 3 cm on the map matches C = 3 with A = 1 and B = 50,000, giving D = 150,000 cm real length.
Unit rate problems are the same math with one side fixed at 1, which this proportion view solves once you identify A, B, and C. Map scale 1 cm to 50000 cm real distance: if 3 cm on paper, set A 1, B 50000, C 3 to get D 150000 cm, or 1.5 km after unit conversion. The visual bar shows how A and B split the first ratio pair as percentages of the whole. Values A, B, and C entered on the page should return the D value derived here by cross-multiplication.
Common uses
- Scale a recipe from 4 servings to 10 servings
- Calculate real-world distances from a map with a known scale
- Convert units using known conversion ratios
- Solve proportion word problems from school or work
Frequently asked questions
How do you solve a ratio proportion?
Cross-multiply: If a/b = c/d, then d = (b × c) / a. For example, if 3 kg costs ₹150, how much does 7 kg cost? 3/150 = 7/x. x = (150 × 7) / 3 = 1050 / 3 = ₹350.
How do I solve 2 : 5 = 8 : x with a ratio calculator?
Cross-multiply: 2 × x = 5 × 8 = 40, so x = 20. Enter A = 2, B = 5, C = 8. The missing D reads 20.000 on the screen.
What if A is zero in a proportion?
Division by zero is undefined, so the tool cannot solve for D when A = 0. Rewrite the problem so the known ratio has a non-zero first term, or express the rate another way.
Is ratio the same as fraction?
A ratio compares two quantities with a colon, like 3 : 4. A fraction is one number divided by another. You can turn a : b into the fraction a/b when both parts share the same units.
Related calculators
- Math Calculator
- Percentage Calculator
- Fraction Calculator
- Exponent Calculator
- Logarithm Calculator
- Nth Root Calculator
- Pythagorean Theorem
- Slope Calculator
Maintained by J Jaya Prakash · Last updated: October 2026