Mixing Calculator Back
Fluid Engineering

Mixing Calculator — Mass, Volume & Molar Concentration

Real-time calculation for 2–3 component fluid mixing. Display mixed concentration, dilution factor, and required flow rate for a target concentration in wt%, mol%, or ppm units.

Settings
Number of Components
Concentration Unit
Stream 1
Mass Flow ṁ₁ (kg/h)
kg/h
Concentration C₁
J/kgK
Density ρ₁ (kg/m³)
kg/m³
Stream 2
Mass Flow ṁ₂ (kg/h)
kg/h
Concentration C₂
J/kgK
Density ρ₂ (kg/m³)
kg/m³
Target Concentration Ctarget
Results
Results
Mixed concentration Cmix
Total flow rate (kg/h)
Mixture density (kg/m³)
Dilution ratio
Required ṁ₂ to Reach Target Concentration (kg/h)
Conc
Flow Rate Profile
Theory & Key Formulas
Mass balance:
$C_{mix}= \dfrac{\dot{m}_1 C_1 + \dot{m}_2 C_2}{\dot{m}_1 + \dot{m}_2}$

Back-calculate (target):
$\dot{m}_{2,req}= \dfrac{\dot{m}_1(C_{target}-C_1)}{C_2-C_{target}}$

What is a Mixing Calculator?

🙋
What exactly is this tool calculating? I see mass flows and concentrations, but I'm not sure how they all fit together.
🎓
Basically, it's solving a classic chemical engineering problem: what happens when you blend two or three different fluid streams? The core idea is a mass balance. For instance, if you're mixing a strong acid with water in a plant, you need to know the final concentration. Try setting the "Number of Components" to 2 and entering values for ṁ₁ and C₁. The simulator instantly shows you the resulting mixture concentration.
🙋
Wait, really? So if I have a target concentration I need to hit, can I use this to figure out how much of a second fluid to add?
🎓
Exactly! That's the "back-calculation" or dilution problem. A common case is in a lab: you have a stock solution at C₁ and you need to dilute it to a weaker C_target using a diluent like water (where C₂ is often zero). The tool uses a rearranged mass balance to tell you the required ṁ₂. Change the "Concentration Unit" to ppm and try it—enter a target, and see how the required flow of the second component changes.
🙋
Okay, but what about the density? Why is that a separate parameter if we're already using mass flow?
🎓
Great question! Mass flow (kg/h) and concentration (e.g., kg solute/kg solution) are on a mass basis. But in practice, we often measure and pump fluids by volume. The density (ρ) is the bridge. The simulator uses it to calculate the mixture's density and, if needed, volumetric flow rates. For example, mixing alcohol and water doesn't yield a perfectly additive volume, but the tool assumes ideal mixing. Try changing ρ₁ and ρ₂ to very different values and watch the calculated mixture density shift.

Physical Model & Key Equations

The fundamental principle is the conservation of mass. The mass of a solute (the thing you're measuring concentration of) is conserved during mixing. For a two-component mixture, the resulting mixture concentration is the total solute mass divided by the total solution mass.

$$C_{mix}= \dfrac{\dot{m}_1 C_1 + \dot{m}_2 C_2}{\dot{m}_1 + \dot{m}_2}$$

Where $\dot{m}_1, \dot{m}_2$ are the mass flow rates of the incoming streams (kg/h), and $C_1, C_2$ are their concentrations (e.g., mass fraction, ppm, molarity). $C_{mix}$ is the concentration of the resulting mixture.

Often, you know the concentration you want ($C_{target}$) and need to find how much of a second stream to add. By rearranging the mass balance, you can solve for the required flow rate of the second component.

$$\dot{m}_{2,req}= \dfrac{\dot{m}_1(C_{target}-C_1)}{C_2-C_{target}}$$

Here, $\dot{m}_{2,req}$ is the required mass flow of stream 2 to achieve the target concentration. This is crucial for precise dilution or recipe formulation. Note: This equation fails if $C_2 = C_{target}$ (division by zero), meaning you can't reach the target by mixing these two streams.

Frequently Asked Questions

Either is fine. This tool automatically converts between the two based on the unit you input and displays the mixed concentration in all units: mass fraction, mole fraction, and ppm. Please use it according to your purpose.
To lower the target concentration, increase the flow rate of the lower-concentration component (e.g., diluting solvent). Conversely, to raise it, increase the flow rate of the higher-concentration component or decrease the flow rate of the lower-concentration component. The tool's 'Flow rate required for target concentration' function can also back-calculate this.
Yes, it supports mixing of 2 to 3 components. By inputting the flow rate and concentration of each component, the mixed concentration is calculated in real time. For three components, it also accurately computes based on material balance.
Currently, the mass flow rate unit is fixed to kg/h. If you want to calculate using other units such as g/s or L/min, please convert to kg/h beforehand. For volumetric flow rates, density must be taken into account.

Real-World Applications

Chemical Process Industries: Continuously blending raw material streams in a reactor feed. For instance, mixing a catalyst solution (high concentration) with a solvent to achieve the precise, lower concentration needed for a polymerization reaction, ensuring product quality and safety.

Water & Wastewater Treatment: Diluting a concentrated chemical disinfectant, like sodium hypochlorite (bleach), with water to achieve the correct dosage for treating drinking water. The calculator helps determine the flow rates for the dosing pumps.

Pharmaceutical Manufacturing: Preparing buffer solutions or drug formulations where active pharmaceutical ingredients (APIs) at a known concentration must be mixed with excipients to reach the final specified strength in a batch process.

Food & Beverage Production: Standardizing the concentration of ingredients like sugar, acid, or salt in a product stream. For example, blending a high-Brix fruit juice concentrate with water to achieve the desired sweetness level in the final beverage before packaging.

Common Misconceptions and Points to Note

When starting to use this tool, there are several pitfalls that engineers, especially those with less field experience, often fall into. First and foremost, always keep the unit systems for concentration and flow rate consistent. For example, if you input the flow rate in [L/min] while setting the concentration as a mass fraction [kg/kg], the calculation result will be completely meaningless. It's safest to assume the tool does not perform unit conversions internally. Ensure everything is on a mass basis (kg, kg/h, mass fraction) or everything is on a volume basis (L, L/min, volume fraction).

Next, be aware of the pitfall of volume fractions in non-ideal mixing. For instance, mixing 100mL of ethanol with 100mL of water results in a total volume of approximately 192mL. If you calculate the volume fraction in this tool with the density parameter left at "1.0" (assuming ideal mixing), it will show a mixture concentration of 50 vol%, while the actual concentration is about 52 vol%. In designs requiring high precision, this discrepancy cannot be ignored. Therefore, understand that the basis of process design is mass, and also understand that this tool can provide accurate volume fractions converted from a mass basis if you input the densities correctly.

Finally, a precondition when using the reverse calculation feature. When calculating using the formula $$\dot{m}_{2,req}= \dfrac{\dot{m}_1(C_{target}-C_1)}{C_2-C_{target}}$$, meaningful answers are only possible if $C_{target}$ lies between $C_1$ and $C_2$. For example, it's possible to dilute a 5% solution (Stream 1) with a 3% solution (Stream 2) to achieve 4%, but impossible to reach 6%. If the tool shows negative flow rates or abnormal values, first suspect this precondition.

How to Use

  1. Enter mass flow rates (kg/h) for streams 1 and 2, or volumes (L/min) with known densities (kg/m³)
  2. Input molar concentrations (mol/L) or mass concentrations (g/L) for each component stream
  3. Specify target concentration if diluting; calculator returns mixed Cmix, total flow rate, mixture density, and dilution ratio

Worked Example

Hydrochloric acid manufacturing: Stream 1 is 37% HCl at ρ₁=1190 kg/m³, m₁=150 kg/h, C₁=12.1 mol/L. Stream 2 is deionized water at ρ₂=1000 kg/m³, m₂=100 kg/h, C₂=0 mol/L. Mixed concentration Cmix=(150×12.1+100×0)÷250=7.26 mol/L. Mixture density=(150×1190+100×1000)÷250=1076 kg/m³. Total flow rate=250 kg/h. Dilution ratio=12.1÷7.26=1.67:1.

Practical Notes

  1. For pharmaceutical suspensions, account for viscosity changes; density varies nonlinearly when mixing glycerin (ρ=1261 kg/m³) with water
  2. In chemical plants, verify flowmeter calibration (Coriolis or magnetic) matches your density input; 2% error propagates to 5% concentration error
  3. When targeting exact concentration, use iterative dilution: calculate ṁ₂ required, then verify final Cmix accounts for mixing enthalpy and volume contraction