Alligation Calculator: Mix Solutions Accurately


Alligation Calculator

Easily determine the correct ratio and volumes for mixing two solutions of different strengths to achieve a desired final concentration.



The percentage strength (%) of the more concentrated solution.



The percentage strength (%) of the less concentrated solution. Use 0 for a pure diluent.



The target percentage strength (%) of the final mixture.



The total amount of the final mixture you want to prepare.


What is an Alligation Calculator?

An alligation calculator is a specialized tool used to solve problems involving the mixing of two or more ingredients of different strengths to obtain a mixture with a desired, intermediate strength. This method, known as alligation, is extremely common in fields like pharmacy and chemistry, where precise concentrations are critical. The term “alligation” refers to the process of linking or binding together these different components. The alligation calculator simplifies this by providing the exact ratio and quantities needed, removing the potential for human error in manual calculations. It is particularly useful when you need to dilute a high-concentration stock solution or fortify a low-concentration one to meet a specific target.

The Alligation Formula and Explanation

Alligation is more of a visual method than a single formula, often represented with a tic-tac-toe style grid. However, the mathematical principles behind it are straightforward. Our alligation calculator uses the following logic:

  1. Determine the “parts” of each component. The number of “parts” for each solution is found by subtracting the concentrations diagonally.
    • Parts of Higher Strength (C₁) = Desired Strength (C₃) – Lower Strength (C₂)
    • Parts of Lower Strength (C₂) = Higher Strength (C₁) – Desired Strength (C₃)
  2. Calculate the total parts. This is the sum of the parts calculated above. Total Parts = Parts of C₁ + Parts of C₂.
  3. Determine the required volume/weight of each component. The final amounts are calculated by using the ratio of parts against the desired total volume.
    • Amount of C₁ = (Parts of C₁ / Total Parts) × Desired Final Volume
    • Amount of C₂ = (Parts of C₂ / Total Parts) × Desired Final Volume

Variables Table

Variables used in alligation calculations.
Variable Meaning Unit (Auto-Inferred) Typical Range
C₁ Higher Concentration Percentage (%) 0 – 100
C₂ Lower Concentration Percentage (%) 0 – 100
C₃ Desired Final Concentration Percentage (%) Must be between C₁ and C₂
V₃ Desired Final Volume/Weight mL, L, g, oz, etc. Any positive number

For more detailed mathematical explorations, a guide on compounding formulas can be very helpful.

Practical Examples

Example 1: Diluting Alcohol Solution

A pharmacist needs to prepare 500 mL of a 50% alcohol solution. They have 95% alcohol and a diluent (0% alcohol) in stock.

  • Inputs: C₁ = 95%, C₂ = 0%, C₃ = 50%, V₃ = 500 mL
  • Calculation:
    • Parts of 95% = 50 – 0 = 50
    • Parts of 0% = 95 – 50 = 45
    • Total Parts = 50 + 45 = 95
  • Results:
    • Amount of 95% Alcohol = (50 / 95) × 500 mL ≈ 263.16 mL
    • Amount of Diluent (0%) = (45 / 95) × 500 mL ≈ 236.84 mL

Example 2: Compounding an Ointment

A pharmacy technician must create 120 g of a 2.5% hydrocortisone ointment. They have a 10% ointment and a 1% ointment available.

  • Inputs: C₁ = 10%, C₂ = 1%, C₃ = 2.5%, V₃ = 120 g
  • Calculation:
    • Parts of 10% = 2.5 – 1 = 1.5
    • Parts of 1% = 10 – 2.5 = 7.5
    • Total Parts = 1.5 + 7.5 = 9
  • Results:
    • Amount of 10% Ointment = (1.5 / 9) × 120 g = 20 g
    • Amount of 1% Ointment = (7.5 / 9) × 120 g = 100 g

This process is conceptually similar to what a solution dilution calculator does, but is specifically structured for mixing two active stocks.

How to Use This Alligation Calculator

Using this tool is simple and intuitive. Follow these steps to get an accurate result in seconds:

  1. Enter Higher Concentration (C₁): Input the percentage strength of your more concentrated solution.
  2. Enter Lower Concentration (C₂): Input the percentage strength of your less concentrated solution. If you are using a pure diluent (like sterile water or petrolatum base), enter 0.
  3. Enter Desired Final Concentration (C₃): Input the target percentage strength you want to achieve. This value must lie between the higher and lower concentrations.
  4. Enter Desired Final Volume/Weight: Specify the total amount of the final mixture you need.
  5. Select Units: Choose the appropriate unit (e.g., mL, g, L) from the dropdown menu. This ensures the output is correctly labeled.

The alligation calculator will update in real time, showing you the exact amounts of each component to mix. The results section will display the primary result, intermediate part-to-part ratios, and a visual chart.

Key Factors That Affect Alligation Calculations

  • Accuracy of Concentrations: The calculation is only as accurate as your input values. Ensure the stock concentrations are correctly stated.
  • Correct Unit Selection: Mixing units (e.g., grams and mL) without accounting for density will lead to errors. Use consistent units for all inputs.
  • Desired Concentration Range: The target concentration must be between the higher and lower stock concentrations. It’s impossible to create a 50% solution by mixing 20% and 40% solutions.
  • Volume vs. Weight: For liquids, volume (mL, L) is common. For semi-solids like ointments, weight (g, mg) is standard. Using the correct measure is crucial. Check out our molarity calculator for weight-to-volume concentration calculations.
  • Purity of Components: When using a “pure” substance (100% strength) or a “diluent” (0% strength), these values must be exact.
  • Measurement Precision: The final accuracy depends on how precisely you can measure the calculated amounts. Use calibrated equipment for best results.

Frequently Asked Questions (FAQ)

1. What is alligation?
Alligation is a mathematical method used to solve problems of mixing solutions or compounds of different strengths to achieve a desired intermediate strength.
2. Can I mix more than two solutions with this alligation calculator?
This specific calculator is designed for alligation alternate, which involves two starting components. Mixing more than two requires a more complex weighted average calculation, a process known as alligation medial.
3. What happens if I enter a desired concentration outside the range of my stock solutions?
The calculator will show an error. The laws of physics and chemistry make it impossible to achieve a concentration that is higher than your strongest stock or lower than your weakest one simply by mixing them.
4. What should I enter for the lower concentration if I am using pure water?
If you are mixing a substance with a pure diluent that contains none of the active ingredients (like purified water, simple syrup, or petrolatum), you should enter ‘0’ for the lower concentration.
5. Are the units important in an alligation calculator?
Yes. While the ratio calculation itself is unitless (parts-to-parts), the final volume/weight calculation depends entirely on the unit you specify. Ensure you use a consistent unit system (e.g., all metric or all imperial).
6. What’s the difference between alligation alternate and alligation medial?
Alligation alternate (which this calculator performs) finds the required amounts of two components to make a third. Alligation medial finds the final concentration resulting from mixing known quantities of several components.
7. Is this the same as a simple dilution?
It is a form of dilution, but more specific. A simple dilution usually involves one stock solution and a diluent (0% concentration). An alligation calculator is designed for mixing two different non-zero concentrations. For simple dilutions, a solution dilution calculator may be more direct.
8. Can I use this for solid mixtures?
Yes, absolutely. The math is the same whether you are mixing liquids or powders. Just ensure you use units of weight (like grams or milligrams) instead of volume.

Related Tools and Internal Resources

For pharmacists, lab technicians, and students, having a suite of precise calculation tools is essential. Below are some related resources that complement our alligation calculator.

© 2026 Your Website. All Rights Reserved. For educational purposes only.



Leave a Reply

Your email address will not be published. Required fields are marked *