Alligation Calculator

Find the ratio of a low and high concentration to mix into a target concentration, using the classic alligation rule - optionally convert to actual volumes.

➗ Alligation Calculator
Mixing Ratio (C1 : C2)
—
Parts of C1
—
Parts of C2
—
Volume of C1
—
Volume of C2
—

➗ What is Alligation?

Alligation (also called the alligation alternate method) is a classic mixture rule for finding the exact ratio in which two solutions of different concentrations must be combined to produce a solution at a desired target concentration. It answers a question that comes up constantly in pharmacy, chemistry, and everyday mixing problems: "I have a weak solution and a strong solution, how much of each do I mix to get something in between?"

The rule uses a simple cross-multiplication pattern: parts of C1 : parts of C2 = (C2 − Ct) : (Ct − C1). Each source concentration's required proportion pairs with the "opposite" distance, C1's parts come from the distance between C2 and the target, and C2's parts come from the distance between the target and C1.

This calculator computes that ratio directly, automatically simplifying it to lowest whole-number terms when possible, and can optionally convert the ratio into actual volumes if you specify a total desired volume. The result is exact, not approximate, for any linear concentration measure (mass percent, molarity, alcohol proof, and similar measures all mix linearly across the typical ranges used in practice).

Alligation is taught extensively in pharmacy compounding courses (diluting or strengthening a stock preparation to a prescribed strength) and general chemistry (blending stock solutions), and the same underlying math applies to any two-value mixture-to-target problem, from blending fuel grades to averaging commodity prices.

📐 Formula

Parts of C1 : Parts of C2  =  (C2 − Ct) : (Ct − C1)
C1 = low source concentration
C2 = high source concentration
Ct = target concentration, must satisfy C1 < Ct < C2
Volume of C1 = Total volume × parts(C1) / (parts(C1) + parts(C2))
Volume of C2 = Total volume × parts(C2) / (parts(C1) + parts(C2))

📖 How to Use This Calculator

Steps

1
Enter the two source concentrations - enter C1, the lower concentration, and C2, the higher concentration.
2
Enter the target concentration - enter Ct, the desired final concentration, which must be strictly between C1 and C2.
3
Optionally enter a total volume - enter a desired total volume to also see the actual volumes of C1 and C2 needed, or leave it blank for just the ratio.
4
Click Calculate to see the mixing ratio, the substituted formula, and the lever diagram.

💡 Example Calculations

Example 1 — Blending to a 500 mL target volume

C1 = 10%, C2 = 50%, Ct = 25%, total volume = 500 mL.

1
Parts of C1 : Parts of C2 = (50 − 25) : (25 − 10) = 25 : 15 = 5 : 3
2
Volume of C1 = 500 × 25 / 40 = 312.50 mL. Volume of C2 = 500 × 15 / 40 = 187.50 mL
Mix 312.5 mL of the 10% solution with 187.5 mL of the 50% solution to get 500 mL at 25%.
Try this example →

Example 2 — Ratio only, no volume

C1 = 20%, C2 = 90%, Ct = 60%, no total volume specified.

1
Parts of C1 : Parts of C2 = (90 − 60) : (60 − 20) = 30 : 40
2
Simplified ratio = 3 : 4
Mix the 20% and 90% solutions in a 3:4 ratio (by volume) to reach 60%.
Try this example →

Example 3 — Blending from a pure source (C1 = 0)

C1 = 0%, C2 = 100%, Ct = 35%, no total volume specified.

1
Parts of C1 : Parts of C2 = (100 − 35) : (35 − 0) = 65 : 35
2
Simplified ratio = 13 : 7
Diluting a 100% (pure) stock with plain diluent (0%) in a 13:7 ratio gives a 35% mixture.
Try this example →

Example 4 — Alcohol proof blending to 1 litre

C1 = 40%, C2 = 95%, Ct = 70%, total volume = 1000 mL.

1
Parts of C1 : Parts of C2 = (95 − 70) : (70 − 40) = 25 : 30 = 5 : 6
2
Volume of C1 = 1000 × 25 / 55 = 454.55 mL. Volume of C2 = 1000 × 30 / 55 = 545.45 mL
Mix about 454.55 mL of 40% spirit with 545.45 mL of 95% spirit to get 1 litre at 70%.
Try this example →

❓ Frequently Asked Questions

What is the alligation rule?+
The alligation rule (also called the alligation alternate method) is a shortcut for finding the ratio in which two solutions of different concentrations must be mixed to produce a solution of a desired intermediate concentration. It states: parts of C1 : parts of C2 = (C2 - Ct) : (Ct - C1), where C1 and C2 are the two source concentrations and Ct is the target concentration.
Why does the alligation rule use "crossed" differences?+
The rule works because each source's required proportion is inversely related to how far it is from the target: a source further from Ct needs to contribute less, and a source closer to Ct needs to contribute more, but the algebra works out so that the amount of C1 pairs with the distance (C2 - Ct) and the amount of C2 pairs with the distance (Ct - C1), the "crossed" pairing that gives the method its name.
What happens if Ct is not between C1 and C2?+
No mixture of C1 and C2 alone can produce a target concentration outside the range [C1, C2], since mixing two concentrations can only ever produce something between them (or equal to one of them). This calculator shows an error if Ct is not strictly between C1 and C2.
How do I convert the alligation ratio into actual volumes?+
Once you have the ratio (parts of C1) : (parts of C2), divide your desired total volume proportionally: Volume of C1 = Total x parts(C1) / (parts(C1) + parts(C2)), and Volume of C2 = Total x parts(C2) / (parts(C1) + parts(C2)). This calculator does this automatically when you enter a total volume.
Can alligation be used for things other than chemical solutions?+
Yes. Alligation is a general mixture-ratio technique used anywhere two known values must be blended to hit a target average: mixing two grades of alloy, blending two grain prices to hit a target average price, or combining two milk-fat percentages to hit a target fat content. Anywhere a linear mixture average applies, the same ratio formula works.
What is the difference between alligation and a simple average?+
A simple average assumes equal parts of each component. Alligation instead finds the specific unequal ratio needed to hit a target that is not exactly halfway between C1 and C2, weighting each component's contribution by how close the target is to the other component.
Why does the calculator require C2 to be greater than C1?+
By convention this calculator treats C1 as the lower concentration and C2 as the higher one, which keeps both computed parts positive and the formula unambiguous. If your two known concentrations are in the opposite order, simply swap which one you enter as C1 and which as C2.
What does it mean if the ratio simplifies to a whole number like 5:3?+
It means the concentrations and target were chosen (or happen to work out) so that the parts needed reduce to a simple whole-number ratio, for example, 5 parts of the low concentration for every 3 parts of the high concentration. This calculator automatically reduces ratios like this to lowest terms when both parts are whole numbers.
How accurate is the alligation method?+
It is exact, not an approximation, as long as the concentration measure being mixed behaves linearly under mixing (mass percent, molarity, and similar measures generally do, for typical dilute-to-moderate concentration ranges). It is the standard method taught in pharmacy and chemistry courses for solving concentration-blending problems by hand.
Can I use alligation with more than two source concentrations?+
The basic alligation alternate method as implemented here handles exactly two source concentrations blending to one target. Problems with three or more source concentrations require an extended alligation method or a system of equations, which is a more advanced technique beyond this calculator's scope.

What is the alligation rule?

The alligation rule (also called the alligation alternate method) is a shortcut for finding the ratio in which two solutions of different concentrations must be mixed to produce a solution of a desired intermediate concentration. It states: parts of C1 : parts of C2 = (C2 - Ct) : (Ct - C1), where C1 and C2 are the two source concentrations and Ct is the target concentration.

Why does the alligation rule use 'crossed' differences?

The rule works because each source's required proportion is inversely related to how far it is from the target: a source further from Ct needs to contribute less, and a source closer to Ct needs to contribute more, but the algebra works out so that the amount of C1 pairs with the distance (C2 - Ct) and the amount of C2 pairs with the distance (Ct - C1), the 'crossed' pairing that gives the method its name.

What happens if Ct is not between C1 and C2?

No mixture of C1 and C2 alone can produce a target concentration outside the range [C1, C2], since mixing two concentrations can only ever produce something between them (or equal to one of them). This calculator shows an error if Ct is not strictly between C1 and C2.

How do I convert the alligation ratio into actual volumes?

Once you have the ratio (parts of C1) : (parts of C2), divide your desired total volume proportionally: Volume of C1 = Total x parts(C1) / (parts(C1) + parts(C2)), and Volume of C2 = Total x parts(C2) / (parts(C1) + parts(C2)). This calculator does this automatically when you enter a total volume.

Can alligation be used for things other than chemical solutions?

Yes. Alligation is a general mixture-ratio technique used anywhere two known values must be blended to hit a target average: mixing two grades of alloy, blending two grain prices to hit a target average price, or combining two milk-fat percentages to hit a target fat content. Anywhere a linear mixture average applies, the same ratio formula works.

What is the difference between alligation and a simple average?

A simple average assumes equal parts of each component. Alligation instead finds the specific unequal ratio needed to hit a target that is not exactly halfway between C1 and C2, weighting each component's contribution by how close the target is to the other component.

Why does the calculator require C2 to be greater than C1?

By convention this calculator treats C1 as the lower concentration and C2 as the higher one, which keeps both computed parts positive and the formula unambiguous. If your two known concentrations are in the opposite order, simply swap which one you enter as C1 and which as C2.

What does it mean if the ratio simplifies to a whole number like 5:3?

It means the concentrations and target were chosen (or happen to work out) so that the parts needed reduce to a simple whole-number ratio, for example, 5 parts of the low concentration for every 3 parts of the high concentration. This calculator automatically reduces ratios like this to lowest terms when both parts are whole numbers.

How accurate is the alligation method?

It is exact, not an approximation, as long as the concentration measure being mixed behaves linearly under mixing (mass percent, molarity, and similar measures generally do, for typical dilute-to-moderate concentration ranges). It is the standard method taught in pharmacy and chemistry courses for solving concentration-blending problems by hand.

Can I use alligation with more than two source concentrations?

The basic alligation alternate method as implemented here handles exactly two source concentrations blending to one target. Problems with three or more source concentrations require an extended alligation method or a system of equations, which is a more advanced technique beyond this calculator's scope.