Molar Mass From Diatomic Formula
Calculator
Results
- Molar mass (g/mol)
- 18.015
- Mass contributed by atom A (g/mol)
- 2.016
- Mass contributed by atom B (g/mol)
- 15.999
Chemistry results
| Molar mass (g/mol) | 18.015 |
| Mass contributed by atom A (g/mol) | 2.016 |
| Mass contributed by atom B (g/mol) | 15.999 |
formula-map diagram
- Molar mass (g/mol)
- 18.015
- Mass contributed by atom A (g/mol)
- 2.016
- Mass contributed by atom B (g/mol)
- 15.999
Formula breakdown
Formula
M = (a × M(A)) + (b × M(B))= 18.015
Note
Simplified model: these results assume ideal behaviour (ideal gases, dilute solutions, complete reactions) and standard textbook constants. Real laboratory values vary with temperature, pressure, purity and activity coefficients. Do not rely on this for safety-critical or analytical work.
Example: with the default inputs, calculator.chemistry.molar_mass_gmol is 18.015.
More in Chemistry
See all →Frequently asked questions
What does this molar mass calculator compute?+
It computes M = (a × M(A)) + (b × M(B)) for a simple formula with two kinds of atoms, and shows the contribution of each atom type.
Which inputs do I need?+
The atomic mass in g/mol and the number of atoms in the formula, for atom A and for atom B. All four values must be greater than zero.
Can I use it for water?+
Yes. The defaults are H₂O: 2 atoms of hydrogen at 1.008 g/mol and 1 atom of oxygen at 15.999 g/mol, which gives about 18.015 g/mol.
Does it work for compounds with three or more elements?+
No, it handles only two kinds of atoms. For more elements, you would need to add the contributions yourself.
Where do I find atomic masses?+
The calculator does not supply them: enter the values from your periodic table. The result is only as precise as the masses you type.