Mass Balance Calculator (Mixing Two Streams, Blending)

A mass balance says that what enters a mixing point must leave it, both in total and for each component. This mass balance calculator combines two streams of different flow and concentration, giving the outlet flow and strength, and the flow of the second stream needed for a target blend.
Process engineers use it to size dilution water for acids and caustic, to blend products and to check plant data; students use it for material balance problems.
How to use the mass balance calculator
Enter the mass flow and concentration of each incoming stream. Concentration is the mass fraction of the component you are tracking, such as acid, salt, sugar or a fuel component, as a percentage. The calculator gives the outlet flow, the component flow and the mixed concentration. Enter a target concentration to see how much of stream 2 would be needed with the stream 1 flow you entered. Any field can be solved: clear one and enter a known result instead.
Mass balance formulas
m3 = m1 + m2 · m3 x3 = m1 x1 + m2 x2
m2,needed = m1 (x1 − xt) ÷ (xt − x2)
The same equations work for any consistent units: kg/h, t/h or a batch in kg.
Worked example
1,200 kg/h of 32% caustic soda is mixed with 800 kg/h of a 5% weak caustic return stream:
- Outlet flow = 1,200 + 800 = 2,000 kg/h
- NaOH flow = 1,200 × 0.32 + 800 × 0.05 = 384 + 40 = 424 kg/h
- Mixed concentration = 424 ÷ 2,000 = 21.2%
- To make exactly 20% instead, stream 2 must be 1,200 × (0.32 − 0.2) ÷ (0.2 − 0.05) = 960 kg/h
Outlet strength as stream 2 increases
Stream 1 fixed at 1,200 kg/h of 32%, stream 2 at 5%:
| Stream 2 flow | Outlet flow | Outlet concentration |
|---|---|---|
| 300 kg/h | 1,500 kg/h | 26.60% |
| 600 kg/h | 1,800 kg/h | 23.00% |
| 900 kg/h | 2,100 kg/h | 20.43% |
| 1,200 kg/h | 2,400 kg/h | 18.50% |
| 1,800 kg/h | 3,000 kg/h | 15.80% |
| 2,400 kg/h | 3,600 kg/h | 14.00% |
| 3,600 kg/h | 4,800 kg/h | 11.75% |
Water needed to dilute 1,000 kg of 50% solution
| Target strength | Water to add | Final mass | Mass ratio final ÷ initial |
|---|---|---|---|
| 40% | 250 kg | 1,250 kg | 1.25 |
| 30% | 667 kg | 1,667 kg | 1.67 |
| 25% | 1,000 kg | 2,000 kg | 2.00 |
| 20% | 1,500 kg | 2,500 kg | 2.50 |
| 15% | 2,333 kg | 3,333 kg | 3.33 |
| 10% | 4,000 kg | 5,000 kg | 5.00 |
| 5% | 9,000 kg | 10,000 kg | 10.00 |
Second example: concentrating by evaporation
Removing solvent is a mass balance with one stream leaving instead of joining. An evaporator takes 5,000 kg/h of fruit juice at 12% dissolved solids and produces a 60% concentrate. The solids pass through unchanged, so:
- Concentrate flow = 5,000 × 0.12 ÷ 0.6 = 1,000 kg/h
- Water evaporated = 5,000 − 1,000 = 4,000 kg/h
| Product strength | Product flow | Water removed | Share of feed evaporated |
|---|---|---|---|
| 20% | 3,000 kg/h | 2,000 kg/h | 40.0% |
| 30% | 2,000 kg/h | 3,000 kg/h | 60.0% |
| 40% | 1,500 kg/h | 3,500 kg/h | 70.0% |
| 50% | 1,200 kg/h | 3,800 kg/h | 76.0% |
| 60% | 1,000 kg/h | 4,000 kg/h | 80.0% |
| 65% | 923 kg/h | 4,077 kg/h | 81.5% |
Most of the water goes in the early stages: reaching 30% already removes 60% of the feed, while going from 50% to 60% removes only a further 4% of it.
Third example: checking plant data
On the default mixer, the outlet analyser reads 22.6% while the inlet meters and grab samples still give 1,200 kg/h at 32% and 800 kg/h at 5%. NaOH in = 424 kg/h; NaOH out = 2,000 × 0.226 = 452 kg/h. The 28 kg/h gap is 6.6% of the input, far outside normal meter uncertainty. If the analyser were right, stream 1 would have to be about 1,498 kg/h, so the next step is to check the stream 1 flow meter and recalibrate the analyser against a laboratory sample.
Mass balances in practice
On a plant, the balance is used two ways. In design, it sizes the dilution water flow meter and control valve for a target strength, and sets the ratio for a ratio controller that trims water flow against the concentrate flow. In operation, it reconciles measured data: if the outlet analyser and the inlet flows disagree, at least one meter or analyser is wrong. A useful habit is to check the total balance first, then each component, and to close the balance within the combined uncertainty of the meters, typically 1 to 2% for good mass flow measurement.
Real mixing also has an energy balance. Diluting strong acid or caustic releases heat of solution, so the outlet can be much hotter than a simple average; use the final temperature calculator only for liquids without significant heat of mixing.
Common mistakes
- Mixing mass and volume. Entering one stream in litres and the other in kilograms breaks the balance unless you convert with the correct densities.
- Mixing up concentration bases. Mass percent, volume percent, molarity and g/L are not interchangeable; convert all streams to mass fraction before mixing.
- Target outside the feed range. The blend can only fall between the two feed concentrations; a target outside that range gives a negative flow.
- Ignoring reactions. If the streams react, such as acid with alkali, the component balance must include the reaction; total mass is still conserved.
- Averaging percentages. The mixed strength is a flow-weighted average, not the simple average of the two percentages.
Frequently asked questions
What is the mass balance equation for mixing?
Total mass: m₃ = m₁ + m₂. Component: m₃ x₃ = m₁ x₁ + m₂ x₂, where x is the mass fraction of the component. Dividing gives the mixed concentration x₃ = (m₁ x₁ + m₂ x₂) ÷ (m₁ + m₂). Mass is conserved with or without chemical reaction, but component balances only hold for non-reacting components.
How much water do I need to dilute a solution?
Water flow = m₁ (x₁ − x_target) ÷ x_target, which is the formula above with x₂ = 0. Diluting 1,000 kg of 50% caustic to 20% needs 1,000 × 0.30 ÷ 0.20 = 1,500 kg of water, giving 2,500 kg of solution.
Can I use volume flows instead of mass flows?
Only if the densities are equal and the liquids do not shrink on mixing. Concentrated acids, caustic and alcohol solutions change volume when diluted, so convert volume flows to mass with each stream's density first, or use mass flow meters.
What is the lever rule?
A graphical form of the same balance: the ratio of the two stream flows equals the inverse ratio of their distances from the mixed concentration, m₁ ÷ m₂ = (x₃ − x₂) ÷ (x₁ − x₃). It is quick for mental checks on blends.
How much water must be evaporated to concentrate a solution?
Water removed = F × (1 − x_feed ÷ x_product), because the dissolved solids are conserved. Concentrating 5,000 kg/h of 12% solution to 60% removes 4,000 kg/h of water and leaves 1,000 kg/h of product.
How do I use a mass balance to check plant instruments?
Calculate the component flow in and out from the meters and analysers. If they differ by more than the combined uncertainty, usually 1 to 2%, one of the instruments is wrong; working out which value would close the balance shows where to look first.
Related calculators
- ChemistryDilution CalculatorCalculate how much stock solution and solvent you need to make a diluted solution, or the final concentration.Open calculator
- ChemistryMass Percent Concentration CalculatorCalculate mass percent concentration of a solution from solute and solvent mass, or the solute needed for a target percent.Open calculator
- PhysicsFinal Temperature CalculatorFind the equilibrium temperature when two substances at different temperatures are mixed, from their masses and specific heats, plus the heat transferred.Open calculator
- EngineeringMass Flow Rate CalculatorConvert volumetric flow to mass flow and back using fluid density, kg/h, t/h, lb/h, m³/h, L/min and more.Open calculator
- EngineeringResidence Time CalculatorCalculate residence time (hold-up or hydraulic retention time) of a tank, reactor or pipe from volume and flow rate, plus space velocity in volumes per hour.Open calculator
- ChemistrySolution Preparation CalculatorCalculate how many grams of solid to weigh out to make a solution of a given molarity and volume, corrected for reagent purity, with common reagent masses.Open calculator