Home/Calculators/Ratio calculator
Ratio calculator: solve A : B = C : D or simplify a ratio
You are staring at a set of proportional figures on a job sheet and need to find the missing value or reduce a ratio to its simplest form before you can move on with the work. Ratio calculator. Nothing was tested for this page; the numbers come from the formula shown below and the inputs you enter.
You choose which of A, B, C or D is missing and enter the other three positive values, and the calculator finds the missing one. It can also reduce a ratio to lowest terms and show each share of the total in percent.
The automatic calculation needs JavaScript. With scripting off, the fields above do nothing and the result area stays empty. The formula is written out below, so you can do the same arithmetic on paper.
Ratio calculator: what to enter
- Write the proportion in the form A : B = C : D.
- Choose Solve and pick which of A, B, C or D is missing.
- Enter the three values you already know.
- To reduce a ratio instead, choose Simplify and enter the two parts of the ratio.
Ratio calculator formula, written out
- equal ratios: A / B = C / D, so A x D = B x C
- missing A = B x C / D; missing B = A x D / C; missing C = A x D / B; missing D = B x C / A
- lowest terms: scale both numbers by a power of 10 until both are whole, then divide by their greatest common divisor
- share of the total for A = A / (A + B) x 100
Ratio calculator worked example
With the inputs already in the form (what do you want to do? Find the missing value in A : B = C : D, which value is missing? (solve only) d, a 2, b 3, c (solve only) 10) the result is: result: the missing value, or a : b in lowest terms: 15; a : b in lowest terms: 2:3; scale factor from a to c: 5; a : b with b as 1: 0.666667 : 1.
- The two ratios are equal, so A / B = C / D and the cross products match: A x D = B x C
- D = B x C / A = 3 x 10 / 2 = 15
- A:B reduced = 2:3
- Scale factor from A to C = C / A = 5
What the ratio calculator assumes
- All values entered must be greater than zero.
- Solve mode uses cross multiplication to find the fourth value.
- Simplify mode keeps decimals of up to eight places; if they cannot be made whole that way, it rounds to four places.
- The calculator does not convert between units.
Ratio calculator questions people ask
How does the calculator find the missing value?
In Solve mode you choose which of A, B, C or D is missing and enter the other three positive values. It then uses cross multiplication on A : B = C : D and returns the fourth value.
What else does Solve mode show?
It shows A:B in lowest terms and the scale factor from A to C. That lets you see how the two sides of the proportion relate.
What does Simplify mode do?
It reduces A : B to lowest terms, keeping decimals of up to eight places, or rounding to four places if they cannot be made whole that way. It also shows A:B with B as one and each share of the total in percent.
Are there values the calculator will not accept?
Yes, every value must be greater than zero. Zero and negative numbers are not accepted in either mode.
This calculator belongs to the everyday math calculators. To price the whole job, not just this part, use the job costing calculator and the pricing guide below.
How this site makes money. Affiliate links on this site are marked before you click them, and a commission will never change a price, a test result or a ranking. Details in the affiliate disclosure.