Math / calculator
Ratio calculator
Simplify and scale a whole-number ratio or solve A:B = C:D for D. See exact terms and a decimal approximation for a missing value.
Calculator
Calculator
Simplify or solve a ratio.
Simplify A:B and multiply the simplified terms by a whole factor, or solve A:B = C:D for D. Whole non-negative inputs are used; denominators are positive.
Your result
Enter details to see the result.
Complete the inputs and calculate to see the main result and its supporting breakdown.
Example
Worked example
Example inputs
- Mode
- Simplify and scale
- A
- 12
- B
- 18
- Equivalent ratio multiplier
- 3
Calculation breakdown
Simplified ratio = (A/GCD):(B/GCD). Equivalent ratio multiplies the simplified terms by the chosen whole factor. Missing D = B × C ÷ A.
- Simplified ratio
- 2:3
Example result
Equivalent ratio
6:9
How to interpret the result
Simplified ratio = (A/GCD):(B/GCD). Equivalent ratio multiplies the simplified terms by the chosen whole factor. Missing D = B × C ÷ A. Negative and fractional input terms are outside this tool’s scope. The missing term may be fractional: an exact fraction and rounded decimal are shown.
How to use this calculator
- Choose simplify and scale, or solve for D.
- Enter whole terms; in solve mode A and C must be positive, and B is positive in both modes.
- Calculate the reduced and equivalent ratio or the exact and decimal missing D.
How it works
Formula
Simplified ratio = (A/GCD):(B/GCD). Equivalent ratio multiplies the simplified terms by the chosen whole factor. Missing D = B × C ÷ A.
How do I simplify a ratio or find a missing term?
Divide both ratio terms by their greatest common divisor to simplify them. For A:B = C:D, D = B × C ÷ A. Scale mode multiplies the simplified terms by a whole factor, so that factor applies to the reduced ratio rather than the original input pair.
What this calculator does
Choose simplification for A:B or solve A:B = C:D for D. Simplification reduces both terms by their greatest common divisor.
Who this is useful for
People comparing proportions, enlarging a mixture or solving a missing proportional term with consistent corresponding units.
Inputs you will need
Some inputs appear only for the operation or shape you select.
Required or selected inputs
- Mode
- A
- B
- Equivalent ratio multiplier
- C
What to check before using the result
A simplified ratio preserves proportions, not the original quantities. Scaling both terms keeps that relationship; changing only one does not. Keep corresponding units consistent before solving a missing term. A recipe ratio describes relative ingredient amounts, whereas scaling a whole recipe also needs the intended batch size.
Assumptions
- A is non-negative and B is positive. Solve mode requires positive A and C; terms are whole numbers up to 1 trillion.
Limitations
- Negative and fractional input terms are outside this tool’s scope. The missing term may be fractional: an exact fraction and rounded decimal are shown.
Useful next steps
Perform exact arithmetic on rational values with Fraction calculator.
Apply a serving ratio to ingredients with Recipe scaling calculator.
See how HandyChest handles units, validation, rounding, and testing, or Report a problem with this calculator.
Good to know
Frequently asked questions
Can the missing ratio term be fractional?
Yes. Solve mode returns an exact simplified fraction as well as a decimal estimate. Only the supplied terms must be whole numbers.
Keep going