The guide
Absorbance is a logarithm for a reason, and a calibration line only tells you how sure you can be
Why the Beer-Lambert law uses base-10 logarithms, how a calibration turns a reading into a concentration with an error bar, and where stray light bends the line.
- 2.9991e-5 M unknown read from a six-standard line at A 0.450
- 0.62 percent relative standard uncertainty of that reading
- 0.2512 transmittance at A 0.6; the natural exponent gives 0.5488
- 2.699 reading for a true A of 3 with 0.1 percent stray light
- 214 condition number of a badly chosen pair of wavelengths
Read the full guide Fold the guide
Spectrophotometry is the quantitative measurement of the reflectance and transmittance of light in the ultraviolet, visible and infrared regions. A spectrophotometer reports one number for a clear solution, and the number is a logarithm. Most of what goes wrong with absorbance work comes from forgetting that, or from treating the answer as exact when it is an estimate with an error bar.
The law is old and has a tangled history. Pierre Bouguer found in the early eighteenth century that light fades exponentially with the distance it travels through a medium, and Johann Heinrich Lambert put that into mathematical form in 1760. August Beer noticed in 1852 that coloured solutions behave the same way, with concentration standing in for distance. The modern form came together in the early twentieth century.
Why the scale is a logarithm
Transmittance is the easy quantity. The entry on it defines it as the fraction of the incident radiation that propagates through, the intensity out divided by the intensity in, so a sample that lets a quarter of the light through has a transmittance of 0.25, or 25 percent. The trouble is that transmittance does not add up. Put two identical cells in a row and the second one passes a quarter of the quarter.
Absorbance fixes that. The entry on it calls absorbance a logarithmic value describing the portion of the beam that does not pass through the sample. It is minus the base-10 logarithm of the transmittance, so doubling the path doubles it, and doubling the concentration doubles it as well. That is the content of the law: A equals the molar absorptivity times the concentration times the path length. One unit of absorbance means a tenfold drop, so A = 1 lets 10 percent through, A = 2 lets 1 percent through and A = 3 lets 0.1 percent through.
Here is the slip a quick calculation makes. Take epsilon as 15000 per molar per centimetre, a 1 cm cell and 4.0e-5 M. The product is exactly 3/5, an absorbance of 0.6. Ten to the minus 0.6 is 0.2512, so 25.12 percent of the light gets through. Use the natural exponent by habit and the same absorbance appears to give 0.5488, more than half the light. The entry on the molar absorption coefficient says disciplines differ on whether absorbance is decadic or natural, that the coefficient is usually decadic, and that the base should be stated when there is any doubt. State it every time.
Two more traps sit next to this one. Percent and fraction are different scales, and feeding 25.12 straight into a logarithm as if it were a fraction returns minus 1.4000, an absorbance below zero that cannot exist. And the name matters less than you would think: the standards body for chemical nomenclature discourages “extinction coefficient” and “molar absorptivity” in favour of molar absorption coefficient, though all three mean the same quantity.
What the law assumes
The law is a statement about ideal conditions, and the encyclopedia entry lists at least six. The absorbing particles must act independently of each other, the medium must be uniform, and it must not scatter the light. The beam should be parallel, each ray crossing the same length. The light should be close to a single colour, or at least narrower than the absorption feature. And the light must not itself change the molecules it measures.
Break any of these and the straight line bends. The same entry says the law tends to fail at very high concentrations, especially in a scattering sample, and that an absorbance in the range 0.2 to 0.5 is ideal for keeping the relationship linear. Chemistry bends it too: the entry sorts deviations into real, chemical and instrumental, and the entry on ultraviolet and visible spectroscopy notes that copper(II) chloride in water changes visually at a certain concentration because the conditions around the coloured ion change. Then the absorptivity is no longer a constant. This page models none of that, and it ships no table of absorptivities. You supply them.
From a reading to a concentration
A calibration curve is how a reading becomes a concentration without trusting a textbook value. You prepare standards across a range near the concentration you expect, measure each one, and fit a straight line by ordinary least squares, the method the entry on simple linear regression describes. The encyclopedia entry on calibration curves describes exactly this, with the line y = mx + y0 and an unknown found by interpolation. The statistical handbook of the national standards institute describes the same steps for any instrument, ending with a correction by the inverse of the curve.
Take six standards at 0, 1, 2, 4, 6 and 8 times 1e-5 M, reading 0.002, 0.150, 0.298, 0.601, 0.897 and 1.203. The least-squares line has a slope of 15005.3 per molar and an intercept of -0.0000175, with R squared of 0.999975. The scatter about the line, the residual standard deviation, is 0.002584 in absorbance. An unknown that reads 0.450 therefore comes out at 2.9991e-5 M.
That figure is incomplete without its uncertainty, and the standards institute handbook says why the answer is not simple. Two uncertainties meet: the calibration curve itself is uncertain because it rests on limited data, and the future reading is uncertain because every measurement is. Repeat the calibration and you would get a slightly different line. For a straight line the standard uncertainty of the concentration is the residual spread divided by the slope, times a square root. Under the root sit three terms. One is one over the number of replicate readings of the unknown, one is one over the number of standards, and the third grows as the unknown sits further from the middle of the standards.
For the six standards above that comes to 1.864e-7 M, about 0.62 percent of the reading. The page checks the formula rather than trusting it. It simulates 20,000 fresh sets of standards with the same scatter, refits each, reads a new unknown with it, and measures how widely the answers spread. In the build’s own runs the spread landed within half a percent of the formula.
The estimate comes with a condition. A line is only trusted between its first and last standard, and the page marks the part outside them as dotted. An unknown that reads above the top standard is a guess, not a result. Add a standard that brackets it, or dilute the sample until it falls inside the range.
Two components need two wavelengths
Absorbances add. In a mixture of two absorbing species each wavelength gives one equation: the absorbance equals the path length times the sum of each species’ absorptivity times its concentration. Two unknowns need two equations, so two wavelengths. The encyclopedia entry says to solve the pair with Cramer’s rule, and in general a mixture of N components needs at least N wavelengths. The entry adds that with more than two wavelengths a least-squares solution is better in practice. The entry on the molar absorption coefficient adds a warning: none of the chosen wavelengths may be an isosbestic point for a pair of species, a wavelength where the total absorbance does not change as one form turns into the other.
Cramer’s rule gives each concentration as a ratio of determinants, and it gives a unique answer only when the determinant of the absorptivity matrix is not zero. Try absorptivities of 12000 and 3000 at the first wavelength and 2000 and 9000 at the second, with 0.510 read at both. The determinant is 102,000,000, and the exact answers are 3.0e-5 M and 5.0e-5 M. Nudge the first absorbance up by one percent and the first concentration moves by 1.5 percent. The problem is well behaved.
Now choose wavelengths where the two species look alike: 1000 and 1050 at the first, 2000 and 2150 at the second. The determinant is still not zero, at 50,000, but the condition number is 214. The entry on condition numbers explains the idea: a small change in the input of an ill-conditioned problem makes a large change in the answer. With readings of 0.510 and 1.020 the page returns 5.1e-4 M and 0 for the two species. Raise the second reading to 1.030, a change of one percent, and the answers become 3.0e-4 M and 2.0e-4 M. Nothing is wrong with the arithmetic. The wavelengths simply cannot tell the species apart.
Where the line bends, and what is left out
An instrument cannot report an absorbance it has no light to measure. Stray light is any light that reaches the detector at a wavelength other than the one selected, scattered inside the instrument or reflected from its surfaces. It adds to the signal that gets through the sample, so the reported absorbance is lower than the true one, most of all at high absorbance.
With a stray fraction s, the observed absorbance is minus the base-10 logarithm of the quantity (ten to the minus A, plus s) divided by (1 plus s). Set s to 0.1 percent and a true absorbance of 1 reads 0.99611, a true 2 reads 1.9590, and a true 3 reads 2.699, already ten percent low. No matter how dark the sample gets, the reading cannot pass minus the logarithm of s over (1 plus s), which is 3.0004 here. The reading is low by one percent from a true absorbance of about 1.58.
Real instruments differ. As a rough guide, an instrument with a single monochromator would typically reach a stray light level near 3 absorbance units, which would make measurements above about 2 problematic, and one with a double monochromator would reach about 6. The practical advice follows from the curve: dilute the sample or shorten the path until the reading falls where the line is still straight, rather than trusting a number from the flat part.
The calculator converts, fits, solves and plots. It does not know your compound, so it never supplies an absorptivity. It does not model association, forms that depend on pH, fluorescence or scattering, and it cannot tell you that a reading came from a dirty cuvette. Every concentration it prints from a calibration is an estimate with a standard uncertainty, valid only inside the range of the standards.
It also keeps the heavy work off the page. The fit, the simulation and the curves run in a background worker, which the Web Workers API describes as running a script in a background thread separate from the main one, so a long table never freezes the controls. The encyclopedia entry on spectrophotometry names the logarithmic range of absorption and the percentage of transmission among an instrument’s main features, and this page keeps both in view together.
Sources
Every source consulted for this guide. Links checked November 11, 2026.
- Beer-Lambert law Wikipedia (CC BY-SA)
- Absorbance Wikipedia (CC BY-SA)
- Transmittance Wikipedia (CC BY-SA)
- Molar absorption coefficient Wikipedia (CC BY-SA)
- Stray light Wikipedia (CC BY-SA)
- Ultraviolet-visible spectroscopy Wikipedia (CC BY-SA)
- Calibration curve Wikipedia (CC BY-SA)
- Spectrophotometry Wikipedia (CC BY-SA)
- Isosbestic point Wikipedia (CC BY-SA)
- Cramer's rule Wikipedia (CC BY-SA)
- Condition number Wikipedia (CC BY-SA)
- Simple linear regression Wikipedia (CC BY-SA)
- 2.3.6. Instrument calibration over a regime NIST/SEMATECH e-Handbook of Statistical Methods
- 2.3.6.7. Uncertainties of calibrated values NIST/SEMATECH e-Handbook of Statistical Methods
- Spectrophotometry National Institute of Standards and Technology
- Web Workers API MDN Web Docs (CC BY-SA)