terican

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.

FreeInstantNo signupOpen source

Inputs

Greatest Common Divisor (Ratio Simplification Factor)

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Greatest Common Divisor (Ratio Simplification Factor)

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.

  1. Compute gcd(400, 800): both are divisible by 400, so gcd = 400.
  2. Compute gcd(400, 1200): gcd = 400.
  3. Divide: 400/400 = 1, 800/400 = 2, 1200/400 = 3.
  4. 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.

  1. gcd(12, 18) = 6.
  2. gcd(6, 24) = 6.
  3. Divide: 12/6 = 2, 18/6 = 3, 24/6 = 4.
  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.

  1. gcd(90000, 45000) = 45000.
  2. gcd(45000, 15000) = 15000.
  3. Divide: 90000/15000 = 6, 45000/15000 = 3, 15000/15000 = 1.
  4. 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

Frequently asked questions

What is a ratio of 3 numbers and how is it written?
A ratio of 3 numbers describes how three quantities compare to one another proportionally, written as A:B:C. For example, 2:3:5 means that for every 2 units of the first quantity there are 3 of the second and 5 of the third. Ratios are dimensionless, so 4:6:10 and 2:3:5 represent exactly the same relationship and one can be scaled into the other by multiplying or dividing all parts by the same factor.
How do you simplify a ratio of 3 numbers to its lowest terms?
To simplify a 3-number ratio, first find the Greatest Common Divisor (GCD) of all three values using the formula gcd(A, B, C) = gcd(gcd(A, B), C), then divide each number by that GCD. For example, to simplify 24:36:60, compute gcd(24, 36) = 12, then gcd(12, 60) = 12. Dividing each part by 12 gives the fully reduced ratio 2:3:5, which uses the smallest possible whole numbers.
What is the GCD and why is it the key to simplifying ratios?
The Greatest Common Divisor (GCD) is the largest positive integer that divides two or more numbers without leaving a remainder. It is the correct divisor for ratio simplification because dividing all parts by the GCD guarantees the result cannot be reduced further. For 18:24:30, the GCD is 6, producing 3:4:5. Using any divisor smaller than the GCD — such as 2 or 3 — would yield a ratio that still shares a common factor and therefore is not fully simplified.
Can this calculator handle decimal or fractional inputs?
The GCD-based simplification method requires whole-number inputs. If the values are decimals — for instance 1.5 : 2.25 : 3.75 — multiply all three by a suitable power of 10 to convert them to integers: 150 : 225 : 375. Then apply the GCD method: gcd(150, 225, 375) = 75, giving the simplified ratio 2:3:5. Always convert to integers before using the calculator to ensure an accurate, meaningful result.
What are the most common real-world applications of a 3-number ratio?
Three-number ratios appear across many fields. In construction, the standard M15 concrete mix is 1:2:3 (cement : sand : gravel). In finance, balance-sheet analysis uses asset : liability : equity ratios to summarize capital structure. In cooking, three-ingredient dough and sauce formulas rely on ratios for reliable scaling. In chemistry, stoichiometric coefficients express atomic ratios of three or more elements. In each case a simplified ratio reduces cognitive load and simplifies scaling calculations.
What happens if one of the three input numbers is zero?
A valid ratio requires all three parts to be positive non-zero integers, because a zero part means that quantity does not exist in the relationship, reducing a three-part ratio to a two-part one. For instance, 5:0:3 has no meaningful third-part comparison. Computationally, zero also causes problems because gcd(n, 0) = n by convention, which can mask errors. Most implementations — including this calculator — reject zero inputs and prompt the user to enter positive integers only.