Alligation Calculator

Perform pharmaceutical compounding calculations, solution blending, and mixture dilutions. Solve for component mixing ratios using Alligation Alternate (Tic-Tac-Toe grid) or determine the final combined percentage strength using Alligation Medial across the United States, Canada, and the United Kingdom.

Link Copied!

Calculated Formulation Plan

0.00

Alligation Grid Representation & Volume Breakdown

*Visualizes the proportional component parts and volumetric division required for the preparation.

Formulation Proportions & Scale Table

Component Concentration Proportional Parts Formula Fraction Required Quantity

Comprehensive Guide to Alligation in Pharmaceutical and Chemical Calculations

In pharmaceutical compounding, chemical manufacturing, and clinical nursing mathematics, professionals regularly need to prepare mixtures of precise concentration from stock ingredients of differing strengths. When a required commercial concentration is unavailable on hospital shelves, compounding pharmacists turn to an arithmetic method known as Alligation.

Originating from the Latin alligare, meaning "to bind or tie together," alligation provides an intuitive algebraic shortcut for solving simultaneous equations involving weighted mixtures. Whether mixing high-strength alcohol solutions with purified water, blending hydrocortisone ointments of different potencies, or preparing hyperalimentation parenteral infusions in clinical settings across the United States, Canada, and the United Kingdom, mastering alligation is essential for patient safety and dosage accuracy.

The Two Core Alligation Methods: Alternate vs. Medial

Alligation is divided into two distinct computational procedures based on the starting information and objective:

1. Alligation Alternate (Finding Proportional Parts)

Alligation alternate is used when you know the concentrations of two or more starting components and must determine what proportion of each is needed to achieve an intermediate target concentration. It uses the familiar "Tic-Tac-Toe" or cross-grid layout:

Parts of Higher Component = |Desired Target Strength - Lower Strength|
Parts of Lower Component = |Higher Strength - Desired Target Strength|
Total Parts = Parts of Higher + Parts of Lower

Once total parts are established, each component's volume or mass is found by multiplying its fractional part by the overall target quantity. To confirm dilution ratios before compounding, you can also cross-reference steps using our Solution Dilution Calculator.

2. Alligation Medial (Finding Final Mixture Strength)

Alligation medial is applied in reverse: when given known quantities of two or more solutions of known strengths, it computes the resulting weighted average percentage strength of the combined mixture:

Total Active Substance = (Quantity 1 × Strength 1) + (Quantity 2 × Strength 2) + ...
Total Volume = Quantity 1 + Quantity 2 + ...
Final Strength (%) = Total Active Substance / Total Volume

When working with basic volumetric solutions where pure solvents are added to liquid solutes, practitioners often check their values against our Dilution Factor Calculator.

Step-by-Step Practical Example: Compounding Ethyl Alcohol

Suppose a hospital pharmacist receives a prescription for 500 mL of 35% (v/v) Ethyl Alcohol. The pharmacy stockroom only carries 70% Ethyl Alcohol and sterile water (0% alcohol). How much 70% alcohol and how much water must be blended?

  1. Set up the grid: Higher strength = 70%, Lower strength = 0%, Target = 35%.
  2. Subtract diagonally:
    • Parts of 70% alcohol = |35 - 0| = 35 parts.
    • Parts of water = |70 - 35| = 35 parts.
  3. Sum the parts: 35 parts + 35 parts = 70 total parts.
  4. Calculate volume for each component:
    • Volume of 70% Alcohol = (35 / 70) × 500 mL = 250 mL.
    • Volume of Water = (35 / 70) × 500 mL = 250 mL.

Mixing equal parts of 70% stock and pure diluent yields the target 35% solution. When standardizing molar solutions in analytical chemistry, consider validating your base formula with our Molarity Calculator.

Ointments, Creams, and Solid Reagent Compounding

Alligation applies equally to solid and semisolid mixtures measured by weight (w/w). For example, preparing an intermediate concentration of zinc oxide ointment by combining 20% ointment with pure petrolatum diluent (0% active zinc oxide) follows the identical alligation cross framework.

Similarly, if combining 100 g of 2% hydrocortisone cream with 200 g of 0.5% cream, Alligation Medial gives:

Active Hydrocortisone = (100 g × 2%) + (200 g × 0.5%) = 2 g + 1 g = 3 g
Total Weight = 100 g + 200 g = 300 g
Final Strength = (3 g / 300 g) × 100 = 1.00%

For broader chemical proportions, compounding technicians can also verify dry powder and solvent ratios using our Mixing Ratio Calculator or compute elemental ratios with our Mass Percent Calculator. If you need to express concentrations in terms of equivalent chemical reactivity rather than raw percentage, reference our Normality Calculator.

Common Pitfalls in Compounding Calculations

  • Inverting the Target Strength: The desired concentration must always fall strictly between the higher and lower stock strengths. If the desired strength is higher than all available stocks, alligation cannot be performed without adding pure active drug (100%).
  • Treating Pure Diluent as Non-Zero: Pure water, simple syrup, or white petrolatum contains 0% active drug. When using pure solvents, the lower strength is entered as 0%.
  • Ignoring Volume Contraction: Mixing concentrated alcohol with water causes molecular contraction due to hydrogen bonding. For precise preparation, add the calculated volume of alcohol first, then bring to the final volume graduation with water in a volumetric flask.

Frequently Asked Questions (FAQ)

1. What is the difference between Alligation Alternate and Alligation Medial?

Alligation alternate finds the proportional parts and volumes needed from two stock components to produce a desired intermediate concentration. Alligation medial calculates the resulting average concentration when known amounts of different solutions are mixed together.

2. Can I use Alligation when diluting with pure water?

Yes. When diluting an active stock with pure water or pure base ointment, set the lower component strength to 0%.

3. What if I am using pure active drug substance?

If adding pure active pharmaceutical powder or pure chemical solute to strengthen a solution, enter its concentration as 100%.

4. Why does Alligation Alternate rely on diagonal subtraction?

Diagonal subtraction is a simplified algebraic visual method for solving a system of two linear equations: a conservation of total mass equation and a conservation of active solute equation.

5. Can Alligation be used for more than two stock strengths?

Yes. Multiple components can be linked in pairs—each higher component paired with a lower component relative to the target—though multiple valid mathematical solutions exist for three or more ingredients.

6. Does Alligation work for weight-to-weight (w/w) preparations?

Yes. Alligation is mathematically identical whether operating in volumetric units (mL, L) for liquids or mass units (grams, kg) for solid powders, creams, and ointments.

7. What should I do if my target strength is higher than both stock solutions?

It is physically impossible to mix two weaker solutions to create a stronger one. You must incorporate a stock that is more concentrated than the target, or add pure solute (100%).

8. Can alligation be used to adjust proof or alcoholic strength?

Yes. Beverage distillers and pharmaceutical compounders routinely use alligation to dilute high-proof spirits down to target bottling or extraction proofs.

9. Is alligation accurate for solutions with large density differences?

When solutions differ substantially in density or exhibit excess volume of mixing (such as water-ethanol mixtures), calculations should be performed using weight (w/w) or adjusted via specific gravity tables.

10. How does Alligation compare to the C1V1 = C2V2 dilution formula?

The standard C1V1 = C2V2 formula is a special single-component case of alligation where the diluent strength is 0%. Alligation alternate handles cases where both mixing components contain active drug.