Ratio Calculator
Simplify a whole-number ratio, scale it to a new first value, or divide a total in proportion to two parts. Choose the tab that matches your question. Labels and share rows keep the two sides in order, so a 2:3 split stays attached to the right quantities.
Loading the calculator. It runs in your browser, so JavaScript needs to be on.
How to use the Ratio Calculator
- Enter Ratio part A and Ratio part B. Use nonnegative values with at least one positive part.
- Choose Simplify for whole-number parts, Scale a ratio and enter New first part C, or Split a total and enter Total to split.
- Read the simplified ratio, matching second part, or first share. In split mode the second share and total appear underneath.
The formula
Simplified A:B = (A/g):(B/g), where g is their GCD. To solve A:B = C:D, D = B × C/A. To divide total T, first share = T × A/(A + B) and second share = T - first share.
Worked example
The ratio 12:18 simplifies to 2:3. Splitting a total of 100 in the ratio 2:3 gives a first share of 40 and a second share of 60. Scaling 2:3 until the first part becomes 8 gives a matching second part of 12.
A ratio compares parts, not a part with the total
In a 2:3 mixture there are five total parts. The first ingredient is 2/5, or 40%, of the finished mixture, not 2/3 of it. The second is 3/5, or 60%. Use Split a total when the total quantity is known, rather than treating either ratio part as the whole.
Keep quantities in the same order
If A is paint and B is water, a 2:3 ratio means two parts paint to three parts water. Reversing it gives a different mixture. Scaling multiplies both parts by the same factor, so 2:3, 4:6 and 8:12 describe the same proportions. Check units too: two pounds compared with three ounces needs conversion before simplification.
Zeros, decimals and rounded shares
A zero part can represent receiving none of a total, but both parts cannot be zero. Scaling requires a positive first part because it is the denominator. Simplify uses whole numbers for exact reduction; Scale and Split accept decimal parts. Results are displayed to ten significant digits, so round money or indivisible items using a separate allocation rule when necessary.
Ratio Calculator questions
How do I simplify a ratio?
Divide both whole-number parts by their greatest common divisor. For 12:18, divide both by 6 to get 2:3.
How do I split 100 in a ratio of 2 to 3?
Add the parts to get 5, then assign 2/5 of 100 to the first share and 3/5 to the second. The shares are 40 and 60.
Can a ratio contain decimals?
Yes. Use decimal parts in Scale or Split. For exact Simplify mode, multiply both decimal parts by the same power of ten first, such as 1.5:2 becoming 15:20.
Related calculators
- Fraction CalculatorEnter two fractions to add, subtract, multiply or divide. Get the reduced fraction, mixed...
- Percentage CalculatorEnter a percent, part, whole or pair of values to find percentages and percent change....
- GCD & LCM CalculatorEnter whole numbers to find their greatest common divisor and least common multiple....
- Grade CalculatorEnter grades and weights for a weighted average, or set a target to find the final exam...