Compton Scattering Calculator
Find the scattered wavelength, the shift and the energy lost by a photon when it bounces off an electron.
What it does
Compton scattering is what happens when an X-ray or gamma ray hits an electron and bounces off with a slightly longer wavelength. It was the first experiment that showed light behaves like particles, and it is the reason a photon is treated as a packet of energy with momentum rather than as a smooth wave.
OpenStax University Physics explains the measurement: when X-rays scatter off graphite, the scattered radiation shows a peak at the incident wavelength and a second peak at a longer wavelength, and the separation between the two depends on the angle of the outgoing beam. Compton's explanation was that the valence electrons in graphite behave as free electrons, that the incident radiation is a stream of photons, and that each photon hands its energy to one electron.
The formula that falls out of conservation of energy and momentum is short. The wavelength shift is the Compton wavelength of the electron times one minus the cosine of the scattering angle, and the Compton wavelength is just the Planck constant over the electron mass times the speed of light. Because that constant is a property of the electron and not of the light, the shift in any given direction is the same for every photon, which is exactly what the experimental data showed.
This page runs that formula. Give it the incident wavelength and the scattering angle, and it returns the scattered wavelength, the size of the shift, the energy of the outgoing photon and the kinetic energy the electron picks up. It also shows the Compton wavelength itself, so you can see how much of the shift comes from that constant.
The model assumes the electron is free and initially at rest, which is a good description for the outer electrons of a light atom such as carbon but not for tightly bound electrons in heavy atoms. Those give a different, much smaller shift, and the experimental spectra show a second, sharper peak for them. The page also assumes a single scattering event, since a photon that scatters twice has two shifts added together.
How to use
- Choose the unit for the wavelength. Picometres suit X-ray work, nanometres suit visible light and gamma rays are often quoted in angstroms.
- Enter the wavelength of the photon that hits the electron.
- Enter the scattering angle, which is the angle between the incoming beam and the direction you detect the scattered beam.
- Read the scattered wavelength and the shift, then the energy the photon keeps.
- Read the energy the electron takes, which is the difference between the incoming and outgoing photon energy.
- Compare the shift with the Compton wavelength: at 90 degrees they are equal, and at 180 degrees the shift is twice that value.
Formula
- lambda
- Incident photon wavelength.
- lambda'
- Wavelength of the scattered photon.
- theta
- Scattering angle between the incident and the outgoing photon.
- h
- Planck's constant, 6.62607015e-34 J s.
- m
- Electron rest mass, 9.1093837015e-31 kg.
The constant in the shift is fixed by the electron, which is why a 0.1 nm photon and a 0.001 nm photon shift by the same amount at the same angle, even though the first carries far more energy. The shift can never exceed two Compton wavelengths, which happens for a backscattered photon at 180 degrees. The constants used here are the CODATA values from NIST.
Worked example
Example: a 0.1 nm photon scattered at 90 degrees
Defaults: nanometres, an incident wavelength of 0.1 nm and a scattering angle of 90 degrees.
- The Compton wavelength of the electron is h / (m c) = 2.42631023867e-12 m, which is 2.4263 pm.
- The shift at 90 degrees is 2.4263 pm x (1 - cos 90 degrees) = 2.4263 pm x 1 = 2.4263 pm.
- The scattered wavelength is 0.1 nm + 0.0024263 nm = 0.1024 nm.
- The incoming photon carries h c / lambda = 12.3984 keV.
- The outgoing photon carries h c / lambda' = 12.1047 keV.
- The electron takes the difference: 12.3984 - 12.1047 = 0.2937 keV of kinetic energy.
- The tool shows 0.1024 nm, 2.4263 pm, 12.1047 keV, 0.2937 keV and a Compton wavelength of 2.4263 pm.
Reference table
| Scattering angle | Shift | Scattered photon energy | Energy taken by the electron |
|---|---|---|---|
| 0 degrees | 0.0000 pm | 12.3984 keV | 0.0000 keV |
| 30 degrees | 0.3251 pm | 12.3582 keV | 0.0402 keV |
| 45 degrees | 0.7106 pm | 12.3109 keV | 0.0875 keV |
| 60 degrees | 1.2132 pm | 12.2498 keV | 0.1486 keV |
| 90 degrees | 2.4263 pm | 12.1047 keV | 0.2937 keV |
| 120 degrees | 3.6395 pm | 11.9630 keV | 0.4354 keV |
| 180 degrees | 4.8526 pm | 11.8246 keV | 0.5738 keV |
Limits
- The model treats the electron as free and at rest, so it does not describe the sharper peak from tightly bound electrons in heavy atoms.
- Only one scattering event is included. A photon that scatters twice has the shift applied twice.
- The electron is treated as non-relativistic in the recoil, which is fine for the energy transfers involved but not for very high energy photons.
- Pair production and other photon processes are outside the scope of this calculation.
Common mistakes
- Expecting the shift to scale with the incident wavelength. It does not, and that is the point of the experiment.
- Using the Compton shift at 0 degrees. A photon that goes straight through is not scattered, so the shift is zero there.
- Forgetting that the photon loses energy rather than gaining it. The shift in wavelength goes up and the energy goes down.
- Mixing up the angle of the electron with the angle of the photon. The photon angle sets the shift, and the electron carries the rest.
- Applying the formula to a photon scattering off a nucleus, where the mass is far larger and the shift is negligible.
Try it yourself
Quick checks. Answers sit tucked under each question.
What is the Compton shift for a photon scattered at 60 degrees?
1.2132 pm. The shift is 2.4263 pm x (1 - cos 60 degrees) = 2.4263 pm x 0.5 = 1.2132 pm.
How much longer is the wavelength after a 180 degree scatter?
4.8526 pm, which is twice the Compton wavelength of 2.4263 pm, because 1 - cos 180 degrees equals 2.
A 0.1 nm photon scatters at 45 degrees. How much energy goes to the electron?
0.0875 keV. The shift is 0.7106 pm, so the scattered photon carries 12.3109 keV out of the original 12.3984 keV.
Questions
What is the Compton effect?
The scattering of a photon by a free electron, in which the photon leaves with a longer wavelength and the electron picks up the missing energy. It is direct evidence that light comes in quantised packets.
What is the Compton wavelength?
The Planck constant divided by the electron mass and the speed of light, which gives 2.42631023867e-12 m. It is the natural unit of the effect and sets the largest possible shift.
Why does the shift not depend on the incident wavelength?
Because the shift is set by the electron and the angle alone. That independence was the striking prediction that Compton made and that the measurements confirmed.
What is the maximum possible shift?
Two Compton wavelengths, 4.8526 pm, for a photon scattered straight back at 180 degrees. A larger shift is impossible in this model.
Where does the energy of the scattered photon go?
Into the kinetic energy of the recoiling electron. Energy is conserved, so the photon loses exactly what the electron gains.
Does this apply to visible light?
The formula does, but the shift of 2.4263 pm is negligible next to a visible wavelength of about 500 nm, which is why ordinary light is not noticeably shifted by scattering.
Sources
- OpenStax University Physics Volume 3, 6.3: the Compton effect and the Compton shift
- University of York: Introduction to Quantum Physics, section on Compton scattering
- NIST: CODATA values of the fundamental constants