In thermodynamics, a component is a chemically distinct constituent of a system. Calculating the number of components in a system is necessary, for example, when applying Gibbs phase rule in determination of the number of degrees of freedom of a system.
The number of components is equal to the number of independent chemical constituents, minus the number of chemical reactions between them, minus the number of any constraints (like charge neutrality or balance of molar quantities).
For example, a system that contains water in liquid state, only, also contains hydrogen ions and hydroxyl radicals according to the reaction:
- H2O <-> H+ + OH&minus
- 3 independent chemical constituents &minus 1 chemical reaction &minus 1 constraint (charge neutrality) = 1.
The components of a system are those chemical constituents whose concentration may be varied independently in the various phases.