Alligation Calculator
Updated
Enter the higher strength, the lower strength and the strength you need. The calculator gives the parts of each, the ratio and the amount of each to measure, then shows every step in the same tic-tac-toe format the PTCE expects you to work by hand. It also works the other way round, finding the strength of a mix you already made, and it accepts percents, mg/mL or ratio strengths such as 1:1000. To learn the method itself, read the Alligation: Pharmacy Math Method and Formula guide.
Answer
100 mL of 10% + 200 mL of 2.5%
Makes 300 mL of 5%. Ratio 1 : 2 (higher : lower).
- Step 1. Grid it: 10% top-left, 2.5% bottom-left, 5% in the center.
- Step 2. Parts of 10% (high) = desired - low = 5 - 2.5 = 2.5 parts.
- Step 3. Parts of 2.5% (low) = high - desired = 10 - 5 = 5 parts.
- Step 4. Total parts = 2.5 + 5 = 7.5 parts. One part = 300 mL ÷ 7.5 = 40 mL.
- Step 5. 10% needed = 2.5 × 40 = 100 mL. 2.5% needed = 5 × 40 = 200 mL. Check: 100 + 200 = 300 mL.
- Strength check. (10 × 100 + 2.5 × 200) ÷ 300 = 5%, which matches the desired 5%.
For exam practice and learning only, not for clinical use. Always have a pharmacist check any real compounding calculation.
How the alligation calculator works
It uses alligation alternate. The parts of each product are the differences taken across the grid: the higher strength gets the gap between the desired and the lower strength, and the lower strength gets the gap between the higher and the desired strength. Adding the parts and dividing your quantity by the total gives the size of one part, and each product's amount is its parts times that size.
parts of high = desired - low
parts of low = high - desired
The product nearer the desired strength always gets more parts. The strength check under each answer mixes the drug back in: the active from both products divided by the total has to equal the desired strength.
Example: a 10% and a 2.5% to make 300 mL of 5%
With 10, 2.5 and 5 entered and 300 mL as the final quantity, the 10% gets 5 - 2.5 = 2.5 parts and the 2.5% gets 10 - 5 = 5 parts. That is 7.5 parts in all, so one part is 300 ÷ 7.5 = 40 mL. Measure 2.5 × 40 = 100 mL of the 10% and 5 × 40 = 200 mL of the 2.5%. This is the same problem worked by hand on the alligation guide, so you can check the calculator against it.
Finding the strength of a mix (alligation medial)
Switch to "Find the strength of a mix" when you already know how much of each product went in. The answer is a weighted average: multiply each strength by its quantity, add the results, and divide by the total quantity. Mixing 200 mL of 10% with 300 mL of 5% gives 20 g + 15 g = 35 g of drug in 500 mL, which is 7%. You can add a third product if the problem has one.
Ratio strengths and mg/mL
Choose the unit your problem uses. In mg/mL mode the method is unchanged, because alligation only needs the three strengths in the same unit. In ratio mode, type 1:100 or 1:1000 and the calculator converts each to a percent before it builds the grid. For example, mixing 1:100 and 1:1000 to make 1:500 means 1%, 0.1% and 0.2%, so the parts are 0.1 and 0.8, a ratio of 1 : 8.
When not to use it
- The desired strength is outside the two strengths you have. No mix of the two can reach it.
- You are diluting one product with water and know the volumes. C1 × V1 = C2 × V2 is quicker, though this calculator gives the same answer with 0 as the lower strength.
- The strengths are in different units, such as one in % and one in mg/mL. Convert them to the same unit first (1% w/v is 10 mg/mL).
Every result has a "Copy link to this problem" button, so you can send a worked problem to a classmate or save it to check later.
Frequently asked questions
What does an alligation calculator do?
It finds how much of a stronger product and a weaker product to mix to reach a strength in between. You enter the higher strength, the lower strength and the desired strength, and it returns the parts of each, the ratio and, if you give a quantity, the amount of each to measure.
Does the desired strength have to be between the two strengths?
Yes. Alligation only works when the desired strength is more than the lower strength and less than the higher strength. You cannot mix two products to reach a strength stronger than the strongest one or weaker than the weakest one, so the calculator stops and says so.
Can I use water as one of the strengths?
Yes. Purified water or any inactive diluent counts as 0%, so enter 0 as the lower strength. That is how you dilute a concentrate down to a target strength, and the answer matches the C1 × V1 = C2 × V2 dilution equation.
What if I know the amount of one product, not the final quantity?
Choose "Amount of higher strength" or "Amount of lower strength" and enter what you have. The calculator divides that amount by the parts of that product to find the size of one part, then scales the other product and the total from it.
Can I use ratio strengths like 1:1000?
Yes. Choose "Ratio strength (1:x)" and type the strengths as 1:100, 1:1000 and so on. The calculator converts each one to a percent first (1:1000 is 1 g in 1000 mL, or 0.1%), which is the same first step you would take by hand.
How do I find the strength of a mix I already made?
Choose "Find the strength of a mix" and enter each product's strength and quantity. This is alligation medial: the calculator multiplies each strength by its quantity, adds the results and divides by the total quantity.
Is alligation the same as dilution?
No, but they are related. Dilution adds a diluent with no drug in it to one product. Alligation mixes two products that both contain drug. When one of the two is water at 0%, both methods give the same answer.
Practice alligation without the calculator
On the exam you work alligation by hand, so use the calculator to check your answers, not to replace the method. Work the problems on the PTCB math practice test, then check any you missed here.
The rest of the pharmacy math series
The other pages in the series use the same method, so once one clicks the others read faster. The full set sits on the pharmacy math guide.
- Days Supply: how long a dispensed quantity lasts, including the drops, insulin and inhaler cases that trip people up.
- Pharmacy Conversion Chart: metric, household to metric, temperature, and the Roman numerals that still appear on prescriptions.
- Alligation: Pharmacy Math Method and Formula: the tic-tac-toe method and alligation medial, built on ratio and proportion, percentage strength and the C1 x V1 = C2 x V2 dilution equation.
- Reconstitution Calculator: the concentration, the diluent to add or the powder volume of a reconstituted vial, plus the mL to draw for a dose.
- Clinical Dosing Calculations: IV Flow Rates, Weight-Based Dosing and BSA: flow rate in mL/hr and drip rate in gtt/min, mg/kg per dose against per day, and Mosteller BSA with mg/m2 dosing.
PTCB Quiz Prep is an independent study resource, not affiliated with PTCB. This calculator is for exam practice and learning, not for clinical use.
