How SEM-EDX Analysis Works for Elemental Composition

SEM-EDX combines a scanning electron microscope with an energy-dispersive X-ray detector to identify what elements are present in a sample and where exactly they sit on its surface. The electron beam hits the specimen and knocks inner-shell electrons out of atoms; when outer-shell electrons drop down to fill those vacancies, each element releases X-rays at characteristic energies, producing a fingerprint that the detector reads. The result is both a high-magnification image and an element-by-element chemical map, all from the same instrument in a single session. That dual capability has made SEM-EDX one of the most widely used microanalysis tools across materials science, geology, forensics, biology, and environmental monitoring.

How the Electron Beam Generates Chemical Information

A scanning electron microscope focuses a beam of electrons onto a tiny spot on the sample and rasters it across the surface. Most of the signals people associate with SEM imaging come from secondary electrons or backscattered electrons bouncing off the specimen. EDX exploits a different interaction entirely: when a beam electron has enough energy, it can eject an inner-shell electron from an atom in the sample. That atom is left in an unstable, excited state. Almost immediately, an electron from a higher energy level drops into the vacancy, and the energy difference is emitted as an X-ray photon. Because each element has a unique set of electron energy levels, the X-ray energies it emits are distinctive. A silicon atom produces X-rays at different energies than an iron atom or a calcium atom, so sorting those X-rays by energy amounts to sorting atoms by identity.

The EDX detector sits inside the microscope chamber, angled to catch as many of these characteristic X-rays as possible. It converts each incoming photon into an electrical pulse whose size is proportional to the photon’s energy. Software bins those pulses into a spectrum with peaks at specific energies, and matching peaks to known values tells you which elements are there. If you hold the beam on one spot, you get a point analysis. Raster it across an area while recording spectra pixel by pixel, and you build an elemental map showing, for instance, that sulfur concentrates along grain boundaries while chromium is evenly distributed through the bulk.

What SEM-EDX Can and Cannot See

The technique reliably detects elements from sodium (atomic number 11) through uranium and beyond. Heavier elements produce higher-energy, well-separated X-ray peaks that are straightforward to identify. The trouble starts with light elements: carbon, nitrogen, and oxygen. Their characteristic X-rays are low in energy and easily absorbed before reaching the detector, which makes them hard to measure accurately. For years it was widely assumed that EDX simply could not give useful information about these elements, especially in small particles.

That reputation turns out to be partly outdated. Research has shown that switching from the traditional polycarbonate filter or bulk carbon substrate to ultrathin grid-supported carbon films dramatically lowers the background signal, enabling reliable automated analysis of particles as small as 0.1 micrometers and meaningful detection of carbon, oxygen, nitrogen, sodium, sulfur, aluminum, silicon, and chlorine in those particles.1PubMed. Automated single-particle SEM/EDX analysis of submicrometer particles down to 0.1 microm Separate work in transmission electron microscopy has pushed light-element quantification further by pairing windowless silicon drift detectors with custom data-processing routines, successfully quantifying carbon, nitrogen, and oxygen in meteorite samples.2PubMed. Light Element (C, N, O) Quantification by EDXS: Application to Meteorite Water Content and Organic Composition So the limitation is real but shrinking, and the practical ceiling depends heavily on sample preparation and detector hardware.

Detection limits also depend on particle size. Below roughly half a micrometer, the electron beam’s interaction volume can extend beyond the particle into whatever substrate lies beneath, mixing the particle’s signal with substrate signal. The ultrathin-film approach mentioned above pushes that boundary down to around 100 nanometers for automated single-particle work, but there is still a floor below which the particle simply does not generate enough characteristic X-rays to produce a clean spectrum.

From Peaks to Percentages

Identifying which elements are present is one thing. Figuring out how much of each element is there is considerably harder. A raw EDX spectrum does not directly translate to composition because the intensity of an element’s X-ray peak depends on more than just concentration. The surrounding matrix affects how deeply the beam penetrates, how much the generated X-rays are absorbed on their way out, and whether fluorescence from one element excites additional X-rays from a neighbor. These interactions are collectively called matrix effects, and ignoring them can throw off results by many weight percent.

The standard correction approach applies what are known as ZAF factors, accounting for atomic number effects (Z), absorption (A), and fluorescence (F). Traditional ZAF correction compares peak intensities from the unknown sample against those from known standards of similar composition measured under the same conditions. A newer alternative, the f-ratio method, builds pre-constructed models relating intensity ratios to concentration for individual elements, then introduces ZAF factors to handle matrix differences between the standard and the unknown. Recent work has demonstrated that this approach achieves satisfactory precision across binary and ternary systems.3PubMed. Optimisation of EDS quantitative f-ratio method via ZAF correction

For irregularly shaped samples like airborne particles, standard ZAF correction can struggle because the assumptions about a flat, polished surface break down. Monte Carlo simulations offer an alternative by modeling how electrons actually scatter through a particle of known geometry. Testing on calcium carbonate particles ranging from 0.3 to 10 micrometers, one Monte Carlo quantitative program achieved average relative errors better than 2.5 weight percent, including carbon.4PubMed. Evaluation of quantitative procedures for X-ray microanalysis of environmental particles That is not perfect, but it is far better than the rough semi-quantitative estimates that EDX sometimes gets pigeonholed as providing.

When Sample Preparation Goes Wrong

One underappreciated source of error is electrical charging. Many samples of practical interest are poor electrical conductors: ceramics, polymers, biological tissues, mineral grains embedded in epoxy. When the electron beam hits these materials, charge builds up on the surface because there is no easy path to ground. That accumulated charge repels incoming electrons, effectively lowering the energy with which they strike the sample. The result is a spectrum where the background drops and the higher-energy characteristic peaks weaken or vanish, skewing any quantitative analysis.5Ultramicroscopy. Artifacts of specimen charging in X-ray microanalysis in the scanning electron microscope

The classic fix is coating the sample with a thin conductive layer, usually carbon or gold, before putting it in the microscope. Carbon coating is preferred for EDX work because a gold coat would add gold peaks to every spectrum you collect. But coating is not always desirable: it can obscure surface features, and on rough or porous samples the coating thickness may be uneven, introducing its own artifacts. Fortunately, many resistive samples develop only a small surface potential under the beam, and for those the charging effect on the spectrum is negligible. The practical advice is to test whether an uncoated sample charges noticeably before assuming a coating is necessary.

Beyond charging, sample preparation choices affect what you can detect. Embedding biological tissue in resin introduces carbon and oxygen that can swamp the signal from those same elements in the tissue itself. Polishing a metallographic sample with alumina abrasive can leave residual aluminum on the surface, producing a false aluminum peak. Cryo-fixation, where the sample is rapidly frozen and examined at cryogenic temperatures, avoids many of these problems for hydrated or biological specimens but requires specialized equipment.

Forensics and Gunshot Residue

SEM-EDX is the gold standard for gunshot residue (GSR) analysis in forensic science. When a firearm is discharged, the primer ignites and produces a cloud of tiny particles, typically spherical and a few micrometers across, whose elemental composition reflects the primer and propellant chemistry. Classic lead-based primers produce particles containing lead, barium, and antimony in a characteristic combination that is difficult to explain by any other source. An automated SEM-EDX system can scan a sample stub collected from a suspect’s hands, detect every particle that matches a given morphological profile, and record the elemental spectrum of each one.

Research has established reliable relationships between the chemical and morphological properties of GSR particle populations and factors like ammunition type, distance from the gun muzzle, the substrate the particles land on, and the time between firing and collection.6PubMed Central. Scanning electron microscopy and X-ray microanalysis for chemical and morphological characterisation of the inorganic component of gunshot residue: selected problems This makes it possible not just to confirm that a residue is from a firearm but to narrow down the type of ammunition.

The shift toward lead-free ammunition complicates things. When Brazilian lead-free ammunition was analyzed by SEM-EDX, the first-generation product produced spherical particles with strontium as the only unique marker, while the second generation produced irregular particles composed mostly of potassium, aluminum, silicon, and calcium. Those elements are common in everyday dust, soil, and building materials. The researchers concluded that identifying GSR from the second-generation lead-free rounds on a suspect’s hands could be impossible without the manufacturer adding a distinct metallic taggant to the primer.7Forensic Science International. SEM/EDS analysis and characterization of gunshot residues from Brazilian lead-free ammunition This is a real and growing challenge for crime labs as lead-free ammunition becomes more common worldwide.

Air Quality and Environmental Monitoring

Airborne particulate matter is a complex mix of soot, mineral dust, sea salt, industrial emissions, and biological debris. Bulk chemical analysis of a filter sample tells you the average composition of everything collected, but it cannot distinguish a sulfate-coated soot particle from a separate calcium sulfate grain. SEM-EDX can, because it examines particles one at a time, recording size, shape, and elemental makeup for each.

Automated single-particle SEM-EDX analysis of aerosol samples at a highly urbanized coastal site demonstrated the ability to track rapid changes in particle chemistry during a pollution event, with a minimum of about 1,000 particles per impaction stage needed to yield representative results.8Journal of Physics: Conference Series. Application of single particle analysis performed by SEM-EDX to air quality studies By classifying thousands of particles into chemical groups, researchers can reconstruct what sources are contributing to pollution at a given place and time.

One urban study classified particles by elemental composition and morphology into groups including silicates, aluminosilicates, calcium-rich particles, chloride particles, iron and titanium oxides, carbonaceous particles, sulfates, and biogenic material. Carbonaceous particles dominated at about half the population, followed by aluminosilicates at roughly a quarter, pointing to vehicular emissions and biomass burning as leading sources alongside soil dust, construction activity, and biological material.9PubMed Central. On the Morphology and Composition of Particulate Matter in an Urban Environment This kind of source apportionment is difficult to achieve with any other single technique at the individual-particle level.

Geology, Mining, and Automated Mineralogy

Petrologists have long used optical microscopy to identify minerals in thin sections, but distinguishing minerals with similar optical properties can be tedious and subjective. Automated mineralogy systems, which are essentially SEM-EDX platforms with dedicated classification software, address this by scanning a polished section, acquiring a backscattered electron image to identify distinct phases, and collecting an EDX spectrum from each phase to determine its chemistry. The software then matches each spectrum against a mineral database and assigns a classification.10Geostandards and Geoanalytical Research. A Step Forward in Quantitative Automated Mineralogy in 2D and 3D

In mining, this approach is used for ore characterization: knowing the mineral assemblage, grain sizes, and how valuable minerals are physically associated with gangue (waste) minerals helps engineers design more efficient extraction processes. A rock that looks homogeneous under an optical microscope might turn out to contain fine intergrowths of copper sulfide and iron sulfide that only automated SEM-EDX mapping can resolve at the scale that matters for flotation recovery. The speed of modern systems, capable of classifying tens of thousands of grains per hour, makes them practical for routine process control rather than purely academic research.

Biological Specimens and Cryo-SEM-EDX

Living tissues are full of water, dissolved ions, and organic molecules, none of which survive the high vacuum and electron bombardment of a conventional SEM in their natural state. Standard preparation methods like chemical fixation and dehydration redistribute or remove mobile ions, making it impossible to map where sodium, potassium, calcium, or magnesium were actually located in the living cell. Cryo-fixation bypasses this problem by flash-freezing the specimen so fast that water vitrifies rather than forming ice crystals, locking ions in place.

Researchers have developed cryo-SEM-EDX protocols that provide quantitative elemental analysis of frozen-hydrated specimens while preserving spatial information. One group used this approach to characterize unusual magnesium-calcium particles inside the cells of foraminifera, tiny marine organisms that build calcium carbonate shells.11PubMed. Characterization of unusual MgCa particles involved in the formation of foraminifera shells using a novel quantitative cryo SEM/EDS protocol Another team applied cryo-SEM-EDX alongside cryo-STEM-EDX to reconstruct the ion composition inside vesicles in sea urchin larval cells, revealing how ions are trafficked and stored on their way to becoming skeletal mineral.12PubMed. Elemental compositions of sea urchin larval cell vesicles evaluated by cryo-STEM-EDS and cryo-SEM-EDS This “inorganic side of life,” as the field sometimes frames it, has been generally overlooked precisely because the analytical tools to study it in near-physiological conditions did not exist until relatively recently.

Art Conservation and Cultural Heritage

Museum conservators need to know what pigments, binders, and ground layers make up a painting before they can safely clean, stabilize, or restore it. SEM-EDX lets them examine a tiny cross-section of paint, often a chip smaller than a grain of sand, and map elements layer by layer. An analysis of wooden paintings from the Cangjie Temple in Shaanxi, China used SEM-EDX alongside Raman spectroscopy and other methods to confirm that the pigments included cinnabar (mercury sulfide for red), lapis lazuli (a sodium-calcium aluminosilicate for blue), lead white, Paris green (a copper-arsenic compound), and carbon black.13PubMed Central. Material and Microstructure Analysis of Wood Color Paintings from Shaanxi Cangjie Temple, China Knowing that Paris green is present, for instance, matters because it is toxic and chemically reactive, which affects both conservation strategy and handling safety.

SEM-EDX is particularly valuable in heritage science because it is largely non-destructive at the scale of the object: you need only a micro-sample, and the analysis itself does not consume the material. It also does not require the sample to be dissolved or otherwise chemically altered, which preserves the layer structure that tells conservators about the artist’s technique and any later overpainting or restoration campaigns.

Moving Into Three Dimensions

Standard SEM-EDX produces two-dimensional maps. For samples where the internal three-dimensional distribution of elements matters, two main strategies exist. One is focused ion beam (FIB) serial sectioning: a gallium ion beam mills away a thin slice of the sample, the freshly exposed face is imaged and mapped by SEM-EDX, then another slice is removed, and so on. Stacking the resulting maps produces a 3D reconstruction. This approach has been used to image the three-dimensional morphology of nanometer-scale precipitates in nickel superalloys, where the shape of strengthening particles controls the alloy’s high-temperature performance.14Materials Characterization. Imaging and characterization of γ′ and γ″ nanoparticles in Inconel 718 by EDX elemental mapping and FIB–SEM tomography

A different route to 3D is array tomography, where the sample is embedded in resin, cut into a ribbon of ultrathin serial sections by an automated ultramicrotome, and each section is mapped by SEM-EDX. This has been adapted for polymer-containing multiphase samples, achieving submicron spatial resolution in three dimensions.15Microscopy and Microanalysis. EDX Array Tomography: 3D Imaging With Chemical Sensitivity and Submicron Resolution Through Ultramicrotomy and SEM-EDX Mapping FIB sectioning is better suited for hard, dense materials and gives finer slice spacing, while array tomography can handle softer, more heterogeneous samples and covers larger volumes, so the choice depends on the material and the question.

Machine Learning for Noisy Data

EDX maps are inherently noisy. Each pixel has a limited dwell time, so the number of X-ray counts per pixel is small, and the spectrum at any single pixel is grainy. Averaging over a large region improves statistics but sacrifices the spatial resolution that makes mapping valuable in the first place. This tension between resolution and signal quality is one of the technique’s fundamental trade-offs.

Machine learning approaches are beginning to address it. One method uses blind source separation via non-negative matrix factorization to decompose an entire EDX spectrum image into a small number of source components without any prior knowledge of what is present. Applied to metal alloy nanowires on a semiconductor surface, the algorithm automatically separated the X-ray signal from the nanostructures, the bulk substrate signal, and the carbon background, yielding quantitative composition maps at the nanoscale.16PubMed. Retrieving the Quantitative Chemical Information at Nanoscale from Scanning Electron Microscope Energy Dispersive X-ray Measurements by Machine Learning

More recent work has introduced a pan-sharpening variant of this factorization approach, specifically tailored to the Poisson noise statistics that govern X-ray counting. By performing consecutive factorizations at different binning levels, the method retrieves cleaner phase signatures and spatial maps than principal component analysis, which has been the standard denoising workhorse. Validation on both synthetic and experimental datasets, including a nanomineralogical lamella and supported catalytic nanoparticles, showed lower noise and better fidelity in the reconstructed data.17PubMed Central. Leveraging Machine Learning for Advanced Nanoscale X-ray Analysis: Unmixing Multicomponent Signals and Enhancing Chemical Quantification These tools are not yet standard in commercial software packages, but they point toward a future where EDX maps can be collected faster and still yield reliable quantitative results.

EDX Versus WDX and Newer Detector Technologies

SEM-EDX is not the only way to do X-ray microanalysis. Wavelength-dispersive X-ray spectroscopy (WDX, sometimes called WDS) uses a crystal to diffract X-rays by wavelength rather than sorting them by energy with a semiconductor detector. The payoff is much sharper peaks and lower detection limits, which matters when you need to distinguish elements whose X-ray energies are close together or when trace concentrations matter. The cost is speed: WDX measures one wavelength at a time, so mapping an area for multiple elements takes considerably longer than EDX, which captures the entire spectrum at once.

The latest generation of EDX detectors are silicon drift detectors (SDDs), which handle much higher count rates and can be made with larger active areas than the older lithium-drifted silicon detectors they replaced. SDDs also operate at modest cooling rather than requiring liquid nitrogen, making them more practical for routine use. Even with these improvements, the energy resolution of a standard SDD is still several times worse than a wavelength-dispersive spectrometer, meaning overlapping peaks remain a real challenge for certain element pairs.

An emerging technology aims to bridge the gap: superconducting tunnel junction (STJ) array detectors. These cryogenic detectors combine high throughput with energy resolution approaching that of wavelength-dispersive spectrometers. One prototype achieved counting rates for nitrogen K-alpha X-rays comparable to a wavelength-dispersive setup, while retaining the broadband advantage of an energy-dispersive system.18X-Ray Spectrometry. Development of an energy‐dispersive X‐ray spectroscopy analyzer employing superconducting tunnel junction array detectors toward nanometer‐scale elemental mapping These detectors are still research instruments, not commercial products, but they hint at a future where the EDX-versus-WDX compromise becomes less stark.