Mass spectrometry is a technique that identifies and measures molecules by converting them into electrically charged particles, sorting those particles by weight, and counting them. It can detect substances at concentrations as low as picograms per liter, making it one of the most sensitive analytical tools in science. Every field from medicine to environmental monitoring relies on it to answer the same basic question: what’s in this sample, and how much?
The Core Idea: Weighing Molecules
Molecules are far too small to place on a scale. Mass spectrometry gets around this by turning them into ions, which are molecules that carry an electrical charge. Once charged, these ions can be pushed, pulled, and steered by electric or magnetic fields. The instrument measures each ion’s mass-to-charge ratio, abbreviated m/z. Since most ions produced in the process carry a single charge, the m/z value is effectively the molecule’s weight.
The result is a mass spectrum: a bar chart where the horizontal axis shows molecular weight and the vertical axis shows how many ions of that weight were detected. Each bar is a different molecule or molecular fragment. The tallest bar, called the base peak, represents the most common ion in the sample. A bar at the heaviest m/z value typically represents the intact molecule before it broke apart, known as the molecular ion.
Four Stages From Sample to Spectrum
Every mass spectrometer performs the same sequence, regardless of how large or sophisticated the instrument is.
Sample introduction. The substance enters the instrument either directly (as a solid or liquid injected on a probe) or after passing through a separation step. Complex mixtures like blood or wastewater are usually run through a chromatography system first, which spreads the mixture out over time so individual compounds arrive at the spectrometer one by one rather than all at once.
Ionization. Once inside, the sample molecules need an electrical charge. The method used depends on the type of molecule. Small, sturdy, easily vaporized compounds are typically hit with a beam of high-energy electrons, which knocks an electron off each molecule and creates a positive ion. This is called electron ionization, and it’s an aggressive process that also shatters molecules into fragments, producing a detailed fingerprint. Larger, more fragile molecules like proteins or sugars use gentler approaches. Electrospray ionization dissolves the sample in a liquid, sprays it through a charged nozzle, and produces intact ions that survive without breaking apart. It works in both positive and negative mode depending on the molecule’s chemistry, making it versatile for everything from drugs to DNA fragments.
Mass analysis. The charged ions are accelerated into the mass analyzer, where they’re separated by weight. This is the heart of the instrument, and several designs exist (more on these below). The principle is always the same: lighter ions behave differently from heavier ones when subjected to electric or magnetic fields, and that difference allows the instrument to sort them.
Detection. The sorted ions strike a detector that records both their mass and their abundance. The detector amplifies the tiny signal from each ion impact, and software converts the raw data into the spectrum you see on screen.
How Mass Analyzers Separate Ions
The analyzer is what gives each type of mass spectrometer its personality. The most common designs take fundamentally different approaches to the same problem.
A quadrupole analyzer uses four parallel metal rods with oscillating electrical fields between them. By tuning those fields, only ions of a specific weight can thread their way through to the detector. Everything else spirals into the rods and is lost. The instrument scans through different settings rapidly, letting one weight through at a time, to build the full spectrum. Quadrupoles are compact, reliable, and the workhorse of most clinical and environmental labs.
A time-of-flight (TOF) analyzer takes a simpler approach. It gives all ions the same push of energy, then measures how long each one takes to fly down a tube to the detector. Lighter ions arrive first, heavier ions arrive later. Because the measurement is just a race, TOF instruments can capture a complete spectrum in microseconds, making them ideal for fast-moving experiments.
An orbitrap traps ions in an electrostatic field where they orbit around a central electrode. Each ion oscillates at a frequency determined by its weight, and the instrument reads those frequencies to calculate mass with extraordinary precision. Orbitraps and a related design called Fourier transform instruments deliver the highest resolution available, capable of distinguishing molecules that differ by a fraction of a single atomic mass unit.
Tandem Mass Spectrometry: Breaking Molecules on Purpose
A single round of mass spectrometry tells you a molecule’s weight. Tandem mass spectrometry, often written MS/MS, goes further by telling you what the molecule is made of. The process uses two stages of mass analysis with a deliberate fragmentation step in between.
In the first stage, the instrument isolates an ion of a specific weight. That ion then enters a collision cell, where it smashes into an inert gas. The collisions break the ion into smaller fragments, each of which reflects a piece of the original molecule’s structure. The second stage of mass analysis separates and measures those fragments. The pattern of fragment weights acts like a jigsaw puzzle that reveals how the original molecule was built.
The most common instrument for this is the triple quadrupole, which lines up three quadrupole units: one to select the target ion, one filled with collision gas to break it apart, and one to analyze the fragments. This design is the standard in clinical toxicology labs, where it can identify and quantify hundreds of drugs or metabolites in a single blood sample.
Reading a Mass Spectrum
A mass spectrum of a simple compound like pentane (a component of gasoline) illustrates how interpretation works. The molecular ion appears at m/z 72, matching pentane’s molecular weight. But the base peak sits at m/z 43, meaning the most common event during ionization was the molecule snapping into a fragment weighing 43 units and another weighing 29. That split corresponds to the carbon chain breaking at a specific bond. Every other bar in the spectrum represents a different way the molecule fragmented.
For elements rather than compounds, the bars have a different meaning. Each one represents a different isotope. Carbon, for example, produces bars at m/z 12 and 13, corresponding to carbon-12 and carbon-13. Isotope ratio mass spectrometry measures the relative heights of those bars with a precision better than 0.08 parts per thousand. That level of accuracy allows geologists to date rocks, climate scientists to reconstruct ancient temperatures from ice cores, and investigators to trace the geographic origin of food or drugs.
Where Mass Spectrometry Is Used
The technique’s sensitivity and specificity make it essential across a striking range of fields. Modern instruments routinely detect substances at nanograms per liter, and some can quantify injected amounts at the sub-femtogram level, roughly a millionth of a billionth of a gram.
In forensic science, mass spectrometry identifies biological evidence at crime scenes by detecting signature proteins. Hemoglobin confirms a stain is blood. Alpha-amylase identifies saliva. Semenogelin and prostate-specific antigen confirm semen. Uromodulin points to urine. A single proteomic analysis can identify several biological materials in one mixed sample without destroying DNA evidence. Forensic toxicology labs use liquid chromatography paired with tandem mass spectrometry to screen blood for hundreds of drugs simultaneously.
In medicine, mass spectrometry screens newborns for metabolic disorders, monitors therapeutic drug levels, and identifies bacteria from patient cultures in minutes rather than the days required by traditional methods. Proteomics, the large-scale study of all the proteins in a cell or tissue, depends almost entirely on mass spectrometry. Researchers break proteins into peptide fragments, run them through the instrument, and use the resulting spectra to map which proteins are present and in what quantities.
Environmental testing labs use mass spectrometry to detect pesticides, industrial chemicals, and pharmaceutical residues in drinking water and soil at concentrations far below what any other method can reach. Because the instrument can distinguish nearly identical molecules by their exact mass or fragmentation pattern, it avoids the false positives that plague simpler detection methods.
Sample Preparation: Why It Matters
The instrument itself is remarkably sensitive, but that sensitivity becomes a liability if the sample is a mess. A drop of blood contains thousands of different proteins, salts, fats, and metabolites. Injecting it directly would overwhelm the instrument and suppress the signals from the molecules you actually care about.
Preparation typically involves removing the most abundant components that would dominate the analysis. For blood plasma, this often means stripping out a handful of highly concentrated proteins through affinity capture, essentially using antibodies to pull them out of solution. Ultrafiltration spins the sample through a membrane that separates large molecules from small ones, letting researchers focus on whichever fraction matters. For protein studies, samples may need to be chemically treated and digested into smaller peptide fragments before analysis. The goal in every case is the same: reduce complexity so the instrument can see the molecules that matter without being blinded by everything else.

