If you work with thin films and have access to an X-ray diffractometer with grazing incidence capabilities, choosing the right incidence angle is not just a detail, it determines whether you are actually probing your film or the substrate underneath. In this post, I walk through the theory and calculation of the X-ray penetration depth in Grazing Incidence X-ray Diffraction (GIXRD), using SnO as a worked example.
Why does the incidence angle matter?
In a conventional Bragg-Brentano (–
) XRD measurement, the X-ray beam penetrates several micrometers into the sample. For a thin film of tens or hundreds of nanometers, most of the diffracted signal comes from the substrate, not from your film.
GIXRD solves this by fixing the incident beam at a small grazing angle (typically 0.1°–5°) while scanning the detector in
. By controlling
, you control how deep the X-rays penetrate.
The key question becomes: at what angle does the penetration depth match my film thickness?
The penetration depth formula
For incidence angles well above the critical angle (), the penetration depth
defined as the depth at which the beam intensity drops to
of its surface value is given by:
where:
is the grazing incidence angle
is the linear absorption coefficient of your film material, in cm
This is the practical formula you will use. It tells you that the penetration depth increases linearly with and decreases with stronger absorption (larger
).
How to calculate the linear absorption coefficient (µ)
The linear absorption coefficient is not directly tabulated for compounds, you build it from elemental values using Bragg’s mixture rule. The procedure has three steps.
Step 1: Look up the mass absorption coefficients

For each element in your compound, find the tabulated mass absorption coefficient at your X-ray wavelength. These values are available in:
- International Tables for X-Ray Crystallography, Vol. 4, Appendix 8, pp. 61–66 (the classic reference).
- NIST Tables of X-Ray Mass Attenuation Coefficients: https://www.nist.gov/pml/x-ray-mass-attenuation-coefficients (Hubbell & Seltzer, NISTIR 5632).
Step 2: Calculate the compound mass absorption coefficient

Compute the weight fraction of each element:
where is the number of atoms of element
in the formula,
is the atomic mass, and
is the molecular weight.
Then apply the mixture rule:
Step 3: Multiply by the density
This gives you in cm
, ready to plug into the penetration depth formula.
Worked example: SnO
with Cu-K𝛼 radiation
Let’s calculate the penetration depth for a 60 nm SnO thin film measured with Cu-K
(
Å).
Step 1: Tabulated mass absorption coefficients
From the International Tables for X-Ray Crystallography, Vol. 4, Appendix 8, at Cu-K:
| Element | Atomic mass (g/mol) | |
| Sn | 118.71 | 253.3 |
| O | 15.99 | 11.03 |
Step 2: Weight fractions and compound mass absorption coefficient
Molecular weight of SnO:
Weight fractions:
Mass absorption coefficient of the compound:
Step 3: Linear absorption coefficient

Using the bulk density of SnO at room temperature,
g/cm
:
Penetration depth at different grazing angles
Now we can evaluate :
| 0.5 | 63 | ||
| 1.0 | 126 | ||
| 1.5 | 189 |
At , the penetration depth is ~63 nm which matches the 60 nm film thickness. This is the optimal grazing angle: the X-ray beam probes the entire SnO
layer with minimal substrate contribution.
At 1.0° and 1.5°, the beam penetrates 126 and 189 nm respectively well into the substrate, contaminating the diffraction pattern with substrate peaks.
Applying this to your own thin film
To adapt this calculation to any material and film thickness:
- Identify your compound’s chemical formula and density.
- Look up the elemental
values for your X-ray source (Cu-K
, Co-K
, Mo-K
, etc.) from the NIST tables or International Tables.
- Calculate
following Steps 1–3 above.
- Set
(your film thickness) and solve for the incidence angle:
This gives you the maximum grazing angle at which the X-ray signal is dominated by the film.
References
- Cullity, B.D. & Stock, S.R. Elements of X-Ray Diffraction, 3rd ed. Prentice Hall, 2001. — Chapter 1 covers absorption coefficients and the mixture rule.
- International Tables for X-Ray Crystallography, Vol. 4, Appendix 8. — Mass absorption coefficients \mu/\rho (cm^2/g) for all elements at common X-ray wavelengths.
- Hubbell, J.H. & Seltzer, S.M. “Tables of X-Ray Mass Attenuation Coefficients and Mass Energy-Absorption Coefficients.” NISTIR 5632 (1995). Available online: https://www.nist.gov/pml/x-ray-mass-attenuation-coefficients
Enjoying the content? Support the site by buying me a coffee!