Last verified · v1.0
Calculator · math
Ratio Of 3 Numbers Calculator
Simplify three numbers into their lowest ratio A:B:C using the Greatest Common Divisor method. Instant, accurate results.
Inputs
Greatest Common Divisor (Ratio Simplification Factor)
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
How the Ratio of 3 Numbers Calculator Works
A ratio of three numbers expresses the proportional relationship between three quantities, written as A:B:C. This calculator simplifies any three positive integers into their lowest whole-number ratio using the Greatest Common Divisor (GCD) method, guaranteeing a fully reduced result every time. Ratios are fundamental across mathematics, science, engineering, and everyday problem-solving because they describe proportional relationships independent of absolute scale.
Understanding Ratios and Simplification
Ratios represent relative magnitude, not absolute value. The ratios 2:3:5, 4:6:10, and 20:30:50 all express identical relationships — the second quantity is always 1.5 times the first, and the third is 2.5 times the first. Simplifying to the lowest terms (2:3:5) eliminates redundancy, making the relationship transparent and easier to work with. This is why recipes, construction specs, and chemical formulas all rely on simplified ratios: they communicate intent concisely while allowing flexible scaling to any desired absolute magnitude.
The Core Formula
Simplification follows a two-step process rooted in number theory:
Step 1 — Compute the GCD of all three numbers:
gcd(A, B, C) = gcd(gcd(A, B), C)
Step 2 — Divide each input by the GCD:
A:B:C = (A/g) : (B/g) : (C/g)
where g is the GCD found in Step 1. This cascaded approach, detailed in Chapter 6: Ratio and Proportion (Huntington UFSD Algebra Text), exploits the associative property of GCD: the largest common divisor of three numbers equals the GCD of any two combined with the third. No other divisor could work — using anything smaller than the GCD would leave the result with a shared common factor, meaning further reduction is still possible.
Variable Definitions
- A — First Number: The first quantity in the ratio. Must be a positive integer greater than zero.
- B — Second Number: The second quantity. Must be a positive integer greater than zero.
- C — Third Number: The third quantity. Must be a positive integer greater than zero.
- g — GCD: The largest integer that divides A, B, and C without a remainder. Dividing each input by g produces the fully simplified ratio.
Worked Example — Concrete Mix Design
A civil engineer specifies a concrete batch using 400 kg cement, 800 kg sand, and 1,200 kg gravel.
- Compute gcd(400, 800): both are divisible by 400, so gcd = 400.
- Compute gcd(400, 1200): gcd = 400.
- Divide: 400/400 = 1, 800/400 = 2, 1200/400 = 3.
- Simplified ratio: 1:2:3 — the standard M15 residential concrete grade.
The compact ratio 1:2:3 is mathematically identical to 400:800:1,200 but scales effortlessly to any batch size. A contractor needing half the quantity simply halves each component while preserving the proportions.
Worked Example — Paint Color Formula
A designer mixes 12 mL red, 18 mL blue, and 24 mL white.
- gcd(12, 18) = 6.
- gcd(6, 24) = 6.
- Divide: 12/6 = 2, 18/6 = 3, 24/6 = 4.
- Simplified ratio: 2:3:4.
Once recorded as 2:3:4, the formula can be scaled to any volume — 200 mL, 2 liters, or 50 mL — by multiplying all parts by the same scaling factor.
Worked Example — Budget Allocation
A project manager allocates a $150,000 budget across salaries, equipment, and overhead at 90,000 : 45,000 : 15,000.
- gcd(90000, 45000) = 45000.
- gcd(45000, 15000) = 15000.
- Divide: 90000/15000 = 6, 45000/15000 = 3, 15000/15000 = 1.
- Simplified ratio: 6:3:1.
This 6:3:1 breakdown reveals that salaries consume 60% of the budget, equipment 30%, and overhead just 10% — a clarity that large absolute numbers obscured.
Real-World Applications
Finance
Analysts express asset:liability:equity structures as three-part ratios. A balance sheet showing $450,000 : $270,000 : $180,000 simplifies to 5:3:2, instantly communicating capital structure without unwieldy figures. Investors and auditors recognize such ratios at a glance.
Cooking and Recipe Scaling
A pastry chef combines 300 g flour, 150 g sugar, and 100 g butter. The GCD of 300, 150, and 100 is 50, giving a ratio of 6:3:2 — a portable formula for any serving count. Doubling the batch means 12:6:4; halving yields 3:1.5:1 (or scale back up if fractional grams are awkward).
Chemistry and Stoichiometry
Chemical formulas express atomic ratios of three or more elements. Simplifying raw molar counts into the smallest integer ratio, as required by Alaska Grade 6 Math Standards — Ratio and Rate Reasoning, is the same operation this calculator performs. For instance, hydrogen peroxide (H₂O₂) is a 2:2 ratio of hydrogen to oxygen, simplified to 1:1.
Algorithm Note
Internally, each GCD step uses the Euclidean algorithm, which runs in O(log min(A, B)) time. This makes the calculator efficient even for inputs in the millions, returning results in microseconds. The algorithm never requires factorization or trial division, which would be far slower for large numbers.
Reference