Easily compute the molecular weight of any compound by entering its chemical formula.
This calculator determines molar mass (molecular weight), a fundamental property in stoichiometry defined as the mass per mole of a substance. The calculation follows the standard formula:
M = Σ(nᵢ × Aᵢ)
Example Calculation for Glucose (C₆H₁₂O₆):
M = (6 × 12.011) + (12 × 1.008) + (6 × 15.999) = 72.066 + 12.096 + 95.994 = 180.156 g·mol⁻¹
Molar mass calculations are essential in laboratory practice for:
Real-World Example: Pharmacists use molar mass to calculate exact dosages when preparing medications from active pharmaceutical ingredients.
This tool uses atomic weights based primarily on the IUPAC (International Union of Pure and Applied Chemistry) Standard Atomic Weights 2021 values. Key considerations:
A: The gram-mole relationship is defined by Avogadro's constant (6.02214076×10²³ mol⁻¹). One mole of any substance contains exactly this number of particles, making molar mass numerically equal to molecular weight in daltons.
A: Atomic mass refers to a single atom (usually in daltons), while molar mass refers to one mole of atoms or molecules (in g·mol⁻¹). Numerically, they are equal but differ in units.
A: Yes, enter the formula as written (e.g., Na⁺ would be entered as "Na", SO₄²⁻ as "SO4"). The calculation ignores charge since electrons contribute negligible mass.
A: This tool works for any formula, but very long formulas may exceed input limits. For proteins, use amino acid residue average masses (≈110 Da per residue).
Molecular weight (or molar mass) is the sum of the atomic masses of all atoms in a molecule, measured in grams per mole (g/mol).
This calculator uses the standard atomic weights from the IUPAC periodic table. For elements with no stable isotopes, the atomic weight of the most common isotope is used.
The tool supports complex formulas including parentheses for grouped atoms (e.g., (NH4)2SO4) and hydrates (e.g., CuSO4·5H2O).
Academic Integrity Statement: This tool is designed for educational use and laboratory planning. For publication-quality results, verify against primary literature and IUPAC standards.
Last Formula Verification: October 2025 • Based on IUPAC Standard Atomic Weights 2021