Alligation Calculator
Find the exact ratio and amounts of two concentrations needed to make a target mixture.
About the alligation calculator
Alligation examples
These examples use the same difference method for laboratory, pharmacy, and food mixtures.
| Inputs | Result | Use |
|---|---|---|
| 5 and 20 to make 12; total 1,000 mL | 8 : 7; 533.33 mL and 466.67 mL | Alcohol solution blend |
| 0.9 and 10 to make 3; total 500 mL | 7 : 2.1; 384.62 mL and 115.38 mL | Saline preparation |
| 10 and 50 to make 30; total 2 L | 20 : 20; 1 L and 1 L | Sugar solution blend |
| 1 and 5 to make 2.5; total 200 g | 2.5 : 1.5; 125 g and 75 g | Cream compounding |
How to use the alligation calculator
- Enter the lower concentration and the higher concentration using the same concentration unit.
- Enter a target concentration that falls strictly between the two source concentrations.
- Optionally enter the total volume or mass of the finished mixture.
- Select Calculate mixture to see the ratio and, when a total is provided, both required amounts.
Alligation calculator FAQ
What is the alligation formula?
The lower-to-higher ratio is (high concentration minus target) : (target minus low concentration). These cross-differences weight each source so their combined concentration equals the target.
Why must the target be between the source concentrations?
A blend is a weighted average of its ingredients, so it cannot be weaker than both sources or stronger than both sources. Use a different source concentration when the desired value is outside the available range.
Can I use units other than percent?
Yes, provided every concentration uses the same unit and basis. The total amount may be any suitable mass or volume unit because the calculated portions retain that unit.
Is alligation the same as dilution?
Dilution is a special mixing case in which one source often has zero concentration. Alligation is broader because both starting materials may contain the solute at nonzero strengths.
Does the calculator account for volume contraction?
No, it assumes the entered amounts are additive and that concentration behaves as a linear weighted average. For mixtures with significant contraction, expansion, or density changes, use a validated physical model or final-volume adjustment.