What this ratio calculator does
A ratio compares quantities, written like 1:2 or 1:2:3. This tool works in four modes. Solve A:B = C:D finds a missing term in a two-part proportion. Solve A:B:C = D:E:F finds a missing term in a three-part proportion. Scale A:B and Scale A:B:C multiply or divide every term by a factor. In every mode the result is also simplified to lowest terms, and equivalence can be checked. This is pure mathematics, so it applies identically everywhere.
How to use it
Pick a mode from the "Solve:" dropdown. For the proportion modes, type the values you know and leave exactly one box blank to solve for it. If you fill all four (or all six) boxes, the calculator instead checks whether the two ratios are equivalent. For the scale modes, enter the ratio terms, choose Multiply or Divide, and enter the factor.
The formula explained
Two ratios are equal exactly when their cross products match: \(\text{A}:\text{B} = \text{C}:\text{D}\) means \(\text{A}\times\text{D} = \text{B}\times\text{C}\). Rearranging gives each missing term, for example \(\text{D} = (\text{B}\times\text{C})/\text{A}\). For three-term proportions, every corresponding pair shares one scale factor \(k\), found from a known pair (\(k = \text{D}/\text{A}\)), then applied to the missing term. Simplifying divides all terms by their greatest common divisor (GCD); decimals are first scaled to whole numbers.
$$\frac{\text{A}}{\text{B}} = \frac{\text{C}}{\text{D}} \quad\Longrightarrow\quad \text{A}\cdot\text{D} = \text{B}\cdot\text{C}$$
Worked example
Solve 1:2 = 4:? Enter A=1, B=2, C=4 and leave D blank. The calculator computes
$$\text{D} = (\text{B}\times\text{C})/\text{A} = (2\times 4)/1 = 8$$giving the completed proportion 1:2 = 4:8, which simplifies to 1:2 = 1:2. The cross products are \(1\times 8 = 8\) and \(2\times 4 = 8\), confirming equivalence.
More Ratio Examples
Example 1: Solve a three-part proportion (2:3:5 = 6:?:?)
The first terms are known on both sides (2 and 6), so they give the scale factor. Every other term is multiplied by the same factor.
- Find the factor: \(k = \dfrac{6}{2} = 3\).
- Multiply the second term: \(3 \times 3 = 9\).
- Multiply the third term: \(5 \times 3 = 15\).
Result: 2:3:5 = 6:9:15. Check: \(6 \div 3 = 2\), \(9 \div 3 = 3\), \(15 \div 3 = 5\), so the ratios match.
Example 2: Simplify a decimal ratio (0.75:1.5)
- Turn the decimals into integers. Both numbers have at most two decimal places, so multiply both by 100: \(0.75 \times 100 = 75\) and \(1.5 \times 100 = 150\). This gives 75:150.
- Find the greatest common divisor: \(\gcd(75, 150) = 75\), because \(150 = 2 \times 75\).
- Divide both terms by it: \(75 \div 75 = 1\) and \(150 \div 75 = 2\).
Result: 0.75:1.5 = 1:2.
Example 3: Scale down a ratio (12:18:30 ÷ 6)
- Divide each term by 6: \(12 \div 6 = 2\), \(18 \div 6 = 3\), \(30 \div 6 = 5\).
- Result: 2:3:5. Since \(\gcd(2, 3, 5) = 1\), this is already in lowest terms.
Example 4: Check equivalence with cross products (3:4 and 9:12)
Two ratios \(A:B\) and \(C:D\) are equivalent when \(A \cdot D = B \cdot C\).
- Compute \(3 \times 12 = 36\).
- Compute \(4 \times 9 = 36\).
- Both products are 36, so the ratios are equivalent. This matches the fact that 9:12 is 3:4 multiplied by 3.
FAQ
Can I express a ratio as a fraction? Yes — a two-term ratio A:B equals the fraction A/B. For example \(3:4 = 3/4 = 0.75 = 75\%\).
Can I use decimals or negatives? Yes. Decimal terms are scaled to integers before simplifying (0.5:1.5 becomes 1:3), and negative numbers are allowed.
What is a practical use? Concrete mixes such as cement:sand:gravel 1:2:3 can be scaled to a full batch, and recipes can be multiplied by the same factor for more servings.