Alligation: How to Mix Two Strengths
Quick answer: Alligation finds how much of two strengths to mix to reach a target strength. Parts of the stronger stock = target − weaker; parts of the weaker stock = stronger − target. Example: 20% and 5% to make 10%: 5 parts of 20% and 10 parts of 5%. For 150 g: 50 g of 20% and 100 g of 5%.
Practice alligation now (free sample)
0 correct in a row
Free sample problem
Loading a problem…
Show the worked solution
Want every problem type, timed exams and mistake drills? Open the practice app.
Educational practice only. Not dispensing guidance.
Is alligation still tested?
It depends on your exam. PTCB's job-analysis update says nonsterile compounding content, including the mention of alligations, is removed from the PTCE content outline used from January 2026. NHA's ExCPT test plan, based on its 2023 job analysis, still lists alligation as a knowledge statement in the Calculations subdomain. Many pharmacy technician programs also still teach it, because the same reasoning appears in on-the-job compounding when mixing two stock strengths.
That is why Pharm Calc Drills keeps alligation as an optional unit, switched off by default. Students preparing for the ExCPT or a school exam can switch it on in the practice app's Settings.
The alligation grid
The classic method is a tic-tac-toe style grid (sometimes called alligation alternate):
| Stock | Target | Parts |
|---|---|---|
| High: 20% | 10% | 10 − 5 = 5 parts of 20% |
| Low: 5% | 20 − 10 = 10 parts of 5% |
- Put the higher strength top left and the lower strength bottom left. Put the target strength in the middle.
- Subtract along the diagonals, always larger minus smaller. The number you get across from each stock is that stock's parts: the high stock gets (target − low), the low stock gets (high − target).
- Add the parts to get the total parts (it always equals high − low).
- Amount of each stock = (its parts ÷ total parts) × total quantity wanted.
- Check: (high% × high amount + low% × low amount) ÷ total = target%.
In the example, total parts = 5 + 10 = 15. For 150 g of 10% cream: 20% cream = 5/15 × 150 = 50 g, and 5% cream = 10/15 × 150 = 100 g. Check: (20 × 50 + 5 × 100) ÷ 150 = 1,500 ÷ 150 = 10%.
Why the parts look "backwards"
The amount of each stock comes from the other stock's distance to the target. The target (10%) is closer to the weaker stock (5%) than to the stronger one (20%), so you need more of the weaker one. Mixing 1:1 would only work if the target were exactly halfway between the two strengths. If you find yourself using equal amounts for a target that isn't the midpoint, the setup is wrong.
Using a base or diluent (0%)
When one ingredient contains no drug, such as white petrolatum, a cream base or purified water, its strength is 0%. Put 0 in the low position and the grid works unchanged. These problems can also be solved with C1V1 = C2V2, because adding a 0% base is just a dilution: see dilution calculations.
Units and measurability
Use the same type of percent for both stocks (both w/w for ointments and creams, both w/v or v/v for liquids) and keep the total in the unit you will measure: grams for semisolids on a balance, milliliters for liquids in a graduate. The practice problems use realistic package totals and only give answers you could actually weigh or measure (whole numbers or tenths).
For the rest of the calculations on the pharmacy technician exams, see the PTCE math overview.
Worked examples
These examples come from the practice app's alligation template (hydrocortisone cream, alcohol, zinc oxide ointment and dextrose). The numbers are generated at build time from the same code that marks your answers.
Example 1
Prepare 120 g of 2% hydrocortisone cream.
- On hand: hydrocortisone cream 2.5%, cream.
- On hand: hydrocortisone cream 0.5%, cream.
Using only these two stocks, how many g of 2.5% hydrocortisone cream are needed?
- Set up the grid: high 2.5%, low 0.5%, target 2% in the middle.
- Subtract diagonally: high-strength parts = target − low = 2 − 0.5 = 1.5; low-strength parts = high − target = 2.5 − 2 = 0.5.
- Total parts = 1.5 + 0.5 = 2.
- 2.5% hydrocortisone cream: 1.5/2 × 120 g = 90 g.
- Check: the other stock is 30 g; (2.5% × 90 + 0.5% × 30) ÷ 120 = 2%.
Answer: 90 g
Example 2
Prepare 280 mL of 60% alcohol (ethanol).
- On hand: alcohol (ethanol) 70%, solution.
- On hand: purified water 0% (no drug), base/diluent.
Using only these two stocks, how many mL of purified water (0%) are needed?
- Set up the grid: high 70%, low 0%, target 60% in the middle.
- Subtract diagonally: high-strength parts = target − low = 60 − 0 = 60; low-strength parts = high − target = 70 − 60 = 10.
- Total parts = 60 + 10 = 70.
- purified water (0%): 10/70 × 280 mL = 40 mL.
- Check: the other stock is 240 mL; (70% × 240 + 0% × 40) ÷ 280 = 60%.
Answer: 40 mL
Example 3
Prepare 60 g of 15% zinc oxide ointment.
- On hand: zinc oxide ointment 20%, ointment.
- On hand: white petrolatum 0% (no drug), base/diluent.
Using only these two stocks, how many g of 20% zinc oxide ointment are needed?
- Set up the grid: high 20%, low 0%, target 15% in the middle.
- Subtract diagonally: high-strength parts = target − low = 15 − 0 = 15; low-strength parts = high − target = 20 − 15 = 5.
- Total parts = 15 + 5 = 20.
- 20% zinc oxide ointment: 15/20 × 60 g = 45 g.
- Check: the other stock is 15 g; (20% × 45 + 0% × 15) ÷ 60 = 15%.
Answer: 45 g
Example 4
Prepare 250 mL of 25% dextrose injection.
- On hand: dextrose injection 70%, injection.
- On hand: dextrose injection 10%, injection.
Using only these two stocks, how many mL of 10% dextrose injection are needed?
- Set up the grid: high 70%, low 10%, target 25% in the middle.
- Subtract diagonally: high-strength parts = target − low = 25 − 10 = 15; low-strength parts = high − target = 70 − 25 = 45.
- Total parts = 15 + 45 = 60.
- 10% dextrose injection: 45/60 × 250 mL = 187.5 mL.
- Check: the other stock is 62.5 mL; (70% × 62.5 + 10% × 187.5) ÷ 250 = 25%.
Answer: 187.5 mL
Common mistakes (and the wrong answers they produce)
These are the mistakes the practice app recognizes. Each one is shown with the wrong answer it would give in the worked examples above, and the feedback you would see.
Wrong answer it gives: 30 g. The high-strength amount comes from (target − low), not (high − target). What happened: you used the other stock's parts and got 30 g, the amount of 0.5% hydrocortisone cream. Why it matters: the product would be the wrong strength. How: 90 g of 2.5% hydrocortisone cream.
Wrong answer it gives: 1.5 g. What happened: you stopped at 1.5 parts. Why it matters: parts are a ratio, not a quantity. How: 1.5/2 × 120 g = 90 g.
Wrong answer it gives: 60 g. What happened: you used equal amounts (60 g each). Why it matters: that only works when the target is exactly midway between the stocks. How: use the alligation parts: 90 g.
Frequently asked questions
What is alligation in pharmacy?
Alligation is a shortcut for working out how much of two different strengths to mix to make a strength in between. It gives the proportion (parts) of each stock; you then scale the parts to the total amount you need.
How do you do alligation step by step?
Draw a grid with the higher strength top left, the lower strength bottom left and the target in the middle. Subtract diagonally (larger minus smaller): target − low gives the parts of the high strength, and high − target gives the parts of the low strength. Divide each by the total parts and multiply by the total quantity.
Is alligation on the PTCE in 2026?
No. PTCB's job-analysis update says the PTCE content outline used from January 2026 removes nonsterile compounding content, including the mention of alligations in 4.2. Always check ptcb.org for the current outline.
Is alligation on the ExCPT?
Yes. NHA's ExCPT test plan (2023 job analysis) lists alligation (K.120) among the knowledge statements for the Calculations subdomain (4C).
What if one ingredient has no drug in it?
Use 0% for the plain base or diluent (for example, white petrolatum or purified water). The grid works the same way, and you can also solve these with C1V1 = C2V2.
Can the target strength be outside the two stock strengths?
No. Mixing can only give a strength between the two you start with. If the target is higher than the stronger stock, the product can't be made from those two ingredients.
How do I check an alligation answer?
Multiply each strength by its amount, add them, and divide by the total. The result should equal the target strength exactly.
References
- PTCB. PTCE job analysis study and 2026 content outline update, accessed 2026-11-17
- PTCB. PTCE Content Outline, effective January 6, 2026 (PDF), accessed 2026-11-17
- NHA. Test Plan for the ExCPT Exam, 2023 job analysis (PDF), accessed 2026-11-17
PTCB, PTCE and CPhT are trademarks of the Pharmacy Technician Certification Board; NHA and ExCPT are trademarks of the National Healthcareer Association. Not affiliated with or endorsed by either. Course conventions vary: use the rules your program teaches.
Educational practice only. Not dispensing guidance: always follow your pharmacy's policies, the pharmacist's direction and the product labeling.