Beer-Lambert Calculator for Multi-Component Systems

Calculate concentrations from absorbance measurements using the Beer-Lambert law – from the classic single absorber (1 component) to several simultaneously present, spectrally overlapping absorbers (via matrix inversion, least squares), including the coefficient of determination R² and a condition number as a warning indicator for poorly distinguishable spectra.

Enter measurement data

Where possible, measure at more wavelengths than you have components (an overdetermined system) – this makes the solution more robust against measurement noise and gives a meaningful R².

1 = the classic Beer-Lambert law (can also average over several wavelengths). From 2 components onward, the system of equations is solved via matrix inversion.
cm
Wavelength (nm) ε1 (L·mol⁻¹·cm⁻¹) ε2 (L·mol⁻¹·cm⁻¹) A measured

Explanation: the Beer-Lambert law for mixtures

What is multi-component analysis?

The simple Beer-Lambert law A = ε·c·l assumes only a single absorber is present in the solution. If a sample contains several substances whose absorption spectra overlap, a single absorbance measurement is no longer enough to separate the concentrations.

Since the contributions of all components simply add up at each wavelength (absorbances are additive), the problem can be written as a linear system of equations and solved for the individual concentrations using matrix inversion (or a least-squares fit when there are more measurement points than unknowns).

Beer-Lambert law for mixtures

A(λᵢ) = l · Σⱼ εⱼ(λᵢ) · cⱼ

The quantities at a glance

Molar extinction coefficient (ε)

A substance-specific constant indicating how strongly a component absorbs at a given wavelength. Must be known for every component at every wavelength used (e.g. from a calibration measurement with the pure substances).

Condition number

A measure of how well the components can be distinguished from each other based on their spectra at the chosen wavelengths. A high condition number means the spectra are too similar – small measurement errors are then strongly amplified, and the calculated concentrations can be significantly distorted. Remedy: choose different, more distinguishing wavelengths.

Worked example

A solution contains dichromate (Cr₂O₇²⁻) and permanganate (MnO₄⁻) at the same time. At 440 nm, ε(Cr₂O₇²⁻)=95, ε(MnO₄⁻)=2350 L·mol⁻¹·cm⁻¹; at 545 nm, ε(Cr₂O₇²⁻)=370, ε(MnO₄⁻)=2260 L·mol⁻¹·cm⁻¹. Measured: A(440 nm)=0.1013 and A(545 nm)=0.1531 at l=1 cm.

Given

A 2×2 system of equations from the two absorbance equations at 440 nm and 545 nm

Solution

Matrix inversion gives c(Cr₂O₇²⁻) = 2.0·10⁻⁴ mol/L and c(MnO₄⁻) = 3.5·10⁻⁵ mol/L.

Tips and common mistakes

The most common mistake is choosing wavelengths where the components' spectra are too similar (high condition number) – then the solution reacts extremely sensitively to the smallest measurement errors. A second common mistake: mixing ε values from different sources/solvents, even though ε can be solvent- and possibly pH-dependent.

The best approach

Choose wavelengths at the absorption maxima of the individual components (that's usually where the spectra differ most), measure at more wavelengths than you have components if possible, and check both R² and the condition number after the calculation before using the result.

Where is multi-component UV-Vis analysis used?
  • Simultaneous determination of several dyes, metal complexes, or active ingredients in mixtures without prior separation
  • Clinical chemistry: simultaneous determination of haemoglobin derivatives (oxy-, deoxy-, met-haemoglobin) in blood
  • Environmental analysis: quantifying several pollutants with overlapping UV spectra in water samples

Frequently asked questions about multi-component analysis

Because with several overlapping absorbers, a single absorbance measurement can no longer be uniquely assigned to one concentration – the measured value contains the contributions of all components at once. Only several measurements at different wavelengths provide enough information to separate the contributions mathematically.

It shows that the components' spectra at the chosen wavelengths are too similar to separate cleanly. Mathematically, this means small errors in the measured absorbances lead to large errors in the calculated concentrations. In practice, it helps to choose wavelengths where the spectra differ as much as possible.

A negative concentration is physically impossible and a clear warning sign – it usually points to measurement errors, too high a condition number, or incorrect ε values. Consider remeasuring at different wavelengths or checking your calibration data.

At least as many as there are components (otherwise the system is underdetermined and cannot be solved at all). In practice, it's recommended to measure significantly more to average out measurement noise via the least-squares fit and to get a quality check on the fit via R².

Yes – simply choose 1 for the number of components. That's then exactly the classic Beer-Lambert law A = ε·c·l, optionally averaged over several wavelengths (via a least-squares fit) if you took multiple measurements.