How does an X-ray work?
Balanced: enough X-rays get through the soft tissue to darken the image, while the bone stays bright white.
Overview
Short answer
An X-ray machine sends a brief burst of high-energy light through the body onto a detector. Calcium-rich bone absorbs far more X-rays than soft tissue, so bones cast white shadows while areas the X-rays pass through easily turn dark.
An X-ray picture is a shadow. A machine sends a brief burst of X-rays through your body onto a detector; your bones block more of them than your muscles do, so they cast a white shadow on a dark background.
Play with the figure, then press Next (or the → key) to go step by step.
X-rays are light we can't see
X-rays are electromagnetic waves, like visible light and radio, but with much shorter wavelengths and far more energy per photon. That energy lets them pass through soft materials that stop ordinary light. Wilhelm Röntgen discovered them by accident in 1895; within weeks doctors were using them to find bullets and broken bones.
Making X-rays
Inside the X-ray tube, a hot filament releases electrons, and a high voltage, typically 40,000–120,000 volts, slams them into a metal target such as tungsten. As they stop suddenly, a small fraction of their energy comes out as X-rays; the rest becomes heat, so the target spins or is cooled. The tube voltage (kV) sets how penetrating the X-rays are; the current and time (mAs) set how many there are.
Why bones show up white
X-rays are absorbed mainly by heavier atoms. Bone is rich in calcium, so it stops far more X-rays than muscle, fat and water, which are made mostly of light elements. Air in the lungs stops almost none. Where few X-rays reach the detector the image stays white; where many get through it turns dark. That is why bones look white, lungs look black, and soft tissue sits in between.
Choosing the settings
A hand needs low-energy X-rays for crisp bone detail. A chest X-ray uses higher energy to get through the whole body. Too little exposure gives a grainy image; too much is unnecessary dose. Modern digital detectors need far less radiation than old film, and radiographers choose the lowest dose that gives a clear picture.
Is it safe?
X-rays are ionising radiation, so doses are kept as low as possible. They are tiny for most scans: a chest X-ray gives roughly the same radiation you get from natural background sources in a few days, and a dental X-ray even less. CT scans, which take hundreds of X-ray images from all angles, give much more. Lead aprons shield parts of the body not being imaged.
Common myths
- "An X-ray makes you radioactive." No: the X-rays pass through you and are gone the instant the machine stops.
- "X-ray images are photographs of the inside." They are shadows of everything along the beam, overlapping, which is why doctors often take two views.
- "Airport scanners give a big dose." Body scanners mostly use millimetre waves, not X-rays, and bag scanners keep their X-rays inside a shielded tunnel.
Questions people ask
Why do I need to keep still for an X-ray?
Any movement during the exposure blurs the shadow, just as a moving subject blurs a photo.
What is the difference between an X-ray and a CT scan?
An X-ray is one shadow picture. A CT scanner rotates the X-ray tube around you, takes hundreds of images and uses a computer to build detailed cross-section slices.
Why do they ask if I might be pregnant?
Developing babies are more sensitive to radiation, so staff avoid unnecessary X-rays of the abdomen and use extra shielding or alternatives like ultrasound.
Why do metal objects need to be removed?
Metal blocks X-rays almost completely, casting bright white shapes that can hide what the doctor needs to see.
Can X-rays show soft tissue?
Only faintly. For organs and soft tissue, doctors often use a contrast dye that absorbs X-rays, or choose ultrasound or MRI instead.
Test yourself
Pick an answer for each question. Every answer comes with an explanation.
0/4 answered01Why do bones appear white on an X-ray?
02How are X-rays produced in the tube?
03What does raising the tube voltage (kV) do?
04Does an X-ray make you radioactive?
Sources & more
Sources
- X-ray (Wikipedia)(opens in a new tab)
- Radiography (Wikipedia)(opens in a new tab)
- X-ray tube (Wikipedia)(opens in a new tab)
- Radiation dose in X-ray and CT exams (RadiologyInfo.org)(opens in a new tab)
Last updated 2026-11-26
Keep exploring
- Health & MedicalExplore it
How does a pulse oximeter work?
- Health & MedicalExplore it
How does an infrared thermometer work?
- Health & MedicalExplore it
How does an MRI scanner work?
- Health & MedicalExplore it
How does ultrasound work?
- Health & MedicalExplore it
How does a hearing aid work?
- Health & MedicalExplore it
How does a blood pressure monitor work?