PhysicsLight
X-Rays: What They Are, How They Work and Their Uses

X-rays are high-energy electromagnetic waves with wavelengths of roughly 0.01 to 10 nm, between ultraviolet light and gamma rays. They pass easily through soft tissue but are absorbed by bone and metal, which is why an X-ray photograph shows a broken bone as a pale shadow. They are ionizing, so exposure is kept as low as practical.
Contents
What are X-rays?
X-rays are a kind of light that is invisible to the eye. Like visible light and radio waves, they are electromagnetic radiation, and they travel at the speed of light, 299,792,458 m/s in a vacuum. The difference is their wavelength. An X-ray has a wavelength of about 0.01 to 10 nm, which is far shorter than visible light at 400 to 700 nm.
Wavelength is measured in nanometers (nm), where 1 nm is 10⁻⁹ m. The SI unit is the meter, although X-ray wavelengths are often given in picometers (1 pm = 10⁻¹² m) or angstroms (1 Å = 0.1 nm) in physics and chemistry. Each X-ray photon carries more energy than a photon of visible light, and this energy is what lets X-rays pass through the body.
Physicists define X-rays by their origin and their energy, not only by wavelength. The term usually covers photons made when fast electrons slow down in matter or when electrons in atoms change energy levels. Photons from radioactive nuclei are called gamma rays, although the two ranges overlap.
How X-rays work
An X-ray machine produces X-rays by speeding up electrons with a high voltage and then stopping them quickly in a metal target. When a fast electron slows down, it gives off a photon, and when an electron inside an atom drops into a lower shell, the atom emits a photon with a very specific energy. Together these processes give an X-ray beam with a range of energies.
As the beam passes through the body, each material absorbs X-rays in a different amount. Bone and metal absorb a lot because their atoms contain many electrons and heavy nuclei. Fat and muscle absorb less, and air absorbs very little. A detector behind the patient records how many X-rays arrive at each point, and the pattern forms the image.
X-rays also scatter when they hit a crystal. The regular arrangement of atoms in a crystal sends scattered waves in particular directions, and this pattern can be measured to find the positions of the atoms. This technique, called X-ray crystallography, was used to find the structure of DNA and many other molecules.
The formula for X-ray energy
The energy of an X-ray photon is given by the same relation used for ultraviolet light:
E = h × c / λ
Here E is the photon energy in joules (J), h is the Planck constant, 6.62607015 × 10⁻³⁴ J·s, c is the speed of light, 299,792,458 m/s, and λ is the wavelength in meters. Because joules are very large units for single photons, the energy is usually given in electronvolts (eV), where 1 eV = 1.602176634 × 10⁻¹⁹ J.
Worked example: an X-ray with a wavelength of 0.1 nm (1 × 10⁻¹⁰ m) has an energy of about 1.99 × 10⁻¹⁵ J, which is about 12,400 eV or 12.4 keV. A shortcut is E in eV ≈ 1,240 ÷ λ in nm, which gives 1,240 ÷ 0.1 = 12,400 eV. A photon of this energy is far more energetic than one of visible light, which has only about 2 to 3 eV.
Everyday examples
X-rays are used in many places that people visit without thinking about the physics:
- Medical X-rays. A chest X-ray or a dental X-ray shows bones, teeth and some organs. The dose is small, and the image is usually checked by a doctor or dentist within minutes.
- CT scans. A CT scanner takes many X-ray images from different angles and a computer builds them into a three-dimensional picture of the body.
- Airport and parcel scanners. Security scanners pass X-rays through bags. Dense objects such as metal look dark, which helps staff spot weapons and other items.
- Checking welds and castings. Engineers use X-rays to look inside metal parts for cracks or air pockets without cutting them open.
- Crystal structure. Chemists use X-ray diffraction to find where atoms sit in a crystal, from table salt to proteins.
X-rays and gamma rays
The most common confusion is between X-rays and gamma rays. Both are high-energy electromagnetic waves, and the two ranges overlap in wavelength and energy. The difference is where the photon comes from. X-rays are produced by electrons, either when they slow down or when they move between energy levels in an atom. Gamma rays are produced inside the nucleus of an atom when it changes from an excited state to a lower one.
Because of this overlap, a single wavelength cannot always tell you which type of radiation you have. Scientists often describe the radiation by how it was made. The electromagnetic spectrum page shows how X-rays sit between ultraviolet light and gamma rays, and the gamma rays page explains the nuclear side of the story.
Who discovered them
Wilhelm Conrad Röntgen, a German physicist, discovered X-rays in November 1895 while studying electric discharges in a glass tube that had been evacuated of most of its air. He noticed that a screen coated with a fluorescent material glowed, even though the tube was covered with black card. He called the new radiation “X-rays” because their nature was unknown.
Röntgen soon showed that the rays could pass through his own hand and cast a shadow of the bones. Within months, doctors across Europe and North America were using X-ray photographs to find broken bones and bullets. In 1901 Röntgen received the first Nobel Prize in Physics. Later work by William Henry Bragg and William Lawrence Bragg showed that X-rays could be used to study crystal structures, and they shared the Nobel Prize in Physics in 1915.
Common mistakes and exam tips
- Thinking X-rays are a type of sound or radio wave. X-rays are electromagnetic radiation, like light, and they travel at the speed of light in a vacuum.
- Forgetting that X-rays are ionizing. The energy of an X-ray photon is large enough to remove electrons from atoms. Name this when you explain why radiation is limited in hospitals.
- Saying an X-ray image shows dense things as bright. On a classic X-ray, dense bone looks white because it stops more radiation, and the film or sensor is less exposed behind it. Check the direction of the contrast in exam questions.
Frequently asked questions
What are X-rays?
X-rays are a form of electromagnetic radiation with wavelengths of about 0.01 to 10 nm, shorter than ultraviolet light. They carry enough energy to pass through soft tissue, while dense materials such as bone and metal absorb more of them.
Who discovered X-rays?
Wilhelm Röntgen discovered X-rays in November 1895 while working with a glass vacuum tube in Würzburg. He received the first Nobel Prize in Physics in 1901 for the discovery.
Why do X-rays show bones?
Bone contains calcium, which is dense and absorbs many X-ray photons. Soft tissue lets more X-rays through, so the bone casts a lighter shadow on the detector and appears white on the image.
Are X-rays dangerous?
X-rays are ionizing radiation, so they can remove electrons from atoms and damage DNA at high doses. Medical and dental staff limit exposure with shielding such as lead aprons, distance and short exposure times.
What is the difference between X-rays and gamma rays?
Both are high-energy electromagnetic waves, and the two ranges overlap. X-rays come from electrons outside the nucleus, while gamma rays are emitted by the nucleus of an atom or by cosmic sources.
Sources and further reading
- The Nobel Prize, "Wilhelm Conrad Röntgen – Facts"
- OpenStax, "College Physics 2e"
- World Health Organization, "Radiation and Health"
- Encyclopaedia Britannica, "X-ray"
Cite this page
“X-Rays: What They Are, How They Work and Their Uses.” Atoms & Forces, https://science.bigworldlist.com/physics/x-rays/.