Chemical Engineering · Material and Energy Balances
Component balance calculator icon showing a stream table with four components entering and leaving a unit

Component balance calculator

This component balance calculator writes one balance per component, not just one for the total flow. It mixes up to three streams of four components each, splits a feed between a top and a bottom product with a split fraction for every component, and finds an unknown product stream by difference, checking at each step that the fractions add up to 1 and that no component flow turns negative.

Components A to D are generic: give them your own names (benzene, toluene, water…). Enter either component flows or a total flow with fractions. Mass flows go with mass fractions, molar flows with mole fractions; never mix the two in one balance.

Component balance calculator for a mixer

Up to three inlet streams, four components each. Leave stream 3 empty if not needed; empty component boxes count as zero.
Any unit works, as long as every stream uses it. Use mole fractions with molar flows.

Separator component balance calculator: split fractions

A feed splits into a top and a bottom product. For each component, give the fraction of its feed flow that goes to the top.
Share of this component in the feed that leaves in the top product (0 to 1).

Unknown stream by difference: feed minus product 1

Feed and one product known (total flow and fractions); the component balance gives the other product, with a check for negative flows.

How to use the component balance calculator

Choose the panel that matches your unit. The mixer panel combines up to three streams; enter each one either as a total flow with fractions or directly as component flows. The separator panel splits a feed using one split fraction per component (the share of that component sent to the top product). The by-difference panel is for the very common textbook and plant case where the feed and one product have been analyzed and the other product is unknown. Pick one flow unit for the whole panel; because the balances are linear, the component balance calculator works the same in kg/h, t/h, lb/h or kmol/h. Each panel returns a stream table you can copy into a report.

Component balance calculator logic: component balances versus a total balance

For a process with N components and no reaction, there are N independent balances: one per component, or the total balance plus N − 1 component balances. The component balance calculator writes the component form, because it is linear in the component flows and needs no division:

Σ (component i in) = Σ (component i out) for i = A, B, C, D

The total balance is the sum of the component balances, so it carries no new information; it is a check. The University of Edinburgh notes on steady-state material balances recommend the same practice: write balances in component flows, and convert to fractions only at the end. Fractions in each stream must add up to 1; the calculator rejects a stream whose fractions add up to more than 0.005 away from 1 and normalizes smaller rounding errors, telling you when it does.

Splitters and separators in the component balance calculator

A splitter divides a stream without changing its composition: every component has the same split fraction. A separator (column, flash drum, membrane, centrifuge) sends different components in different proportions. With a split fraction sᵢ for each component, top flow = sᵢ × feed flow and bottom flow = (1 − sᵢ) × feed flow. In a distillation column these are the recoveries of each component in the distillate; in a membrane they follow from the rejection. In the component balance calculator, four split fractions fix both products completely, which is why a separator with N components has N degrees of freedom once the feed is known.

Component balance calculator worked examples

Mixer (defaults). Stream 1: 100 kg/h with fractions A 0.5, B 0.3, C 0.2. Stream 2: 200 kg/h with A 0.1, B 0.4, C 0.25, D 0.25. Stream 3: 50 kg/h of pure D. Component flows out: A = 50 + 20 + 0 = 70, B = 30 + 80 + 0 = 110, C = 20 + 50 + 0 = 70, D = 0 + 50 + 50 = 100 kg/h. Total 350 kg/h; fractions 0.200, 0.3143, 0.200 and 0.2857, which add up to 1.

Separator (defaults). Feed 1000 kg/h with A 0.4, B 0.3, C 0.2, D 0.1, split fractions to the top 0.95, 0.60, 0.05 and 0. Top: 380 + 180 + 10 + 0 = 570 kg/h with x_A = 0.6667, x_B = 0.3158, x_C = 0.0175. Bottom: 20 + 120 + 190 + 100 = 430 kg/h with x_A = 0.0465, x_B = 0.2791, x_C = 0.4419, x_D = 0.2326.

By difference (textbook check with the component balance calculator). A classic problem in Felder and Rousseau (Elementary Principles of Chemical Processes, chapter 4) feeds 2000 kg/h of 45 % benzene and 55 % toluene to a column; the overhead is 95 % benzene and 8 % of the benzene leaves in the bottoms. Benzene to the top is 0.92 × 900 = 828 kg/h, so the overhead is 828 / 0.95 = 871.58 kg/h. Entering the feed and this overhead in the third panel gives a bottom product of 1128.4 kg/h containing 72 kg/h of benzene and 1056.4 kg/h of toluene, matching the textbook answer (72 kg/h and 1056 kg/h).

Writing a stream table from the component balance calculator

Process flow diagrams carry a stream table: one column per stream, one row per component, plus total flow, temperature and pressure. The component balance calculator builds the composition part of that table. A good stream table shows both component flows and fractions, states the basis (mass or mole) in the header and closes: every component row balances across each unit. Rounding fractions to three or four decimals can break the closure by a few kg/h on a large plant, so keep the flows unrounded and round only the presentation.

Specification you haveWhat it fixesTypical source
Total flow + all fractionsEvery component flowLab analysis of a sample, flowmeter
Component flowOne componentFeed rate of a pure reagent
Split fraction (recovery)One component in each productColumn or membrane performance
Purity of a productOne fraction of one streamProduct specification
Flow ratioOne relation between two streamsReflux ratio, solvent-to-feed ratio

Checking plant data with a component balance calculator

Measured flows and analyses rarely close perfectly. Run the by-difference panel of the component balance calculator with your feed and one product: a slightly negative component flow in the other product means the measurements disagree by more than their error, typically a flowmeter calibration or a sample that was not representative. As a rule of thumb, overall closures within 2 to 5 % are acceptable for routine plant data; a single component that closes far worse than the others points to its analysis. For two-stream problems with one key component, recovery and purity, the Mass Balance Calculator is quicker; for reactions, add generation and consumption terms with the Reaction Conversion Calculator.

Common mistakes in component balances

Mixing mass and mole fractions in one balance. Convert first with the molar masses. Fractions that do not add up to 1, often because one component (water, inerts) was left out of the analysis. Balancing fractions instead of flows. Fractions are not conserved; only flows are. Counting the total balance as an extra equation when all component balances are already written. Using a component balance across a reactor without the generation term; outside reactors a component balance calculator is exact, inside them atoms, not species, are conserved.

Related calculators

For binary separations with recovery and purity use the Mass Balance Calculator; to blend streams with temperature use the Mixing Calculator. Processes with recycle are handled by the Recycle Stream Calculator.

Frequently asked questions

What is a component balance?

A material balance written for one chemical species: what enters minus what leaves plus generation minus consumption equals accumulation. Without reaction at steady state, component in = component out, for every component separately.

How many independent balances can I write?

One per component when there is no reaction. With N components you can write N component balances, or N − 1 component balances plus the total balance, but not both sets.

Can the component balance calculator handle more than four components?

Not directly, but you can lump minor components into one (for example “other”), or run the calculator twice with different component sets, since each component balance is independent of the others.

What is a split fraction?

The fraction of a component’s feed flow that leaves in a chosen product, usually the top. It equals that component’s recovery to the top. A simple splitter has the same split fraction for all components.

Why must fractions add up to 1?

Because the component flows of a stream add up to its total flow. A sum different from 1 means a component is missing from the analysis or there is a rounding or typing error; the component balance calculator flags it.

Is this component balance calculator free?

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