The mass balance equation forms basis to a number of process engineering calculations. Mass balance equation simply states that total mass in any system is always conserved. That is,

**Total mass in = Total mass out + Total mass accumulated in the system**

The mass balance can be performed for different components of the inlet and outlet streams. When considering individual component instead of the total mass of a stream, it has to be kept in mind that for a reacting system, one or more components can be converted to one or more different components. Hence for individual component mass balance for a reacting system, we get a generation term and a consumption term. The basic mass balance for a reacting system becomes,

**M _{N} in + M_{N} generation = M_{N} out + M_{N} consumption + M_{N} accumulation**

M indicates mass and subscript N is second equation denotes the N

^{th}component of the system. Hence for a system comprised N components, there are N such mass balance equations.

When equation is differentiated with respect to time, we get a mass balance equation in terms of rates. Let F denote mass flowrate, let R denote reaction rate to generate or consume a component and let A denote accumulation rate.

**F _{N} in + R_{N} generation = F_{N} out + R_{N} consumption + A_{N}**

For steady state systems accumulation rate is zero and the mass balance equation is,

**F _{N} in + R_{N} generation = F_{N} out + R_{N} consumption**

The equations presented here are very basic mass balance equations. For specific systems each term in these equations can be detailed and solved for compositions and component mass flows in the inlet and outlet streams as well as in the system under consideration.