What Is EDX Analysis? Elemental Composition Explained

EDX analysis (energy dispersive X-ray spectroscopy) is a technique that identifies the chemical elements in a material and measures their concentrations. It works by firing a beam of electrons at a sample and analyzing the X-rays that bounce back, since each element produces X-rays with a unique energy signature. The technique is most commonly paired with a scanning electron microscope (SEM), letting you see a material’s structure and its chemical composition at the same time.

You’ll also see it called EDS, EDXS, or EDX spectroscopy. All refer to the same method. It’s widely used in materials science, geology, forensics, semiconductor manufacturing, and failure analysis, anywhere you need to know what a material is made of down to a spot just a few microns wide.

How EDX Works

The core principle is straightforward. When a high-energy electron beam hits a sample, it knocks out electrons from the inner shells of atoms in that material. These aren’t the outermost electrons involved in chemical bonding; they’re deeper, “core” electrons sitting close to the nucleus. Removing one leaves a hole, and an electron from a higher-energy shell immediately drops down to fill it. That drop releases energy in the form of an X-ray, and the energy of that X-ray is unique to the element it came from. Iron releases X-rays at different energies than copper, silicon, or oxygen. By measuring the energies of all the X-rays coming off a sample, the system identifies which elements are present.

The detector collects these X-rays and sorts them by energy, producing a spectrum: a graph with energy on the horizontal axis and intensity (how many X-rays were detected at each energy) on the vertical axis. Each element shows up as a distinct peak at its characteristic energy. The height of each peak reflects how much of that element is in the sample.

Reading the Spectrum: K, L, and M Lines

When you look at an EDX spectrum, you’ll see peaks labeled with letters like Kα, Lα, or Mβ. These labels describe which electron shells were involved in producing the X-ray. The K shell is closest to the nucleus, L is the next one out, and M is farther still. The Greek letters (α, β) indicate how big the electron jump was. A Kα peak, for instance, means an electron dropped from the L shell into a vacancy in the K shell. A Kβ peak means an electron fell from the M shell all the way down to the K shell, a larger jump that produces a higher-energy X-ray.

Lighter elements like carbon or oxygen typically show only K-line peaks because they don’t have enough electron shells for L or M transitions. Heavier elements like lead or gold produce a richer set of peaks across multiple shell transitions, which actually makes them easier to identify since there are more lines to match against known values.

What EDX Can Detect

In principle, EDX can detect every element from beryllium (atomic number 4) through uranium (atomic number 92). In practice, not all instruments are equipped to handle the very light elements below atomic number 10 (neon), which includes important elements like carbon, nitrogen, and oxygen. These light elements produce low-energy X-rays that are easily absorbed before they reach the detector, making them harder to measure accurately. If detecting light elements matters for your work, you’ll need an instrument with a thin or polymer window on the detector rather than the older beryllium window designs.

The detection limit for most elements sits around 0.1% by weight (0.001 mass fraction). Below that concentration, the signal becomes too faint to distinguish from background noise in a standard analysis.

Quantitative Accuracy

EDX doesn’t just tell you which elements are present. It estimates how much of each one is there, expressed as weight percentages. The accuracy depends heavily on the conditions. Under careful, optimized settings, major constituents (elements making up more than 10% of the sample) can be measured with relative errors below 2%. That’s comparable to the accuracy of wavelength dispersive spectroscopy (WDS), the older and more painstaking alternative.

In routine use, though, a survey across various instruments found that relative uncertainties of about 6% are more realistic for major constituents. For trace elements below 0.2 mass fraction, the uncertainty climbs significantly. To push accuracy toward that 2% mark, analysts typically keep X-ray count rates below a certain threshold, work at higher accelerating voltages (15 kV or above), avoid analyzing very low-energy peaks below 1 keV, and check energy calibration regularly.

ZAF Corrections

Raw X-ray intensity data doesn’t translate directly into accurate concentrations. The software applies a set of corrections known as ZAF, which accounts for three physical effects. Z corrects for atomic number differences between the sample and the reference standard, since heavier atoms scatter electrons differently. A corrects for absorption, because some X-rays get reabsorbed by the sample itself before escaping. F corrects for secondary fluorescence, where X-rays from one element excite atoms of another element and produce additional, misleading X-rays. These corrections happen automatically in modern software, but understanding that they exist helps explain why the same raw data can yield different results under different analysis conditions.

Element Mapping and Line Scans

Beyond point analysis (aiming the beam at a single spot), EDX can create spatial maps showing where each element is distributed across a surface. The electron beam scans across a defined area, collecting an X-ray spectrum at each pixel. The software then generates color-coded images where brightness represents concentration. If you’re looking at a cross-section of a corroded pipe, for example, you might see a map showing oxygen concentrated at the surface where rust formed, iron throughout the bulk metal, and chromium depleted near the corrosion boundary.

Line scans work similarly but along a single straight path. They produce a graph showing how element concentrations change from one point to another, which is particularly useful for analyzing coatings, diffusion zones, or interfaces between two different materials. The spatial resolution for both mapping and point analysis reaches down to a few microns, limited by the volume of material the electron beam interacts with beneath the surface.

Sample Requirements

Because EDX is typically performed inside a scanning electron microscope, samples need to survive a vacuum environment. Wet, oily, or outgassing materials can contaminate the vacuum chamber, so they usually need to be dried or stabilized first. The sample also needs to be small enough to fit on the SEM stage, generally a few centimeters across at most.

Non-conductive samples like ceramics, polymers, or biological tissue present a challenge. The electron beam deposits charge on their surfaces, which distorts imaging and can shift EDX peak positions. The standard fix is to coat the sample with an ultra-thin layer of conductive material. Carbon coating is preferred for EDX work because it’s a light element that won’t interfere with the detection of heavier elements of interest. Gold or platinum coatings, common for SEM imaging, will add their own peaks to the spectrum and can obscure nearby element signals.

One advantage of EDX is that it’s essentially nondestructive. The electron beam may cause minor surface damage at high magnifications, but the sample remains intact enough for further testing. This makes EDX a good first step in a multi-technique characterization workflow, where you identify elemental composition before moving on to crystal structure analysis or mechanical testing.

Where EDX Is Used

In manufacturing, EDX routinely checks that alloys meet their specified compositions and identifies contamination sources when products fail. Semiconductor fabs use it to verify thin film compositions and detect unwanted impurities at interfaces. Geologists analyze mineral samples to determine their elemental makeup without dissolving them in acid. Forensic labs examine gunshot residue, paint chips, and glass fragments to link evidence to crime scenes.

Failure analysis is one of the most common applications. When a weld cracks, a coating peels, or corrosion appears unexpectedly, EDX can reveal whether the wrong material was used, whether a contaminant is present, or whether elements have migrated across boundaries during heat treatment. The combination of SEM imaging (showing the physical structure of the failure) with EDX composition data often provides enough information to determine the root cause without additional testing.

Limitations to Keep in Mind

EDX is fast and versatile, but it has real limitations. It cannot distinguish between different chemical compounds that contain the same elements. A sample containing calcium carbonate and calcium oxide would show peaks for calcium, carbon, and oxygen in both cases, but EDX alone can’t tell you which compound is present. For that, you’d need a complementary technique like X-ray diffraction.

Light element analysis remains a weak point. Hydrogen and helium are completely invisible to EDX, and lithium is at the very edge of detectability on specialized systems. Even for detectable light elements, quantitative accuracy drops off compared to heavier elements. The technique is also a surface and near-surface method. The electron beam penetrates roughly 1 to 5 microns into the sample depending on the material and beam energy, so EDX reflects the composition of that interaction volume rather than the deep bulk of the material.