Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Empirical Formula CalculatorPercent Composition CalculatorMole/Gram/Particle ConverterStoichiometry CalculatorNormality CalculatorMolarity CalculatorInteractive Periodic Table
Home Page > Miscellaneous > Chemical Calculators

Molar Mass Calculator

Calculate the molar mass of any chemical compound with detailed element breakdown, percentage composition, step-by-step calculations, and interactive periodic table.

Free to useNo sign-up requiredUpdated Feb 2026
Molar Mass CalculatorTry it now — free ▼

Click an Element to Add

Alkali
Alkaline Earth
Transition
Post-Transition
Metalloid
Nonmetal
Halogen
Noble Gas
Lanthanide
Actinide

Embed Molar Mass Calculator Widget

About Molar Mass Calculator

Welcome to the Molar Mass Calculator, a comprehensive chemistry tool that calculates the molecular weight of any chemical compound with detailed element breakdown, percentage composition, and step-by-step calculations. Whether you are a student learning stoichiometry, a researcher preparing solutions, or a professional working in a laboratory, this calculator provides accurate molar mass calculations instantly.

What is Molar Mass?

Molar mass (also called molecular weight or formula weight) is the mass of one mole of a substance, expressed in grams per mole (g/mol). One mole contains exactly 6.02214076 × 10²³ particles (Avogadro's number) of the substance. The molar mass equals the sum of the atomic masses of all atoms in the molecule.

Molar Mass Formula
$$M = \sum_{i} n_i \times A_i$$

Where:

  • M = Molar mass (g/mol)
  • nᵢ = Number of atoms of element i in the formula
  • Aᵢ = Atomic weight of element i (g/mol)

How to Use This Calculator

  1. Enter the chemical formula: Type your chemical formula using standard notation (e.g., H2O, NaCl, C6H12O6). Use numbers for subscripts.
  2. Use parentheses for groups: For compounds with repeating groups, use parentheses like Ca(OH)2 or (NH4)2SO4.
  3. Use brackets for complex ions: For coordination compounds, use brackets like K4[Fe(CN)6].
  4. Select precision: Choose the number of decimal places for your result.
  5. Click Calculate: View the total molar mass, element breakdown, and step-by-step calculation.

Understanding Chemical Formula Notation

Basic Formulas

  • H2O - Water: 2 hydrogen atoms + 1 oxygen atom
  • NaCl - Sodium chloride: 1 sodium + 1 chlorine
  • C6H12O6 - Glucose: 6 carbon + 12 hydrogen + 6 oxygen

Formulas with Parentheses

  • Ca(OH)2 - Calcium hydroxide: 1 calcium + 2 × (1 oxygen + 1 hydrogen)
  • (NH4)2SO4 - Ammonium sulfate: 2 × (1 nitrogen + 4 hydrogen) + 1 sulfur + 4 oxygen
  • Mg3(PO4)2 - Magnesium phosphate: 3 magnesium + 2 × (1 phosphorus + 4 oxygen)

Complex Formulas with Brackets

  • K4[Fe(CN)6] - Potassium ferrocyanide: 4 potassium + 1 iron + 6 × (1 carbon + 1 nitrogen)

Applications of Molar Mass

Stoichiometry Calculations

Molar mass is essential for converting between mass and moles in chemical reactions. It helps calculate how much reactant is needed or how much product will form.

Solution Preparation

When preparing solutions of specific molarity, you need the molar mass to calculate how many grams of solute to dissolve. Formula: mass (g) = molarity (M) × volume (L) × molar mass (g/mol).

Percent Composition

Understanding the mass percentage of each element in a compound is crucial for chemical analysis and quality control.

Empirical and Molecular Formulas

Molar mass helps determine the molecular formula from the empirical formula by comparing the calculated molar mass with experimental data.

Molar Mass vs. Molecular Weight vs. Formula Weight

  • Molar Mass: Mass of one mole of a substance in g/mol. Preferred term in modern chemistry.
  • Molecular Weight: Relative molecular mass (dimensionless). Numerically equal to molar mass.
  • Formula Weight: Used for ionic compounds that don\'t form discrete molecules.

Atomic Weights Used

This calculator uses standard atomic weights from IUPAC (International Union of Pure and Applied Chemistry). For elements with variable atomic weights due to isotopic composition, conventional atomic weights are used.

Frequently Asked Questions

What is molar mass?

Molar mass is the mass of one mole of a substance, expressed in grams per mole (g/mol). It equals the sum of atomic weights of all atoms in a molecule. For example, water (H2O) has a molar mass of approximately 18.015 g/mol.

How do you calculate molar mass?

To calculate molar mass: identify all elements in the formula, count the atoms of each element, multiply each count by its atomic weight, and sum all contributions.

What is the difference between molecular weight and molar mass?

They are numerically equal but have different definitions. Molar mass is in g/mol and refers to one mole of substance. Molecular weight is dimensionless and represents the ratio of molecular mass to 1/12 of carbon-12 mass.

How do parentheses affect calculations?

Parentheses indicate repeating groups. The subscript after the closing parenthesis multiplies all atoms inside. For example, Ca(OH)2 has 2 oxygen and 2 hydrogen atoms.

Why is molar mass important?

Molar mass is essential for converting between mass and moles, stoichiometric calculations, preparing solutions, determining empirical formulas, and gas law calculations.

References

Reference this content, page, or tool as:

"Molar Mass Calculator" at https://MiniWebtool.com/molar-mass-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Feb 04, 2026

Chemical Calculators:

Top & Updated:

Lean Body Mass CalculatorLean Body Mass to Strength CalculatorMolality CalculatorView all →
Home Page > Miscellaneous > Chemical Calculators > Molar Mass Calculator