Molecular Mass Calculator: Molecular Weight of Compounds and Fragment Ions
Molecular Mass Calculator
Find the Molecular Weight and the Molecular Ion Peak of a Compound from Its Formula
Molecular formula
Start each element with a capital letter: Cl, not CL. Brackets: Ca(OH)2. Hydrates: CuSO4·5H2O or CuSO4.5H2O.
C9H8O4
Element-by-element calculation
| Element | Symbol | Atoms | Atomic mass (g/mol) | Contribution (g/mol) |
|---|---|---|---|---|
| Carbon | C | 9 | 12.011 | 9 × 12.011 = 108.099 |
| Hydrogen | H | 8 | 1.008 | 8 × 1.008 = 8.064 |
| Oxygen | O | 4 | 15.999 | 4 × 15.999 = 63.996 |
| Total | 21 | 180.159 ≈ 180.16 g/mol |
Molecular weight = sum of (atoms × atomic mass). Atomic masses are the IUPAC conventional atomic weights.
In a mass spectrum
The molecular ion M⁺• is expected at m/z 180.
m/z = (9 × 12) + (8 × 1) + (4 × 16) = 180
Uses the mass number of the most common isotope of each element: C = 12, H = 1, O = 16.
In some compounds, such as tertiary alcohols, this peak is weak or absent.
M+1 peak at m/z 181 ≈ 9.9% of M
M+1 ≈ 1.1 × 9 (C) = 9.9%
An estimate from the heavy isotopes ¹³C. It helps count the carbon atoms.
Examples: tap to calculate
© 2026 Molecular Mass Calculator, developed by chemistrySH.com and spectroscopySH.com. All rights reserved.
Learn more about mass spectrometry
Read
Mass Spectrum Interpretation McLafferty Rearrangement M+2 Peak: Chlorine and Bromine Isotope Peaks of Elements
Try
Molecular Mass Calculator Fragment Identifier Fragmentation Patterns McLafferty Rearrangement Calculator M+2 and M+4 Peak Calculator Isotopes of Elements Calculator
For infrared spectroscopy, see IR Spectrum Interpretation. To identify a compound by chemical tests, visit chemistrySH.com.