What a Mass Spectrometer Actually Measures
Despite the name, a mass spectrometer never measures mass directly. What it measures is the mass-to-charge ratio, written m/z, where m is the ion's mass and z is the number of elementary charges it carries. The reason is purely practical: every method used to manipulate and detect a molecule inside the instrument, whether accelerating it in an electric field or bending its path in a magnetic one, responds to the force on a charge, and that force depends on both mass and charge together, not mass alone. A molecule that has lost two electrons behaves very differently from an identical molecule that lost only one, even though their masses are almost the same, because the doubly charged ion feels twice the accelerating force. This is why every peak in a mass spectrum is labeled with an m/z value rather than a mass value, and why chemists must know or infer the charge state z before they can convert a measured m/z back into an actual molecular mass. For most small organic molecules ionized to a single charge, z equals 1 and m/z is numerically very close to the molecular mass in atomic mass units, but for large biomolecules like proteins, which can pick up many charges at once, this distinction becomes essential to interpreting the data correctly.
Turning a Neutral Molecule into a Chargeable Projectile
Before anything can be accelerated or timed, the sample has to be converted into gas-phase ions, since electric fields have no grip on a neutral molecule. Two ionization techniques dominate modern mass spectrometry. Electrospray ionization (ESI) pushes a liquid sample through a fine, highly charged needle, forming a spray of tiny charged droplets; as the solvent evaporates, the charge concentrates until the droplets fissure again and again, eventually leaving behind bare, gently charged molecular ions, often carrying multiple charges for large molecules. Matrix-assisted laser desorption/ionization (MALDI) instead mixes the sample with a light-absorbing matrix compound, crystallizes it on a metal plate, and blasts it with a short laser pulse; the matrix absorbs the laser energy, explosively vaporizes, and carries the sample molecules into the gas phase already charged, typically with a single charge. Both methods are prized as soft ionization techniques because they add or remove charge without shattering the fragile molecule apart, which matters enormously for identifying large, delicate biomolecules like intact proteins that would fall apart under harsher ionization methods.
From Voltage and Distance to a Stopwatch Reading
Once ionized, the molecule enters the heart of a time-of-flight (TOF) analyzer: an accelerating region followed by a long, field-free flight tube held under vacuum. An ion carrying charge q is accelerated through a fixed voltage V, and the work done on it, qV, converts entirely into kinetic energy, so qV = one half times mass m times velocity squared, or qV = (1/2) m v squared. Solving for velocity gives v = the square root of (2qV divided by m). Every ion accelerated through the same voltage V therefore leaves the acceleration stage with a velocity that depends only on its own m/q ratio: lighter ions and more highly charged ions are flung out faster, heavier or less charged ions leave more slowly. The ion then coasts at that constant velocity down a flight tube of fixed length L, free of any further force, so the time it takes to reach the detector is simply t = L divided by v. Substituting the expression for v gives the central time-of-flight equation: t = L times the square root of (m divided by (2qV)). Squaring both sides and rearranging shows that m/q is proportional to t squared, specifically m/q = (2V divided by L squared) times t squared, which means the instrument can convert a single, precisely measured arrival time directly into a mass-to-charge ratio using nothing more than the known voltage V and the known tube length L. Because heavier ions of the same charge take measurably longer to cross the tube, sorting arrival times is equivalent to sorting molecules by mass.
Reading a Mass Spectrum: Mass and Structure Together
The detector at the end of the flight tube records how many ions strike it at each arrival time, which the instrument's software converts into a mass spectrum: a plot of ion abundance on the vertical axis against m/z on the horizontal axis. The tallest, simplest spectra show one dominant peak corresponding to the intact molecular ion, and its m/z, once the charge state is known, gives the molecule's mass directly, often precisely enough to distinguish between candidate molecular formulas that differ by only a fraction of an atomic mass unit. But molecules frequently break apart during or after ionization, especially when extra energy is deliberately added in a technique called tandem mass spectrometry, and the resulting spray of smaller fragment ions each produce their own peak at their own m/z. Because a molecule tends to break at its weakest chemical bonds, the pattern of fragment masses acts like a set of puzzle pieces: the mass differences between neighboring fragment peaks reveal which pieces, such as a specific amino acid residue or a methyl group, were chained together in the original structure. Reading a mass spectrum is therefore a two-level exercise, first pinning down the overall molecular mass from the intact ion peak, then reconstructing structural connectivity from the ladder of fragment peaks beneath it.
From the Lab Bench to the Real World
Time-of-flight mass spectrometry, and mass spectrometry more broadly, has become indispensable across science precisely because it identifies molecules from vanishingly small samples with high precision. In proteomics, researchers digest proteins into short peptides, measure their masses and fragmentation patterns, and match the results against genome-derived databases to identify which proteins were present in a cell or tissue sample, often thousands at once. In anti-doping testing for sports, mass spectrometry detects trace amounts of banned substances or their metabolic byproducts in athlete urine and blood samples at concentrations far below what other techniques can reliably distinguish from background noise. In forensic science, it identifies unknown powders, residues, and drugs recovered from crime scenes by comparing their fragmentation fingerprints against reference libraries, providing evidence that can stand up in court. And in isotope ratio analysis, high-precision mass spectrometers separate atoms differing by only one or two neutrons, such as carbon-12 versus carbon-13, to date archaeological samples, trace the geographic origin of food and wine, or reconstruct ancient climate records locked into ice cores and sediment layers.
Frequently asked questions
Why does a mass spectrometer report m/z instead of just mass?
Because every stage of the instrument, from acceleration to detection, responds to the force an electric or magnetic field exerts on a charge, and that force depends on mass and charge together. Two ions of identical mass but different charge states travel at different speeds and strike the detector at different times, so the raw measurement is inherently a ratio, m/z, not mass alone. Converting a measured m/z back into a true molecular mass requires separately determining the charge state z.
Why do TOF instruments need a vacuum?
If the flight tube contained ordinary air, ions would constantly collide with gas molecules, scattering off course and losing kinetic energy unpredictably. Since the entire measurement relies on ions traveling at a constant, mass-dependent velocity over a precisely known distance, even occasional collisions would blur the arrival times and destroy the resolution needed to distinguish molecules of similar mass. A high vacuum ensures ions fly essentially undisturbed from the accelerator to the detector.
How can a single instrument tell apart molecules with almost identical mass?
Resolution in a TOF instrument comes down to how precisely arrival time can be measured and how long and well-controlled the flight path is. Because m/z is proportional to the square of flight time, small differences in mass translate into measurable, consistent differences in arrival time, and modern high-resolution instruments, sometimes using folded or reflecting flight paths to effectively lengthen the tube, can distinguish masses differing by a few thousandths of an atomic mass unit.
What is the difference between ESI and MALDI ionization?
Electrospray ionization sprays a liquid sample through a charged needle and is well suited to molecules already in solution, frequently producing ions with multiple charges. MALDI instead embeds a solid or dried sample in a light-absorbing matrix and uses a laser pulse to vaporize and ionize it, typically producing singly charged ions. Both are gentle enough to preserve large, fragile molecules like intact proteins, but they suit different sample types and workflows.
Can mass spectrometry identify a completely unknown compound?
Often, yes, though with more effort than matching a known reference spectrum. The intact molecular ion's precise mass narrows down the possible chemical formulas, and the pattern of fragment ion masses, interpreted by a chemist or specialized software, can reconstruct which functional groups and substructures were bonded together. Combining mass spectrometry with complementary techniques, such as chromatographic separation beforehand, further increases confidence in identifying a truly unknown molecule.
Try it live
Everything above runs in your browser — open Mass Spectrometry: Weighing Molecules by Their Flight Time and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.
▶ Open Mass Spectrometry: Weighing Molecules by Their Flight Time simulation