Molar mass calculator
Free, no sign-up. A structure you draw or paste is worked out in your browser; a name or CAS number is looked up in PubChem.
Type a name, a CAS number or a SMILES, or draw a structure, and its formula and masses appear here.
How to do it
Type a name, a CAS number or a SMILES, or draw the structure.
The formula and masses appear at once, and follow every change to the drawing.
Read the composition by mass, or carry the structure on to the 3D viewer or the full editor.
How the numbers are worked out
The structure is counted atom by atom, implicit hydrogens included, and each element is weighted by its standard atomic weight: carbon 12.011, hydrogen 1.008, nitrogen 14.007, oxygen 15.999. The molar mass is the sum, in grams per mole. The monoisotopic mass instead uses the mass of each element’s most common isotope (carbon-12 is exactly 12), which is what a mass spectrometer measures for the main peak.
For caffeine, C8H10N4O2: 8 × 12.011 + 10 × 1.008 + 4 × 14.007 + 2 × 15.999 = 194.19 g/mol. The calculator was checked against RDKit on 1,222 structures and agrees on every formula and every mass.
Questions
Related tools
Do way more cool things with Athanor, for free.
- Balance and annotate a reaction scheme
- Problem sets that grade themselves
- Predict a reaction’s products
Windows 10 and 11 Updates itself from the Store
Runs in your browser. No account needed to draw.
