Mass spectrometry measures the mass-to-charge ratio of ionized molecules and their fragments, providing the molecular weight and structural clues for organic compounds. The molecular ion peak (M+) gives the exact molecular mass; its even/odd value indicates whether the molecule contains an odd or even number of nitrogen atoms (the nitrogen rule). Fragmentation patterns reveal structural features: the molecule breaks at weak bonds and at positions that generate stable cations (benzylic, allylic, adjacent to heteroatoms). The McLafferty rearrangement — a characteristic gamma-hydrogen transfer followed by bond cleavage — is diagnostic for carbonyl compounds with a gamma-hydrogen. Isotope patterns (especially the M+2 peak from Cl and Br) identify the presence and number of halogens.
Start by interpreting simple spectra: find the molecular ion, apply the nitrogen rule, then identify the base peak and major fragments. Calculate mass losses (M - 15 = loss of CH3, M - 18 = loss of H2O, M - 29 = loss of CHO) to identify what departed. Practice recognizing the McLafferty rearrangement in spectra of ketones and esters. Compare spectra of isomers to see how fragmentation distinguishes structures that have the same molecular weight.
Mass spectrometry works by ionizing molecules — typically by bombarding them with high-energy electrons (electron ionization, EI) — which knocks out one electron to produce a radical cation M⁺•, the molecular ion. This molecular ion is then accelerated through a magnetic or electric field, and because different masses curve differently, the detector separates ions by their mass-to-charge ratio (m/z). The resulting spectrum is essentially a bar chart: each peak is a fragment (or the intact molecular ion) at a specific m/z value, and the height reflects how abundant that fragment is.
The molecular ion peak gives you the molecular mass directly — one of the most fundamental pieces of structural information. But M⁺ is not always visible: in compounds that fragment easily (especially branched alkanes or alcohols), the molecular ion is unstable and may be nearly absent. If you see no peak at the highest m/z, consider that M⁺ may be very small or absent, and look for characteristic fragments. The base peak is the tallest peak (100% reference), but it could be any fragment, not M⁺.
Fragmentation is not random — it follows rules that reflect bond strengths and carbocation stability. Molecules break preferentially at weak bonds (such as C–C bonds adjacent to heteroatoms or double bonds) and at positions that generate stable cations (tertiary carbocations, benzylic/allylic cations, acylium ions). Learning the common mass losses — 15 (−CH₃), 18 (−H₂O), 29 (−CHO or −C₂H₅), 31 (−OCH₃) — lets you read a spectrum as a structural puzzle: the difference between M⁺ and the base peak tells you what left the molecule.
Two special features deserve attention. First, the nitrogen rule: if the molecular ion has an odd mass, the molecule contains an odd number of nitrogen atoms (one, three, etc.); an even mass means zero or an even number. This is a fast filter before any detailed analysis. Second, isotope patterns: chlorine (75% ³⁵Cl, 25% ³⁷Cl) gives a distinctive M+2 peak about one-third the height of M⁺; bromine (approximately 50/50) gives M and M+2 peaks of nearly equal height. Spotting these patterns immediately tells you whether halogens are present, and the relative intensities can count the number of halogen atoms.
Mass spectrometry is rarely used alone in structural determination — it is most powerful in combination with IR (which identifies functional groups) and NMR (which maps connectivity). The MS provides molecular weight and fragmentation clues; IR confirms functional groups; NMR resolves the carbon skeleton. Together they reduce an unknown compound to a small set of candidates that can often be confirmed against databases of known spectra.