Chemical Engineering · Material and Energy Balances
Mixing calculator icon showing several feed streams combining into one blended stream

Mixing calculator

This mixing calculator blends up to four process streams and returns the combined flow, the blended concentration on a mass or a volume basis and the mixed temperature weighted by heat capacity. It also solves the everyday blending question in reverse: how much of each ingredient to use to hit a target strength (the Pearson square), and how much cold liquid gives a target temperature.

The mass basis is exact. The volume basis assumes that volumes add, which is close for dilute aqueous solutions but not for ethanol and water or for strong acids, where the mixture shrinks by a few percent. Heat of mixing is ignored in the temperature result.

Mixing calculator for up to four streams

Fill in streams 1 and 2; streams 3 and 4 are used only when their flow is filled in. Choose a mass or a volume basis.
%
Water 4.18 kJ/(kg·K); caustic soda solutions roughly 3.3 (40 %) to 3.9 (10 %), approximate.
%
%
%

Pearson square mixing calculator: proportions for a target blend

Two ingredients of known strength, one target. Leave the batch size empty to get only the proportions.
%
%
Use 0 % for water or another pure diluent.
%

Mixing calculator for a target temperature

How much of a second stream (for example cooling water injected directly) brings stream 1 to a target temperature?

How to use the mixing calculator

The first panel is a forward blend: enter each stream’s flow, concentration, temperature and specific heat, and the mixing calculator returns the combined flow, the blend concentration and the mixed temperature. In the mixing calculator, pick the mass basis when you know mass flows and mass percentages (the usual case for plant data and for textbook balances), or the volume basis when you have volume flows from meters and concentrations in g/L or mg/L (the usual case in water treatment and lab work). Streams 3 and 4 are optional; a stream counts only when its flow box is filled in.

The second panel is the reverse problem. Give it the strength of two ingredients and the target strength, and it returns the proportions of each, plus the actual amounts for a batch size you choose; this is the Pearson square. The third panel does the same for temperature: it finds the flow of a cold (or hot) stream that brings a process stream to a target temperature by direct mixing, as in a quench or a tempered water loop. Every panel shows its working under “Show the working”.

Mixing calculator, mass balance or energy balance: which one?

This page is the practical blending tool: several streams, one answer for flow, strength and temperature together, and the reverse blend for a target. The Mass Balance Calculator covers the wider family of material balances (separators, recovery and purity, tanks filling or draining), and the Energy Balance Calculator covers the full steady-flow energy equation with shaft work, kinetic and potential energy. If a blend has more than one component you care about, use the Component Balance Calculator, which tracks four components through a mixer or a splitter.

The blending equations behind the mixing calculator

Every blend in the mixing calculator obeys a total balance, a solute balance and, if there is no heat loss and no heat of mixing, an energy balance. On a mass basis:

ṁ = Σ ṁᵢ x = Σ ṁᵢ·xᵢ / Σ ṁᵢ T = Σ ṁᵢ·cpᵢ·Tᵢ / Σ ṁᵢ·cpᵢ

Here ṁᵢ is the mass flow of stream i, xᵢ its mass fraction of solute and cpᵢ its specific heat. On a volume basis the solute balance is Σ Qᵢ·Cᵢ = Q·C with C in g/L, but the total-volume equation Q = Σ Qᵢ is only approximate, because volume is not a conserved quantity. Mass is. The mixing calculator therefore also asks for the densities on the volume basis: it converts every stream to a mass flow (ṁ = Q·ρ) for the temperature, and reports the blend density and solute mass fraction that follow from the additive-volume assumption.

Temperature is weighted by the heat capacity rate ṁ·cp, not by flow alone. A 20 % sugar syrup with cp ≈ 3.7 kJ/(kg·K) mixed with an equal mass of water ends up slightly closer to the water temperature than a plain average suggests. Because the formula is a weighted average, the mixing calculator lets you use °C, °F or K and get the same answer.

Mixing calculator worked example: three caustic streams

These are the default values of the first mixing calculator panel (mass basis). Stream 1 is 1000 kg/h of 10 % NaOH at 20 °C, cp 3.9 kJ/(kg·K); stream 2 is 500 kg/h of 40 % NaOH at 60 °C, cp 3.3 kJ/(kg·K) (both cp values approximate); stream 3 is 250 kg/h of water at 15 °C, cp 4.18 kJ/(kg·K).

Total: 1000 + 500 + 250 = 1750 kg/h. NaOH: 1000 × 0.10 + 500 × 0.40 + 250 × 0 = 300 kg/h, so the blend is 300 / 1750 = 17.14 % NaOH. Heat capacity rates: 1000 × 3.9 = 3900, 500 × 3.3 = 1650 and 250 × 4.18 = 1045 kJ/(h·K), total 6595 kJ/(h·K) = 1.832 kW/K. Mixed temperature: (3900 × 20 + 1650 × 60 + 1045 × 15) / 6595 = 192,675 / 6595 = 29.22 °C. In reality strong caustic releases heat when diluted, so the actual temperature would be a few degrees higher; for concentrated acids and bases use enthalpy-concentration charts instead of cp.

Volume basis check. A published water-math example from LibreTexts Workforce, Mixing and Diluting Solutions mixes 250 mL of a 65 % solution with 700 mL of water: 0.65 × 250 / 950 = 17.1 %. Mixing the 250 mL of 65 % solution with 700 mL of a 25 % solution instead gives (0.65 × 250 + 0.25 × 700) / 950 = 35.5 %. On the volume basis of the mixing calculator, enter 650 g/L and 250 g/L as the concentrations to reproduce it.

The Pearson square mixing calculator, step by step

Draw a square, write the two ingredient strengths on the left corners and the target in the middle. Subtract diagonally, ignoring signs: the difference between the target and ingredient B gives the parts of A, and the difference between ingredient A and the target gives the parts of B. The parts, divided by their sum, are the mass fractions of each ingredient in the blend.

parts A = |x_T − x_B| parts B = |x_A − x_T| share A = parts A / (parts A + parts B)

It is nothing more than the solute balance x_A·A + x_B·B = x_T·(A + B) solved for A/B, the lever rule. The default example of the Pearson square mixing calculator blends 50 % and 20 % caustic to 32 %: parts of the 50 % solution = 32 − 20 = 12, parts of the 20 % solution = 50 − 32 = 18, so the blend is 12/30 = 40 % strong caustic and 60 % weak caustic, or 800 kg and 1200 kg for a 2000 kg batch. Check: 0.50 × 800 + 0.20 × 1200 = 640 kg NaOH = 32 % of 2000 kg.

The same square is widely used for animal feed rations. NC State Extension’s Pearson square guide blends a 20 % and a 31 % crude protein feed to 28 %: parts 3 and 8, so 27.3 lb and 72.7 lb per 100 lb, the same numbers the mixing calculator gives for 20, 31 and 28 %.

Typical specific heats for the mixing calculator

Liquid (about 20–40 °C)cp, kJ/(kg·K)Note
Water4.18Reference value
Seawater, 3.5 % salt3.99Salt lowers cp
Methanol2.53Volume contracts when mixed with water
Ethanol2.44Volume contracts when mixed with water
Acetone2.16Volatile: losses if mixed hot
Toluene1.70Immiscible with water
Light hydrocarbon oil1.9–2.1Rises with temperature
Glycerol2.43Very viscous: mix well before measuring

Values are rounded mid-range figures for quick estimates. For a stream that is close to boiling, or one that dissolves with a large heat of solution, do an enthalpy balance with the Enthalpy Calculator or the Specific Heat Calculator.

Practical notes for plant blending

Blend on mass, measure on volume. Flowmeters often read volume, while the mass basis of the mixing calculator is exact; convert with the density at the actual temperature before blending to a mass specification. Order of addition. For acids, always add acid to water; for caustic, add caustic slowly with cooling. The mixing calculator gives the final state, not a safe procedure; follow the safety data sheet. Mixing time. A tank needs several turnovers before the composition is uniform; the Residence Time Calculator gives the hold-up time. Quench sizing. The temperature panel assumes perfect mixing; spray quenches into hot gas also evaporate liquid, which needs a latent heat term.

Common mistakes with a mixing calculator

Averaging percentages without weighting. Mixing 1 kg of 50 % with 9 kg of 10 % gives 14 %, not 30 %. Adding volumes of non-ideal liquids. 50 mL ethanol plus 50 mL water gives about 96 mL, so volume-based strength drifts. Mixing mass % and % by volume. Convert one to the other with the densities first. Using a target outside the range. No blend of 20 % and 50 % can make 60 %; the Pearson square panel of the mixing calculator refuses it. Ignoring heat of mixing. Diluting 98 % sulfuric acid to 50 % raises the temperature by well over 50 K, far more than any cp average predicts.

Related calculators

For a single solution diluted with solvent, the Dilution Calculator handles C₁V₁ = C₂V₂, molarity and serial dilutions. For general flowsheet balances use the Mass Balance Calculator and the Energy Balance Calculator.

Frequently asked questions

How do I calculate the concentration after mixing two solutions?

Add the solute amounts (flow × concentration) and divide by the total flow: x = (ṁ₁x₁ + ṁ₂x₂)/(ṁ₁ + ṁ₂). On a volume basis use Q and g/L the same way, accepting that volumes may not add exactly.

How do I calculate the temperature of a mixture?

Weight each temperature by mass flow times specific heat: T = Σṁ·cp·T / Σṁ·cp. The mixing calculator does this for up to four streams; it ignores heat losses and heat of mixing.

What is the Pearson square used for?

To find the proportions of two ingredients that give a target concentration, for example acid strengths, syrup Brix, fuel blends or feed protein. The parts are the diagonal differences between the target and each ingredient.

Can the Pearson square blend three ingredients?

Not directly. Fix the ratio of two of them first (treating them as one ingredient with their weighted strength), then square that pair against the third, or use the first panel to test blends.

Does the mixing calculator account for heat of mixing?

No. It assumes the enthalpy of the blend equals the sum of the stream enthalpies, which is accurate for most dilute aqueous and hydrocarbon blends. Strong acids, caustic and some solvent pairs release or absorb heat; use enthalpy-concentration data for those.

Is this mixing calculator free?

Yes. It runs in your browser, needs no sign-up and does not store or send the values you enter.