Optical Density Calculator
How much light does a filter pass, what OD brings a beam down to a safe working power, and how much does a sample absorb? The calculator converts between optical density, transmission, decibels and attenuation factor, adds up a stack of filters, and applies the Beer-Lambert law to an absorbing sample. Background: optical density, transmittance, neutral-density filter, Beer-Lambert law, and decibel.
Three short experiments. Each one sets the inputs, says where to look, and asks for a prediction before it shows the result.
These checks run in your browser on every load. The conversions between OD, transmission, decibels and attenuation factor, the filter stack, the Beer-Lambert absorbance and the slab transmittance are compared with values worked out by hand and with the worked numbers in the site’s entries.
| Check | Expected | Computed | Tolerance |
|---|
The expected values follow the definitions OD = −log10T and dB = 10 OD, the Beer-Lambert law and the incoherent slab formula with Fresnel reflectance at normal incidence, evaluated by hand for the stated cases. The tolerance is the largest difference from Expected that still passes, relative to Expected or to 1, whichever is larger.
Optical density is the base-10 logarithm of the ratio of incident to transmitted power, and the loss in decibels is ten times it:
Filters in series multiply their transmittances, so their optical densities add, provided the reflections between them do not send light back through. In an absorbing sample of thickness the internal optical density is in the chemist’s form of the Beer-Lambert law, or with the natural-log absorption coefficient . A slab with surface reflectance at each face and internal transmittance transmits
counting the multiple reflections between its faces incoherently, as for any sample much thicker than the coherence length of the light. The model takes the surfaces as uncoated and the light as arriving at normal incidence. It does not compute the optical density that laser safety eyewear needs, which comes from the maximum permissible exposures in ANSI Z136.1 or IEC 60825-1.
Worked example
A 1 W beam through an OD 1 filter and an OD 2 filter meets a total of OD 3 and leaves at 1 mW, 0 dBm. A further OD 3 brings it to 1 µW. An uncoated window of index 1.5 reflects 4 % at each face and transmits 92.31 %, an optical density of 0.03476 before it absorbs anything.
References: IUPAC, Compendium of Chemical Terminology (the Gold Book), entries “absorbance” and “attenuance”. E. Hecht, Optics, 5th ed. (Pearson, 2017), ch. 4. M. Born and E. Wolf, Principles of Optics, 7th ed. (Cambridge University Press, 1999), ch. 1.