Optical Density Calculator
Turn optical density into the share of light that gets through, the stops lost and the longer exposure a neutral density filter needs.
🌫️ What is Optical Density?
Optical density (OD) is a logarithmic measure of how strongly a filter, a lens coating, a piece of glass or a sample blocks light. It is defined as OD = −log10(T), where T is the transmittance, the fraction of light that gets through. An OD of 0 passes everything, an OD of 1 passes one tenth, an OD of 2 passes one hundredth, and so on. Because the scale is logarithmic, OD values simply add when filters are stacked, which is the main reason it is used instead of percentages.
The idea turns up in many places. Photographers describe neutral density (ND) filters by density, by an ND factor such as ND8, or by stops of light lost, and need to know how much longer to expose. Laser safety eyewear is rated by OD at the laser wavelength. Astronomers use solar filters with an OD of about 5, and microscopists, film scanners and densitometers describe how dark a negative or an emulsion is by its density. Spectrophotometers report absorbance, which uses the same mathematics.
It helps to keep a few distinctions in mind. Transmittance is a ratio between 0 and 1, optical density is a non negative number, and stops count the number of halvings, so one stop is 0.301 OD. Absorbance and optical density are numerically the same for a given transmittance, but absorbance is normally reserved for a sample whose absorption depends on concentration and path length, which is what the Beer-Lambert law models. Optical density as used here treats a finished filter as one number, and can include reflection and scattering losses as well as absorption. Densities are also wavelength dependent, so a value quoted at one wavelength may not hold at another.
This calculator converts between all of these descriptions in either direction, adds up the density of stacked filters, and works out the longer exposure time needed in photography. A chart shows the curve T = 10−OD, with your value marked, so it is easy to see how quickly light disappears as density grows. Related pages: the Beer-Lambert law calculator for absorbance and concentration, and the Malus law calculator for polariser attenuation.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 — From OD 2 to Percentages
A filter with optical density 2
Example 2 — A Filter That Passes Half the Light
Transmittance 50 %
Example 3 — A Ten Stop Filter
10 stops of light lost
Example 4 — Stacking Two Filters
OD 0.3 (ND2) plus OD 0.9 (ND8)
Example 5 — Long Exposure with OD 3.0
1/125 s (0.008 s) with an OD 3.0 filter at the same aperture and ISO
❓ Frequently Asked Questions
🔗 Related Calculators
What is the formula for optical density?
Optical density is OD = -log10(T), where T is the transmittance as a fraction between 0 and 1. The inverse is T = 10^(-OD). For example, T = 0.01 (1 percent) gives OD = 2.
How do I convert optical density to transmittance?
Raise 10 to the negative of the OD. OD 1 gives 10 percent, OD 2 gives 1 percent, OD 3 gives 0.1 percent. For OD 0.3 the result is 10^-0.3 = 0.501, about 50 percent.
How many stops is an optical density of 1?
One stop is a factor of 2, which is log10(2) = 0.30103 OD. So OD 1 equals 1 / 0.30103 = 3.32 stops. OD 3 is 9.97 stops, usually called a 10 stop filter.
What is the difference between optical density and absorbance?
Both use -log10 of a transmittance. Absorbance is normally the quantity measured for a sample in a spectrophotometer, which links to concentration through the Beer-Lambert law. Optical density often covers all losses, including reflection and scattering.
What does ND8 mean and what is its OD?
ND8 cuts the light by a factor of 8, which is 3 stops. Its optical density is log10(8) = 0.903, which is marked as ND 0.9 on some filters. Manufacturers use ND factors, OD values or stops, so check which is printed.
How do I add the densities of stacked filters?
Add the OD values, because logarithms of products add. OD 0.3 plus OD 0.9 is OD 1.2, equivalent to a transmittance of 6.31 percent, which is the product of 50 percent and 12.6 percent.
How do I calculate the new shutter speed with an ND filter?
Multiply the shutter time by 10^OD. An OD 3.0 filter extends 1/125 s (0.008 s) to 8 s at the same aperture and ISO. This is a 1000 times increase, or about 10 stops.
What percent of light does OD 2 block?
OD 2 transmits 1 percent, so it blocks 99 percent of the light. OD 3 blocks 99.9 percent and OD 6 blocks 99.9999 percent. Because the numbers are so close to 100, density is easier to compare.
What is a decibel equivalent of optical density?
Power attenuation in decibels is 10 log10(P in / P out), which is 10 times the optical density. OD 2 is a 20 dB attenuation and OD 3 is 30 dB.
Can optical density be negative?
Only if a medium amplifies light, which passive filters do not. For a passive filter the transmittance is at most 1, so the optical density is zero or positive. A clear glass has a small positive OD from reflection and absorption.
Is optical density the same as Beer-Lambert absorbance?
Numerically the same maths, but this calculator treats a finished filter or sample as a single number. Use the Beer-Lambert page if you need to link absorbance to concentration and path length.