← SciSim / Chemistry
CHEMSIM v1.0

Mass Spectrometry

EI · ESI · MALDI · m/z · Molecular Ion · Base Peak · Isotope Patterns · Fragmentation · McLafferty

🧪 Interactive Simulation

Ionization
EI 70 eV
Compound
Methane
Mol. Formula
CH₄
M⁺ (m/z)
16
Base Peak (m/z)
16
Nominal MW (Da)
16.04
Isotope Signature
M+1: 1.1%
Key Fragments
15, 14, 13, 12
Ionization Energy (eV)70
m/z Scan Range Max300
Resolution (m/Δm)1000
Source Temperature (°C)200
Sample Concentration (ng/μL)10
Animation Speed1.0×

Display

Show M⁺ label
Show base peak
Show isotope peaks (M+1, M+2)
Show fragment labels
Show grid

💡 The Idea, Step by Step

Start here (the everyday picture). You want to know how heavy something is — but it is a single molecule, far too small for any scale. Mass spectrometry uses a trick: give the molecule an electric charge, then fling it through electric and magnetic fields and watch how much it swerves. Light ions swerve a lot; heavy ions barely bend. Measuring the swerve "weighs" molecules one at a time.

Build the rule (high school). Two things set the swerve: the ion's mass $m$ and its charge $z$. They always act together as one quantity, the mass-to-charge ratio $m/z$. In most small-molecule experiments each ion carries a single charge ($z=1$), so $m/z$ is simply the ion's mass in daltons (Da). The instrument sorts ions by $m/z$ and counts how many land at each value, producing a bar chart — the mass spectrum. The tallest bar is the base peak (defined as 100%); the bar at the intact molecule's mass is the molecular ion $M^{+}$.

The one relationship to remember
$$\frac{m}{z}=\frac{\text{ion mass (Da)}}{\text{charge}}\;\xrightarrow{\;z=1\;}\;\frac{m}{z}=\text{ion mass}$$

A worked number. Caffeine has a mass of 194 Da. In soft (ESI) ionization it picks up one proton to become $[M+\text{H}]^{+}$: mass 195, charge $+1$, so it appears at $m/z=195$. A 50,000-Da protein that grabbed 25 protons would instead show up near $m/z=(50000+25)/25\approx2001$ — big molecules ride in on many charges at once, which is how a small analyzer can still weigh them.

Go deeper (AP / intro-college). Hard ionization (EI, 70 eV) dumps far more energy than a chemical bond can hold (only about 3–4 eV), so $M^{+}$ shatters into fragments. The pattern of fragments is a fingerprint: a loss of 15 means a lost CH₃, a loss of 18 a lost H₂O. Heavy isotopes add satellite peaks — each carbon contributes about 1.1% to the $M+1$ peak (so dividing the M+1-to-M intensity ratio by 1.1% gives the number of carbons), one chlorine gives an M:M+2 ratio near 3:1, and one bromine near 1:1.

Try this in the sim above. (1) In EI mode, drag Ionization Energy down from 70 eV toward 15 eV and watch the fragments shrink while the molecular ion grows back. (2) Load Chlorobenzene, then Bromobenzene, and compare the M+2 peak — about one-third of M for chlorine, but nearly equal to M for bromine. (3) Switch to ESI and pick Insulin to see one molecule spread across a whole ladder of multiply-charged peaks.

📐 Mass Spectrometry Equations & Theory

Mass-to-Charge Ratio (m/z)
$$\frac{m}{z} = \frac{\text{ion mass in u (Da)}}{\text{number of charges}}$$

In a magnetic-sector or TOF mass analyzer, ions are separated by m/z. For EI spectra, z is almost always +1, so m/z directly reads ion mass. For ESI of large molecules (proteins), z can be 5–30+, producing a series of multiply charged peaks at m/z = (M + zH)/z.

Ion Motion in Magnetic Sector
$$\frac{m}{z} = \frac{B^2 r^2}{2V}$$

B = magnetic field strength, r = radius of curvature, V = accelerating voltage. By varying B (or V), ions of different m/z trace different curved paths; only those with the right m/z reach the detector at a given setting.

Time-of-Flight (TOF)
$$t = L\sqrt{\frac{m}{2zV}} \quad \Rightarrow \quad \frac{m}{z} = \frac{2Vt^2}{L^2}$$

In TOF mass analyzers, all ions get the same kinetic energy (zV); lighter ions arrive at the detector first. Time-of-flight is proportional to √(m/z), so timing the flight gives m/z directly. TOF instruments excel at high m/z range and high speed.

Isotope Pattern (M, M+1, M+2)
$$\frac{I_{M+1}}{I_M} \approx \sum_i n_i \cdot \frac{A_i^{(+1)}}{A_i^{(0)}}$$

For each element with i = isotopic neighbour: nᵢ = number of atoms, Aᵢ⁽¹⁾/Aᵢ⁽⁰⁾ = isotope abundance ratio. Carbon: ¹³C/¹²C ≈ 1.1% per carbon, so for CₙHₘ: I(M+1)/I(M) ≈ n × 1.1%. Chlorine (³⁵Cl:³⁷Cl = 76:24 ≈ 3:1) and Bromine (⁷⁹Br:⁸¹Br = 51:49 ≈ 1:1) produce diagnostic isotope patterns at M+2.

Symbol Definitions

SymbolMeaningUnit
m/zMass-to-charge ratioTh (Da/e)
M⁺Molecular ion (radical cation from EI)
[M+H]⁺Protonated molecule (ESI positive)
M+1Isotope peak (¹³C, ²H, etc.)
M+2Heavy isotope peak (³⁷Cl, ⁸¹Br, ³⁴S)
Base peakMost intense peak in spectrum (set to 100%)
RResolution = m/Δm
EIElectron Ionization (70 eV standard)
ESIElectrospray Ionization (soft, intact)

Step-by-Step: How a Mass Spectrum is Generated and Interpreted

1Ionization: Molecules entering the source are converted into gas-phase ions. EI bombards molecules with 70 eV electrons, ejecting a valence electron to form M⁺• (radical cation) — energetic, so it often fragments. ESI sprays a solution through a charged needle, transferring protons to form [M+H]⁺ — soft, preserves intact molecule (great for proteins, peptides, drugs).
2Acceleration: Ions are accelerated by an electric potential V (typically 2–10 kV), giving each ion the same kinetic energy KE = zV = ½mv². Lighter ions travel faster.
3Mass analysis: Ions are separated by m/z. Quadrupole uses oscillating RF/DC fields to filter one m/z at a time. TOF measures flight time. Magnetic sectors curve ion paths. Orbitrap traps ions and measures their oscillation frequency (ultra-high resolution, R > 100,000).
4Detection: Ions hit an electron multiplier or microchannel plate, producing a current proportional to ion count. The signal is plotted as intensity vs m/z — the mass spectrum.
5Identification — M⁺ peak: The molecular ion peak (M⁺) gives the molecular mass (rounded to integer = nominal mass). For EI of small organics, M⁺ is often visible (sometimes weak for alcohols, amines, that fragment easily). For ESI, [M+H]⁺ provides MW directly. Compare m/z to known compounds in NIST library (mass-spectral fingerprint).
6Isotope ratio analysis: The ratio of M+1 to M tells you how many carbon atoms: n(C) ≈ (I(M+1)/I(M))/1.1%. A M+2 peak ~33% of M signals one chlorine; a M+2 peak ≈ M signals one bromine. Multiple Cl/Br give characteristic multinomial patterns (e.g., CCl₂ = 1:6.4:9 for M:M+2:M+4).
7Fragmentation analysis: Fragments tell you about structure. Loss of 15 (CH₃), 17 (OH), 18 (H₂O), 28 (CO or C₂H₄), 29 (CHO), 43 (CH₃CO, propyl), 77 (phenyl), 91 (tropylium C₇H₇⁺) are diagnostic. McLafferty rearrangement: γ-hydrogen transfer through a 6-membered cyclic TS, loss of a neutral alkene from a ketone/aldehyde — classic for carbonyl compounds.

Worked Example — Identify the Mystery Compound

Observed peaks: m/z = 122 (M⁺), 105 (base peak), 77 (strong), 51 (medium).

Step 1 — M⁺ = 122: Nitrogen rule: odd MW = odd number of N atoms. 122 is even, so 0 (or even number) of nitrogens.

Step 2 — Isotope check: The M+2 peak is negligible (well under 1% of M⁺), so the molecule contains no Cl, Br, or S — it is built from C, H, and O only.

Step 3 — Read the losses: 122 − 105 = 17, the loss of •OH; the resulting m/z 105 ion is the resonance-stabilized benzoyl cation C₆H₅CO⁺, which is why it is the base peak. Then 105 − 77 = 28, the loss of CO, leaving the phenyl cation C₆H₅⁺ at m/z 77. Finally 77 − 51 = 26 (loss of C₂H₂) gives C₄H₃⁺ at m/z 51 — the classic aromatic cascade.

Step 4 — Final answer: The successive loss of OH then CO is the fingerprint of a benzene ring bearing a carboxylic acid. M = 122 with fragments at 105 / 77 / 51 identifies benzoic acid, C₆H₅COOH (122 Da), with the benzoyl ion at m/z 105 as the base peak.

📚 References:
• McLafferty, F.W. & Turecek, F. — Interpretation of Mass Spectra, 4th Ed., University Science Books (1993)
• Watson, J.T. & Sparkman, O.D. — Introduction to Mass Spectrometry, 4th Ed., Wiley (2007)
• Hoffmann, E. de & Stroobant, V. — Mass Spectrometry: Principles and Applications, 3rd Ed., Wiley (2007)
• NIST Mass Spectral Library — webbook.nist.gov/chemistry (free database of >300,000 EI spectra)

❓ Frequently Asked Questions

🧪 ConceptualWhat is the difference between EI, ESI, and MALDI?
EI (Electron Ionization, 70 eV electrons): "hard" ionization that produces lots of fragmentation. Best for small, volatile organics (MW < ~1000 Da); used with GC-MS. Gives reproducible spectra → searchable libraries (NIST). ESI (Electrospray, soft): produces [M+H]⁺ or [M+Na]⁺ adducts and is "soft" — preserves the intact molecule even for proteins (>100,000 Da) and labile species. Multi-charged in proteins. Used with HPLC-MS. MALDI (Matrix-Assisted Laser Desorption/Ionization): UV laser pulse ablates analyte from a matrix; mainly singly charged ions; ideal for polymers, peptides, intact proteins up to several MDa. MALDI-TOF is the workhorse for protein identification in proteomics and clinical microbiology (bacterial typing).Key Takeaway: EI = hard, small molecules, lots of fragments. ESI = soft, large molecules, multi-charged. MALDI = laser desorption, intact biomolecules.
🌍 Real LifeWhere is mass spectrometry used outside of academic labs?
Pharmaceutical development: LC-MS quantifies drug metabolites in blood/urine in pharmacokinetic studies. Clinical labs: tandem MS screens newborns for inherited metabolic diseases (>40 disorders from a single blood spot in minutes). Forensic: GC-MS identifies drugs of abuse, toxins, explosives, accelerants. Anti-doping: WADA labs catch performance enhancers in athlete urine at ppb levels. Proteomics: LC-MS/MS identifies thousands of proteins from a cell lysate (used in cancer biomarker discovery). Petroleum: high-resolution FT-MS reveals molecular composition of crude oil (>10,000 components). Environmental: detects pesticides and PFAS contaminants in water at parts-per-trillion. Aerospace: residual gas analyzers on the ISS use MS to monitor air composition. Even airport security: mass spectrometers analyze trace particles from luggage swabs for explosives like RDX or PETN.Key Takeaway: MS is the universal "molecular fingerprint" tool — used wherever you need to identify or quantify molecules at trace levels.
🔬 SimulationWhy does the molecular ion peak (M⁺) sometimes disappear in EI spectra?
EI deposits 70 eV into the molecule — more than enough to break any bond (typical C-C bond = 3.5 eV). For very stable molecules (aromatics like benzene, naphthalene), M⁺ is intense because excess energy can be dissipated into ring vibrations. For unstable molecules (alcohols, ethers, branched alkanes, amines), M⁺ fragments rapidly before reaching the detector — sometimes M⁺ < 1% of base peak, or absent entirely. To preserve M⁺, use lower ionization energy (e.g., 12–15 eV "low-eV EI") or switch to a softer technique like chemical ionization (CI) or ESI. The intensity of M⁺ in EI spectra is a rough indicator of molecular stability: aromatic > conjugated > saturated > branched > heteroatom-rich.Key Takeaway: Aromatic/rigid molecules retain M⁺; flexible/branched/heteroatomic ones fragment away. Use soft ionization (ESI, CI) for delicate cases.
💡 Non-ObviousHow do you tell chlorine from bromine from sulfur from carbon-only compounds?
Look at M+2 (the peak two m/z units above M⁺): Chlorine (³⁵Cl/³⁷Cl ≈ 76:24): one Cl gives M:M+2 ≈ 3:1; two Cl give 9:6:1 pattern. Bromine (⁷⁹Br/⁸¹Br ≈ 51:49): one Br gives M:M+2 ≈ 1:1 (the "M+2 doublet"); two Br give 1:2:1. Sulfur (³²S/³⁴S = 95:4.4): one S gives M+2 about 4.4% of M — far less than Cl or Br. Pure CHNO compound: M+2 is dominated by two ¹³C (random, < 0.1%) or one ¹⁸O (~0.2%), so M+2 < 1% of M for small molecules. Diagnostic flowchart: M+2 ≈ M? → 1 Br. M+2 ≈ ⅓ M? → 1 Cl. M+2 ~ 4% M and only one heavy atom? → 1 S. M+2 < 1%? → C, H, N, O only.Key Takeaway: Cl gives 3:1 M:M+2; Br gives 1:1; S gives only 4% M+2; CHNO compounds have negligible M+2. Diagnostic at a glance.
🧮 MathematicalHow does high-resolution MS distinguish C₃H₈ from CO₂ (both nominal mass 44)?
Both have nominal mass 44, but their exact (monoisotopic) masses differ: C₃H₈ = 3(12.000) + 8(1.00783) = 44.0626. CO₂ = 12.000 + 2(15.9949) = 43.9898. Difference = 0.0728 Da (~73 mDa). To resolve them, you need m/Δm > 44/0.073 = ~600. A unit-resolution quadrupole (R ~ 1000) just barely separates them. A high-resolution FT-Orbitrap (R = 100,000) gives mass accuracy < 1 ppm = 0.05 mDa — enough to definitively identify molecular formula from exact mass alone. This is the basis of "accurate mass measurement" for chemical formula determination: each formula has a unique mass defect (difference from nominal mass). High-res MS literally tells you the formula without any chromatography or NMR.Key Takeaway: Exact mass (high-res MS) determines molecular formula directly. Mass defect distinguishes isobars (same nominal, different exact mass).
🌌 Deep / AdvancedWhat is the McLafferty rearrangement and why is it so common?
The McLafferty rearrangement is a γ-hydrogen transfer in carbonyl-containing ions (ketones, aldehydes, esters, amides, sulfones, phosphates). The molecular ion adopts a 6-membered cyclic transition state with the carbonyl oxygen abstracting a γ-hydrogen; β-cleavage then expels a neutral olefin, generating a stable enol radical cation. For 2-butanone (CH₃COCH₂CH₃, M = 72), McLafferty gives [CH₂=C(OH)CH₃]⁺• at m/z 58 (loss of CH₂=CH₂, 28). The rearrangement requires: (1) a carbonyl, (2) at least one γ-H available, (3) a 6-membered cyclic geometry. It's energetically favored because the product is a stabilized enol cation. Discovered by Fred McLafferty in the 1950s; one of the first mechanistic insights in mass spectrometry, and still routinely used to confirm carbonyl identity in unknowns. The "even-electron rule" (most fragments are even-electron cations except for the rearrangement products) is a corollary.Key Takeaway: McLafferty rearrangement = γ-H transfer → enol cation. Hallmark of carbonyl compounds with γ-hydrogens. Diagnostic for ketones/aldehydes.
🌍 Real LifeHow does ESI handle massive molecules like proteins (10–100 kDa)?
Electrospray transfers many protons (H⁺) to a protein in solution, generating a spread of charge states: [M+zH]^z⁺ for z = 5, 10, 20, 30+. A 50 kDa protein might show peaks at m/z = (50000 + zH)/z for z = 20 (m/z ≈ 2501), 30 (m/z ≈ 1668), 40 (m/z ≈ 1251), etc. All these peaks lie within the mass analyzer's range (typically m/z 200–2000), even though the protein itself is far larger! Deconvolution software (e.g., MaxEnt) takes the multi-charge envelope and computes the true (neutral, monoisotopic) mass. Modern ESI-MS measures intact proteins with sub-Da accuracy, identifies post-translational modifications, and detects single amino-acid mutations. John Fenn won the 2002 Nobel Prize for ESI development — it transformed biochemistry by making mass measurement of proteins and large polymers practical.Key Takeaway: ESI on big molecules = multiply charged peaks. Deconvolution recovers true mass. Bypasses m/z range limits — measure 1 MDa molecules on a quad!
📚 Best Resources for Beginners:
• McLafferty & Turecek — Interpretation of Mass Spectra, 4th Ed., University Science Books (1993)
• NIST WebBook — Free MS database — webbook.nist.gov
• Master Organic Chemistry — Mass Spec interpretation tutorials — masterorganicchemistry.com
• Khan Academy — "Mass Spectrometry" video series

⚠️ Common Misconceptions

❌ "The molecular ion peak (M⁺) always shows the molecular weight."
✅ M⁺ shows the NOMINAL (integer) mass of the most abundant isotopic combination — usually all ¹²C, ¹H, ¹⁶O, ¹⁴N. The true average molecular weight (used in stoichiometry) is slightly higher because it includes natural isotopic abundance. For high-resolution MS, the M⁺ peak is the MONOISOTOPIC mass (using exact masses: ¹²C = 12.000, ¹H = 1.00783, etc.) — useful for determining molecular formula. Distinguish nominal mass (integer), monoisotopic mass (exact, low-isotope), and average mass (Σ niMi).
📖 Reference: McLafferty & Turecek — Interpretation of Mass Spectra, 4th Ed., Ch. 2
❌ "The base peak is always the molecular ion."
✅ The base peak (= 100% intensity) is the MOST INTENSE peak — which is often NOT M⁺. For alcohols, M⁺ is usually weak or absent because loss of H₂O or OH dominates. For aliphatic amines, M⁺ also fragments fast. The base peak is often a stable carbocation like CH₃CO⁺ (m/z = 43, from acetyl-containing compounds) or tropylium C₇H₇⁺ (m/z = 91, from alkyl benzenes). The base peak's mass and the loss from M⁺ (e.g., M − 43 = loss of acetyl) together are diagnostic of functional groups.
📖 Reference: McLafferty & Turecek — Interpretation of Mass Spectra, 4th Ed., Ch. 4
❌ "Higher m/z always means more massive molecule."
✅ m/z = mass/charge. For ESI multiply charged ions, a small m/z can correspond to a huge molecule. Insulin (5808 Da) sprays mainly as [M+6H]⁶⁺ at m/z = 969, which is far below most "drug-sized" peaks at m/z ~ 300. You must ALWAYS know (or assume) z to interpret m/z. Multi-charge envelopes in protein ESI are a key feature, not a bug — they're how big molecules fit within the m/z range of standard analyzers.
📖 Reference: Hoffmann & Stroobant — Mass Spectrometry, 3rd Ed., Ch. 9
❌ "Two compounds with the same molecular formula have identical mass spectra."
✅ Isomers have the SAME molecular formula and thus the SAME M⁺ mass — but their fragmentation patterns differ DRAMATICALLY because they have different bonds and structures. n-Hexane and 2-methylpentane (both C₆H₁₄, MW = 86) give clearly distinguishable EI spectra; ortho- vs meta- vs para-xylene have subtle but reliable differences in fragment ratios. This is how MS distinguishes isomers — by fragment patterns, not by molecular weight.
📖 Reference: NIST Mass Spectral Library — webbook.nist.gov
❌ "M+1 peak shows the molecule with one extra hydrogen attached."
✅ M+1 peak in EI is the natural ¹³C isotopologue: one of the carbons is ¹³C instead of ¹²C, adding 1 to the mass. It's NOT a separate species attached with an extra H. For a CₙHₘ compound, I(M+1)/I(M) ≈ n × 1.1% (number of carbons times the ¹³C natural abundance). This relation lets you READ the number of carbons directly from the M+1/M ratio. In ESI, [M+H]⁺ (protonated) is a DIFFERENT species from M⁺ in EI — and [M+H+1]⁺ would be the ¹³C of [M+H]⁺.
📖 Reference: Watson & Sparkman — Introduction to Mass Spectrometry, 4th Ed., Ch. 5
❌ "Mass spectrometry is too expensive for routine analysis."
✅ Modern bench-top MS (single quad MS, MALDI-TOF for microbiology) costs $30k–$200k — competitive with HPLC and far cheaper than NMR. Operating cost is moderate (helium gas, source cleaning), and throughput is high (one sample per minute for screening). Hospital clinical labs, food safety labs, pharmaceutical QC, and environmental testing labs ALL routinely run MS analyses, often hundreds of samples a day. The "expensive" reputation comes from the early days (1960s); today MS is mainstream analytical chemistry.
📖 Reference: Hoffmann & Stroobant — Mass Spectrometry, 3rd Ed., Ch. 8
📚 Education Research Sources:
• Pellegrin, J. et al. — "Student misconceptions about mass spectrometry", J. Chem. Educ. 89, 1056 (2012)
• Wittrup, K.D. — Practical Approach to Mass Spectrometry, MIT OCW
• ChemDraw Mass Spectrometer Tutorial
• ASMS — American Society for Mass Spectrometry educational resources