Mass spectrometry is an instrumental method of analysis used to determine the mass of atoms and molecules. Instead of relying on a simple chemical test, an instrument converts particles into positive ions and separates them by their mass-to-charge ratio (m/z). It records the results as a mass spectrum. By bombarding a sample with electrons, we can turn its molecules into positive ions. These ions are then accelerated by an electric field. In a time of flight (TOF) instrument, ions with a smaller m/z travel faster and reach the detector first.
Isotopes, relative atomic mass and time of flight mass spectrometry are on their own page.
When an organic sample is passed through the mass spectrometer, a high-energy electron collides with the molecule, knocking out one of its electrons. This forms a positive ion called the molecular ion (M⁺). The peak furthest to the right on the main spectrum is usually the molecular ion peak, and its m/z value tells us the molecular mass of the compound.

An Orbitrap mass spectrometer. Instruments like this record the mass spectrum, including the molecular ion peak.
Photo by Nadina Wiórkiewicz, CC BY-SA 3.0, via Wikimedia Commons.
Worked exampleThe molecular ion peak in the mass spectrum of an alkane is at m/z 72. Suggest the molecular formula of the alkane. [1 mark]
The alkane is C₅H₁₂
Beyond your course
However, if you look very closely just to the right of the M⁺ peak, you will often see a tiny peak at exactly one mass unit higher. This is the M+1 peak. It exists because about 1.1% of all carbon atoms naturally occurring on Earth are the heavier carbon-13 isotope, rather than the standard carbon-12.
The more carbon atoms a molecule has, the statistically higher the chance that at least one of them will be a carbon-13 atom. Therefore, the relative height of the M+1 peak grows as the carbon chain gets longer!
Chlorine naturally exists as two major isotopes: ³⁵Cl (about 75% abundance) and ³⁷Cl (about 25% abundance). This creates a characteristic 3:1 ratio. When a molecule contains chlorine atoms, this isotopic ratio produces distinctly recognisable patterns at the end of the mass spectrum.
Molecules with one chlorine atom, for example chloromethane (CH₃Cl):
The mass spectrum will show two molecular ion peaks separated by two mass units (the M⁺ and M+2 peaks). The chance that a molecule contains ³⁵Cl is 34, and the chance that it contains ³⁷Cl is 14. So the heights of the M⁺ and M+2 peaks are in a ratio of about 3:1.
Molecules with two chlorine atoms, for example dichloromethane (CH₂Cl₂):
With two chlorine atoms there are three possible combinations of isotopes, which give the M⁺ peak, the M+2 peak and the M+4 peak. We can calculate the expected heights using probability:
This gives peak heights in the ratio 9:6:1.

Liquid bromine sealed in a glass ampoule. Bromine’s two isotopes, ⁷⁹Br and ⁸¹Br, are almost equally common, which gives the M+2 peak.
Bromine also has two isotopes: bromine-79 (⁷⁹Br) and bromine-81 (⁸¹Br). They are almost equally common, about 50% of each, so bromine gives a ratio of about 1:1 instead of 3:1.
Molecules with one bromine atom, for example bromomethane (CH₃Br):
The mass spectrum shows two molecular ion peaks separated by two mass units (the M⁺ and M+2 peaks). The chance that a molecule contains ⁷⁹Br is 12, and the chance that it contains ⁸¹Br is 12. So the M⁺ and M+2 peaks are about the same height, a ratio of about 1:1.
Molecules with two bromine atoms, for example dibromomethane (CH₂Br₂):
With two bromine atoms there are again three possible combinations of isotopes, which give the M⁺ peak, the M+2 peak and the M+4 peak:
This gives peak heights in the ratio 1:2:1. The M+2 peak is the tallest, because one ⁷⁹Br and one ⁸¹Br can be put together in two ways.
Compare the heights of the M⁺ and M+2 peaks. About 3:1 means one chlorine atom. About 1:1 means one bromine atom.
Chlorine gas (Cl₂) and bromine (Br₂) give three molecule peaks for the same reason.
An ordinary mass spectrum gives the m/z of the molecular ion as a whole number. This is the relative molecular mass (Mr) of the compound, but different molecules can have the same Mr value. A high-resolution mass spectrometer measures m/z to four or more decimal places, and that is precise enough to tell them apart.
Compounds with the same whole-number Mr can be told apart because their precise Mr values differ to several decimal places.
It works because the precise relative isotopic masses are not whole numbers. Only ¹²C is exactly 12, because it is the standard every other mass is measured against.
| Isotope | Precise mass |
|---|---|
| ¹H | 1.0078 |
| ¹²C | 12.0000 |
| ¹⁴N | 14.0031 |
| ¹⁶O | 15.9949 |
Add up the precise masses for each possible molecular formula and see which one matches the measured m/z.
Worked exampleA high-resolution mass spectrum of compound X has a molecular ion peak at m/z 58.0417. Use the precise masses in the table to identify the molecular formula of X from these three: C₃H₆O C₄H₁₀ C₂H₂O₂ [2 marks]
Molecular formula of X = C₃H₆O
Which formula?
Pick the molecular formula that matches the precise m/z. Every option has the same whole-number Mr value.
| Formula | Precise mass | Difference |
|---|
Choose a formula.
The electron bombardment that removes an electron to form the molecular ion imparts a massive amount of excess internal energy to the molecule. Often, this energy is more than enough to cause the covalent bonds within the unstable molecular ion to break apart entirely. This process is known as fragmentation.
When a molecular radical ion fractures, it typically splits down a single covalent bond into two pieces: a positively charged cation and a neutral, uncharged radical. The general equation is:
M⁺• → X⁺ + Y•
A mass spectrometer only accelerates and detects positive ions (X⁺). The neutral radical (Y•) has no charge, so the electric field cannot accelerate it. It is never detected and is removed by the vacuum pump. So every fragment peak on a mass spectrum is a positive ion, never a neutral radical.
Not all chemical bonds break with equal probability, which is why some fragment peaks are massive while others are barely visible. Fragmentation is heavily dictated by thermodynamic stability: the molecule preferentially splits in ways that yield the most chemically stable cations and stable radicals.
A mass spectrum gives the molecular mass and some pieces of a structure, but rarely the whole of it.
Use the interactive workspace below to explore molecular ions, isotope peaks, base peaks and fragmentation patterns, or test your ability to deduce unknown structures from mass spectra.
Note: Mass spectra give evidence for molecular mass, isotope patterns and fragments. They rarely prove a whole structure on their own, so the Deduce section asks you to choose between possible isomers.
Click one of the links below to see more in this topic:
Support ReviseScienceUK
ReviseScienceUK is free to use, and always will be:
Got feedback? Let us know 💬