Attenuation Calculator - Beer-Lambert dB HVL & TVL
Free attenuation calculator for transmitted intensity, dB attenuation, half-value layer, and tenth-value layer using the Beer-Lambert exponential decay law.
Attenuation Calculator
Results
What Is an Attenuation Calculator?
An attenuation calculator applies the Beer-Lambert exponential decay law to find the transmitted intensity of a signal, beam, or radiation after it passes through an absorbing or scattering medium.
- • Radiation Protection: Estimate the fraction of gamma or X-ray photons transmitted through a shield such as lead or concrete.
- • Optical Design: Predict how much light passes through tinted glass, filters, biological tissue, or the atmosphere.
- • Acoustic Engineering: Calculate how much sound or ultrasound weakens across a barrier, wall, or absorbing material.
- • RF and Telecommunications: Estimate path loss through cables, walls, or the atmosphere for radio and microwave links.
Attenuation describes the gradual loss of intensity as energy travels through a material. The simplest and most widely used model is the Beer-Lambert law, which assumes a constant linear attenuation coefficient along the path.
The same exponential form appears across physics and engineering. Choosing the right attenuation coefficient for your problem is the most important step; the rest of the calculation is the same I = I0 exp(-mu x) relationship.
If you are analysing acoustic or electromagnetic waves in an attenuating medium, start with our Harmonic Wave Equation Calculator to confirm the wavelength and frequency inputs.
How the Attenuation Calculator Works
The calculator uses the Beer-Lambert exponential decay law together with the standard decibel definition for power-like quantities. The half-value and tenth-value layers are computed from the same attenuation coefficient.
- I0: Initial (incident) intensity in any consistent unit (W/m², Bq, counts/s, or relative).
- mu: Linear attenuation coefficient in 1/length units (m^-1 or cm^-1).
- x: Path length or thickness of the attenuating medium in the same length unit used for mu.
- tau = mu * x: Dimensionless optical thickness or number of mean free paths.
The decibel attenuation for power-like quantities uses dB = -10 log10(I / I0). For amplitude-like fields such as voltage or pressure, the factor is 20 instead of 10; this calculator uses the power convention.
The half-value layer (HVL) is the thickness that reduces intensity to half of its initial value: HVL = ln(2) / mu. The tenth-value layer (TVL) is the thickness that reduces intensity to 10%: TVL = ln(10) / mu.
Worked Example - Lead Shielding for 1 MeV Photons
I0 = 1.0 (relative), mu = 77.07 m^-1, x = 0.05 m (5 cm of lead).
tau = 77.07 * 0.05 = 3.8535, so I = 1.0 * exp(-3.8535) = 0.02131.
About 2.13% of the photons are transmitted, giving an attenuation of about 16.71 dB and a half-value layer of about 8.99 mm.
A 5 cm lead shield removes roughly 98% of 1 MeV photons, which is consistent with the dense, high-Z nature of lead.
Worked Example - Light Through Tinted Glass
I0 = 1.0 (relative), mu = 0.5 m^-1, x = 2 m.
tau = 0.5 * 2 = 1, so I = 1.0 * exp(-1) = 0.3679.
About 36.79% of the light is transmitted, the attenuation is about 4.34 dB, and the half-value layer is about 1.39 m.
After one mean free path (tau = 1), intensity always drops to about 36.8% of its initial value.
According to NIST X-ray Mass Attenuation Coefficients, 1 MeV photons in water and lead have linear attenuation coefficients near 0.0706 cm^-1 and 0.7707 cm^-1.
According to International Telecommunication Union ITU-R P.341-6, one neper equals 8.685889638 decibels (20/ln(10))
For another physics formula with the same exp(-x) structure, our Boltzmann Factor Calculator evaluates the population ratio exp(-E/kT) for a two-level system, where energy E in joules takes the place of optical thickness tau = mu * x.
Key Attenuation Concepts
These four ideas show up in nearly every attenuation problem, from a thin optical filter to a thick radiation shield.
Beer-Lambert Law
An exponential decay law stating that intensity drops by a constant fraction per unit length, expressed as I = I0 * exp(-mu * x).
Linear Attenuation Coefficient
The mu in the Beer-Lambert law. It captures the combined effect of absorption and scattering per unit length, with units of 1/length.
Optical Thickness
The dimensionless product tau = mu * x. When tau = 1, the path is one mean free path and roughly 36.8% of the intensity remains.
Half-Value Layer (HVL)
The thickness of material that reduces intensity to half of its starting value: HVL = ln(2) / mu. The tenth-value layer uses ln(10) instead.
Like attenuation, the Arrhenius relation is exponential in form, so our Arrhenius Equation Calculator is a good reference when you want to see another exponential-decay physics calculation.
How to Use This Calculator
Enter the incident intensity, the attenuation coefficient, and the path length in consistent units. The calculator does the rest and reports transmitted intensity, attenuation in dB, and both standard layers.
- 1 Choose a consistent unit system: Decide whether mu is in 1/m or 1/cm and use the same length unit for x. Mixing metres with 1/cm will give wrong answers.
- 2 Enter the initial intensity I0: Use any positive number for I0. Relative values such as 1.0 are fine if you only need a ratio.
- 3 Enter the attenuation coefficient mu: For gamma or X-rays, look up the linear coefficient at the relevant energy in a NIST or ICRU table. For optics and RF, use the published coefficient for your material.
- 4 Enter the path length x: Use the actual thickness of the medium the beam or signal travels through.
- 5 Read the transmitted intensity: The primary output is the transmitted intensity I in the same unit as I0.
- 6 Check the dB attenuation and layers: The dB number tells you the loss on a logarithmic scale; HVL and TVL give intuitive shielding thicknesses.
Example: a 2 cm acrylic sheet with mu = 30 m^-1 attenuates a beam by exp(-30 * 0.02) = exp(-0.6) = 0.5488, or about 2.61 dB. Enter I0 = 1, mu = 30, x = 0.02 to confirm.
Benefits of Using This Calculator
A focused attenuation calculator removes unit-conversion mistakes and lets you compare materials, thicknesses, and shielding choices in seconds.
- • Avoid unit-conversion errors: The calculator uses I0, mu, and x as plain numbers, so you only need to keep length units consistent between mu and x.
- • Compare shielding options quickly: Switch between lead, concrete, water, and other materials by adjusting mu and immediately see the transmitted fraction and dB loss.
- • Read loss on the right scale: Showing attenuation in dB alongside the fraction makes it easy to compare with datasheet specifications and link-budget numbers.
- • Get standard shielding layers: HVL and TVL are the conventional shielding metrics in medical physics and radiation protection; both are produced automatically.
- • Apply across physics domains: The same formula works for photons, light, sound, and RF signals; only the value of mu changes.
When the result you care about is the residual power in a beam after attenuation, our Work Energy Power Calculator converts those intensities into work and energy terms.
Factors That Affect Attenuation Results
Attenuation depends on the medium, the wavelength or energy of the radiation, and how you choose to express the result. Keep these in mind before locking in a number.
Material and Density
Heavier, denser materials such as lead typically have much higher mu than light materials such as air. Density is already folded into the linear attenuation coefficient for a given condition.
Energy or Wavelength
Photon attenuation in lead drops sharply with increasing gamma energy. Always use a coefficient that matches the photon energy, optical wavelength, RF frequency, or acoustic frequency in your problem.
Path Geometry
The model assumes a straight, uniform path. Curved paths, voids, multi-layer stacks, or non-uniform material require a layered or numerical treatment.
Power vs Amplitude Convention
Power-like quantities (intensity, power, energy fluence) use -10 log10(I / I0) for decibels. Amplitude-like fields (voltage, pressure) use -20 log10(A / A0). Using the wrong factor changes the dB number by a factor of two.
Buildup and Scatter
For thick shields at high energies, scattered radiation adds to the transmitted intensity. The simple exponential law underestimates the dose beyond the shield in this regime.
- • The model assumes a single homogeneous medium along the path. Layered shields need separate calculations or numerical transport codes such as MCNP or Geant4.
- • Coherent effects, narrow-beam vs broad-beam geometry, and radiation buildup in medical physics are not captured by a single exponential. Treat the result as a starting estimate, not a final dose assessment.
- • Attenuation coefficients in this calculator are user-supplied. Verify the value against NIST, ICRU, or manufacturer data for the actual energy or frequency in your problem.
According to NIST XCOM Photon Cross Sections Database, mass attenuation coefficients are tabulated from 1 keV to 100 GeV for elements Z = 1 through Z = 92, providing the cross-section data from which linear attenuation coefficients are derived for any chemical compound.
Room and concert-hall design is the canonical exponential-decay peer to attenuation: once a steady sound source stops, the residual energy decays by the same e-folding idea, which is why we built the Reverberation Time Calculator to size absorptive treatments for a target RT60 in seconds.
Frequently Asked Questions
Q: What is attenuation?
A: Attenuation is the gradual loss of intensity as a signal, beam, or radiation travels through a medium. The Beer-Lambert law models it as I = I0 * exp(-mu * x), where mu is the linear attenuation coefficient and x is the path length.
Q: How is the linear attenuation coefficient measured?
A: The linear attenuation coefficient mu is measured in 1/length units (such as 1/m or 1/cm). For photons, NIST publishes mu versus energy for each element and compound. For light, sound, and RF, it is usually derived from absorbance or insertion-loss measurements.
Q: What is the difference between attenuation and absorption?
A: Attenuation is the total loss from all causes, including absorption and scattering. Absorption is one specific mechanism that converts beam energy into heat or other forms. The linear attenuation coefficient mu is the sum of the absorption and scattering coefficients.
Q: How do I convert attenuation to decibels?
A: For power-like quantities such as intensity, attenuation in decibels is dB = -10 * log10(I / I0). For amplitude-like fields such as voltage or pressure, use dB = -20 * log10(A / A0). One neper equals 8.685889638 decibels.
Q: What is the half-value layer (HVL)?
A: The half-value layer is the thickness of material that reduces intensity to half of its initial value. It is computed as HVL = ln(2) / mu. The closely related tenth-value layer (TVL) uses ln(10) and corresponds to a 90% reduction in intensity.
Q: Does this calculator work for sound and RF signals too?
A: Yes. The Beer-Lambert exponential form is the same for light, gamma or X-ray photons, sound, and radio waves. Only the value of mu changes; pick the coefficient that matches your frequency or photon energy and use the same length unit for mu and x.