Mass Spectrometer

Mass Spectrometer

Updated Mar 26, 2026

Imagine you’re sorting coins by weight, but you can’t touch them. Instead, you roll them down a ramp (giving them all the same kinetic energy), then blow a fan across their path as they fly out. The heavier coins resist the wind and fly farther before curving; the lighter coins curve sharply. By measuring where each coin lands, you know its mass.

A mass spectrometer does essentially the same thing — except the “coins” are ions, the “ramp” is an electric field, and the “fan” is a magnetic field. The device is one of the most important tools in chemistry, biochemistry, forensics, and pharmaceutical research. Watson and Crick used mass spectrometry data (among other things) when figuring out DNA’s structure; modern proteomics and drug-testing labs depend on it every day.

How a Mass Spectrometer Works

Schematic of a mass spectrometer showing the four stages: ionization source, accelerating electric field, magnetic deflection region where ions follow curved paths of different radii based on mass-to-charge ratio, and detector
Schematic of a mass spectrometer. Ions are produced in the ionization source, accelerated through a voltage, deflected by a magnetic field into circular paths (heavier ions curve less), and detected at different positions based on their mass-to-charge ratio. Credit: Wikimedia Commons, CC BY-SA 3.0

A mass spectrometer separates ions by their mass-to-charge ratio (m/q). The process has four stages:

1. Ionization

The sample is ionized - atoms or molecules are stripped of one or more electrons (or, less commonly, gain electrons) to become charged. Common methods include electron bombardment and electrospray ionization. The result is a beam of ions with charge q.

2. Acceleration

The ions pass through a potential difference (voltage V), which accelerates them. The kinetic energy gained equals the work done by the electric field:

qV=12mv2qV = \dfrac{1}{2}mv^2

All ions with the same charge gain the same kinetic energy, but lighter ions end up moving faster than heavier ions.

3. Deflection

The ions enter a uniform magnetic field (B) directed perpendicular to their velocity. The magnetic force provides centripetal acceleration, bending the ions into a circular path:

qvB=mv2rqvB = \dfrac{mv^2}{r}

Solving for the radius:

4. Detection

A detector (photographic plate or electronic detector) records where each ion strikes. Ions with different m/q values land at different positions, separated by their radius of curvature.

Velocity Selector (Optional Stage)

Some mass spectrometers include a velocity selector before the magnetic deflection stage. A velocity selector uses crossed electric and magnetic fields. Only ions with a specific velocity pass through undeflected:

v=EBv = \dfrac{E}{B}

where E is the electric field strength and B is the magnetic field strength. All other ions are deflected into the walls. This ensures that all ions entering the magnetic deflection region have the same speed, simplifying the analysis.

Deriving m/q

Combining the acceleration and deflection equations (for a mass spectrometer with a velocity selector where all ions have speed v=E/B1v = E/B_1):

From deflection: r=mv/(qB2)r = mv/(qB_2)

Rearranging:

mq=rB2v=rB1B2E\dfrac{m}{q} = \dfrac{rB_2}{v} = \dfrac{rB_1 B_2}{E}

Without a velocity selector, combining qV=12mv2qV = \dfrac{1}{2}mv^2 with r=mv/(qB)r = mv/(qB):

mq=r2B22V\dfrac{m}{q} = \dfrac{r^2 B^2}{2V}

You do not need to memorize these combined equations, but you should be able to derive them by combining the two base formulas.

Applications

  • Isotope identification: separating isotopes of the same element (same Z, different A) based on mass differences.
  • Molecular weight determination: identifying unknown compounds by their molecular mass.
  • Forensic and environmental analysis: detecting trace amounts of specific substances.
  • Pharmaceutical development: confirming drug purity and structure.
Two singly-charged ions enter a mass spectrometer with the same velocity. Ion A has twice the mass of ion B. How do their radii of deflection compare?
Click to reveal answer
Ion A has twice the radius of ion B. Since r = mv/(qB), and both ions have the same v, q, and B, the radius is directly proportional to mass. Doubling the mass doubles the radius. Ion A curves more gently and lands farther from the entrance point.
In a mass spectrometer, if you increase the magnetic field strength while keeping everything else the same, what happens to the radius of each ion's path?
Click to reveal answer
The radius decreases. Since r = mv/(qB), increasing B (in the denominator) decreases r. A stronger magnetic field bends the ions more tightly, and all ions land closer to the entrance.