Ratio Simplifier
Reduce two whole-number quantities to their smallest ratio.
Your numbers
First reduced term
Use consistent units. The result follows the assumptions you enter.
Scenario comparison
Up to three snapshots in this tab. Loading one replaces the current inputs.
Formula
Use a:b = (a/g):(b/g), where g = gcd(a,b) is the greatest common divisor of the entered nonnegative integers. The quantities cannot both be zero.
Reduce two whole-number quantities to their smallest ratio.
Worked example
- First quantity
- 12
- Second quantity
- 18
- First reduced term
- 2
- Second reduced term
- 3
Scope and limitations
Use consistent units. The result follows the assumptions you enter.
Inputs are checked for missing values and allowed ranges. A result outside the finite numeric range is not displayed. Rounding affects display, while the calculation uses the model’s numeric precision.
Check your units and assumptions before relying on a result. Changing a label does not convert a currency or physical unit.
Formula version: ce27d82c9055 · Example checked: