Mass balance calculator: mixing streams (flow, concentration, temperature)
Mix two or three streams to find the combined flow, concentration and temperature, or find the stream 2 flow that reaches a target concentration or temperature.
Results are estimates. They do not replace the governing code, class or flag requirements, or a check by a competent person. Report a problem
Introduction
A mass balance says that what flows in must flow out when nothing builds up or reacts. When streams mix, the total flow is the sum of the flows. The flow of each component is the sum of its flows too. So the mixed concentration is the flow-weighted mean of the stream concentrations. Mixing 200 kg of 40 % methanol with 150 kg of 70 % methanol gives 350 kg at 52.9 %, not the 55 % a simple average suggests.
This calculator mixes two or three streams and gives the combined flow, concentration and temperature. It also runs the balance backwards: it finds the flow of a second stream that brings the first to a target concentration or temperature. It is for process engineers and operators blending, diluting or tempering streams, and for students learning material and energy balances.
ṁ — mass flow of each stream; x — mass fraction of the component, % w/w / 100
T — temperature; c_p — specific heat; x_t, T_t — target concentration and temperature
Assumptions and limitations
The process is steady, with no reaction, no accumulation and no losses. A batch mix follows the same equations with masses in place of flows.
Concentrations are mass fractions and flows are mass flows. With volume flows and mg/L the result is right only if the densities are equal.
The temperature balance ignores heat of mixing, phase change and heat loss. Diluting sulphuric acid or caustic soda releases a lot of heat, so the real mix is hotter.
For a target, stream 2 must lie on the other side of it from stream 1. You cannot dilute 10 % to 5 % with a 20 % stream.
Worked example
A plant has 1 000 kg/h of saturated brine at 26 % salt and needs a 10 % brine. How much water must it add?
Salt in: 1 000 × 0.26 = 260 kg/h, and the water adds none.
The water-to-brine ratio is 1.600, so each tonne of brine needs 1.6 t of water.
FAQ
What is a mass balance?
An accounting of mass for a process: input = output + accumulation, with reaction terms added if anything reacts. At steady state without reaction, input equals output for the total and for each component.
How do I calculate the concentration after mixing two streams?
Multiply each flow by its concentration, add them, and divide by the total flow. 1 000 kg/h at 10 % plus 500 kg/h at 2 % gives 7.33 %.
How much water do I need to dilute a solution?
Water = flow × (C_start − C_target) / C_target. To bring 500 kg of 30 % solution down to 20 %, add 250 kg of water.
How do I find the temperature when two streams mix?
Weight each temperature by flow × specific heat. Equal flows of water at 60 °C and 20 °C mix at 40 °C.
Can I use volume flows instead of mass flows?
Yes, if all streams have about the same density, as for dilute water solutions. For brines, acids or oils, convert to mass flows first.
Why is my mixed temperature higher than calculated?
Some substances release heat when they mix, such as acids, caustic soda and alcohol in water. The simple balance leaves that heat out.
Related calculators
Blending ratio — two liquids to a target property, including viscosity.
Before every release the calculator must reproduce each case below. The note under each case says where the expected answer comes from: a standard, a textbook, a published table, or a hand calculation shown in full.
200 g of 40 wt% methanol mixed with 150 g of 70 wt% methanol gives 350 g of 52.9 wt% methanolFelder and Rousseau, Elementary Principles of Chemical Processes, 3rd ed., ch. 4, balances on a mixing unit
1 000 kg/h of 26 % brine diluted to 10 % needs 1 600 kg/h of water and gives 2 600 kg/hComponent balance by hand: ṁ2 = ṁ1 (x1 − x_t) / (x_t − x2)
Three streams of 100, 200 and 300 kg/h at 10, 20 and 30 % and 10, 20 and 30 °C mix to 600 kg/h at 23.33 % and 23.33 °CFlow-weighted means by hand (equal c_p)
Energy balance with different c_p: 1 kg/s of water at 80 °C and 2 kg/s of oil (2.0 kJ/(kg·K)) at 20 °C mix at 50.68 °CFelder and Rousseau ch. 8: adiabatic mixing with constant c_p, by hand
Required cold stream: 1 kg/s at 60 °C cooled to 40 °C by water at 10 °C needs 0.667 kg/sEnergy balance by hand: ṁ2 = ṁ1 c_p1 (T1 − T_t) / (c_p2 (T_t − T2))
A target outside the two streams, a target equal to stream 2 and no flow at all are rejected; large temperature spreads warnBehaviour check: warnings and rejected inputs
Worked example of the article: the calculator reproduces 1 600 kg/h, 2 600 kg/h, 1.600 to the digits printedThe worked example on this page, to the digits printed
Assumptions and sources
Assumptions and limits
Steady state with no reaction, accumulation or losses: total mass and the mass of each component are conserved, so the mixed concentration is the flow-weighted mean of the stream concentrations.
Concentrations are mass fractions of one component (% w/w, ppm by mass) and flows are mass flows; for volume flows and mg/L the same equations hold only when the densities are equal.
The mixed temperature is the c_p-weighted mean: no heat of mixing or dilution, no phase change and no heat loss; dissolving or diluting acids, caustic soda and some salts releases heat and gives a hotter mix.
In the required-stream form, stream 2 must be weaker (or colder) than the target when stream 1 is stronger (or hotter), and the target must lie between the two.
Sources
Felder, R.M. and Rousseau, R.W., Elementary Principles of Chemical Processes, 3rd ed., Wiley, ch. 4 (material balances on a mixing unit) and ch. 7–8 (energy balances)
Himmelblau, D.M. and Riggs, J.B., Basic Principles and Calculations in Chemical Engineering, 8th ed., Part II (material balances)
Cite this calculator
Papandreou, C. (2026). Mass balance calculator: mixing streams (flow, concentration, temperature). Engineering Bible. https://engineeringbible.com/process/mass-balance/
Embed this calculator on your site
Copy this HTML into your page. The calculator stays free to use and links back here.