Molecular Weight Calculator — Free Online Molar Mass Tool
Calculate the molecular weight of any chemical compound by entering its formula.
Supports parentheses: Ca(OH)2, Mg3(PO4)2
Moles from mass: 0.9992 mol
Mass from moles: 18.0150 g
Molecular Weight
H2OElement Breakdown
| Element | Count | Mass | Total | % |
|---|---|---|---|---|
| O | 1 | 15.999 | 15.999 | 88.8% |
| H | 2 | 1.008 | 2.016 | 11.2% |
18.00 g =
0.9992 mol
1.00 mol =
18.0150 g
Common Compounds Reference Table
| Compound | Formula | MW (g/mol) | Common Use |
|---|---|---|---|
| Water | H2O | 18.015 | Universal solvent |
| Carbon Dioxide | CO2 | 44.010 | Greenhouse gas, carbonation |
| Sodium Chloride | NaCl | 58.443 | Table salt, saline solutions |
| Glucose | C6H12O6 | 180.156 | Blood sugar, fermentation |
| Ethanol | C2H5OH | 46.069 | Beverages, disinfectant |
| Sulfuric Acid | H2SO4 | 98.079 | Industrial chemical, batteries |
| Caffeine | C8H10N4O2 | 194.191 | Stimulant in coffee and tea |
| Calcium Carbonate | CaCO3 | 100.086 | Antacid, limestone, chalk |
Related Calculators
Molarity Calculator
Calculate solution concentration, moles, volume, and dilutions.
Half-Life Calculator
Calculate radioactive decay, remaining amounts, and decay constants.
Ohms Law Calculator
Calculate voltage, current, resistance, and power using Ohm's law.
Resistor Calculator
Decode resistor color bands and calculate series/parallel resistance.
Scientific Calculator
Perform advanced calculations with trigonometric and logarithmic functions.
Percentage Calculator
Calculate percentages, changes, and proportional values quickly.
About this calculator
Molecular Weight Formulas
Molecular Weight
MW = Σ (atomic weight x count) for each element Percent Composition
%Element = (element total mass / MW) x 100 Mass to Moles
moles = mass (g) / MW (g/mol) Moles to Mass
mass (g) = moles x MW (g/mol) Number of Molecules
N = moles x 6.022 x 10^23 Variables Explained
- MW (Molecular Weight): The total mass of one mole of a compound in grams per mole (g/mol). Numerically equal to the molecular mass in atomic mass units (amu).
- Atomic Weight: The standard atomic weight of each element as defined by IUPAC. These are weighted averages across all naturally occurring isotopes of each element.
- Count: The number of atoms of each element present in one formula unit of the compound, derived by parsing the chemical formula including any subscripts and parenthetical groups.
- %Element: The mass fraction of each element expressed as a percentage. All element percentages in a compound sum to 100%.
Step-by-Step Example
Calculate the molecular weight of glucose (C6H12O6):
- Identify elements and counts: C = 6, H = 12, O = 6
- Look up atomic weights: C = 12.011, H = 1.008, O = 15.999
- Calculate each contribution: C: 6 x 12.011 = 72.066, H: 12 x 1.008 = 12.096, O: 6 x 15.999 = 95.994
- Sum all contributions: 72.066 + 12.096 + 95.994 = 180.156 g/mol
- Percent composition: C = 40.00%, H = 6.71%, O = 53.29%
One mole of glucose weighs 180.156 grams and contains 6.022 x 10^23 glucose molecules. To prepare a 1 M glucose solution, dissolve 180.156 grams in water and bring to a total volume of 1 liter. This is a common concentration used in cell biology experiments.
Sources
- IUPAC — Periodic Table of Elements: iupac.org
- PubChem — Chemical Information Database: pubchem.ncbi.nlm.nih.gov
- Khan Academy — Molecular and Empirical Formulas: khanacademy.org
Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.
Last updated: November 3, 2026