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.

🌫️ Optical Density Calculator
I know the
Value
Filter 1 (OD)
Filter 2 (OD)
Filter 3 (OD, optional)
Filter 4 (OD, optional)
Shutter time without the filter
s
Filter optical density
OD
06
Optical density
—
Transmittance
—
Percent blocked
—
Stops of light lost
—
ND factor
—
Attenuation
—

Total optical density
—
Total transmittance
—
Percent blocked
—
Stops of light lost
—
Equivalent ND factor
—
Filters used
—

New exposure time
—
In seconds
—
Original exposure
—
Stops lost
—
Time multiplier
—

🌫️ 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

OD  =  −log10( T )     T  =  10−OD
OD = optical density (dimensionless, 0 or more)
T = transmittance, the fraction of light that passes (0 to 1); percent transmittance is 100 T
Percent blocked = 100 × (1 − T)
Stops = OD / log10(2) = OD / 0.30103, and ND factor = 10OD
Stacked filters: ODtotal = OD1 + OD2 + …, and Ttotal = T1 × T2 × …
New exposure time = original time × 10OD
Attenuation in dB = 10 × OD
Example: OD = 2 gives T = 10−2 = 1 %, so 99 % is blocked

📖 How to Use This Calculator

Steps

1
Choose a mode. Pick Convert to translate between OD, transmittance, percent blocked, stops and ND factor, Filter stack to combine filters, or Exposure for photography.
2
Enter your value. In Convert mode choose which quantity you know and type it; the selector only tells the calculator how to read the number. In the stack, enter an OD for each filter and leave unused boxes blank. In Exposure, enter the shutter time in seconds and the filter OD.
3
Read the result. See the transmittance, percent blocked, stops, ND factor and decibels, or the new exposure time, with the curve or table beneath.

💡 Example Calculations

Example 1 — From OD 2 to Percentages

A filter with optical density 2

1
T = 10−2 = 0.01, which is 1.00 % transmittance
2
Percent blocked = 100 − 1 = 99.00 %
3
Stops = 2 / 0.30103 = 6.64, ND factor = 100.00, attenuation = 20.00 dB
OD 2 = 1.00 % transmittance, 6.64 stops
Try this example →

Example 2 — A Filter That Passes Half the Light

Transmittance 50 %

1
OD = −log10(0.5) = 0.301
2
Stops = 0.301 / 0.30103 = 1.00, so this is exactly one stop (ND2)
3
ND factor = 2.00 and attenuation = 10 × 0.301 = 3.01 dB
Half the light = OD 0.301 = 1 stop
Try this example →

Example 3 — A Ten Stop Filter

10 stops of light lost

1
OD = 10 × 0.30103 = 3.010
2
T = 10−3.010 = 1 / 1024 = 0.0977 %
3
ND factor = 210 = 1024 and attenuation = 30.10 dB. Marketed as ND1000 and OD 3.0, which differ from this by about 2 percent.
10 stops = OD 3.010, 0.0977 % transmittance
Try this example →

Example 4 — Stacking Two Filters

OD 0.3 (ND2) plus OD 0.9 (ND8)

1
Total OD = 0.3 + 0.9 = 1.200
2
T = 10−1.2 = 6.31 %, the same as 0.501 × 0.126
3
Stops = 1.2 / 0.30103 = 3.99 and the ND factor is 15.85, close to a nominal ND16 (4 stops) because 0.3 is a rounded value
Total = OD 1.200, 6.31 % transmitted, 93.69 % blocked
Try this example →

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

1
Time multiplier = 103 = 1000
2
New exposure = 0.008 × 1000 = 8.0 s
3
Stops lost = 3 / 0.30103 = 9.97, about 10 stops
New exposure time = 8.0 s
Try this example →

❓ Frequently Asked Questions

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, and T = 0.1 gives OD = 1.
How do I convert optical density to transmittance?+
Raise 10 to the negative of the OD and multiply by 100 for percent. 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, which is why a 3.0 OD filter is usually called a 10 stop filter.
What is the difference between optical density and absorbance?+
Both use the negative base 10 logarithm of a transmittance. Absorbance is normally the quantity measured for a sample in a spectrophotometer and links to concentration through the Beer-Lambert law. Optical density often includes 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, often written as ND 0.9 on a filter. Manufacturers use ND factors, OD values or stops, so check which one is printed on your filter.
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, equal to a transmittance of 6.31 percent, which is the product of about 50 percent and 12.6 percent. Calculators like this one do the sum for you.
How do I find 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. That is a 1000 times increase, or about 10 stops of exposure compensation.
What percent of light does OD 2 block?+
OD 2 transmits 1 percent, so it blocks 99 percent. OD 3 blocks 99.9 percent and OD 6 blocks 99.9999 percent. Because the blocked percentages crowd close to 100, optical density is easier for comparing strong filters.
What is the 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. This is the optical power convention, not the 20 log10 amplitude convention.
Can optical density be negative?+
Only if the 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. Even clear glass has a small positive OD from reflection and absorption.
Is this the same as the Beer-Lambert law?+
The logarithm is the same, but this calculator treats a finished filter or sample as one number. Use the Beer-Lambert page if you need to link absorbance to concentration, molar absorptivity and path length instead.

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.