Mole & Molar Mass Calculator (n = m / M)

Convert between grams, moles, molar mass, and Avogadro elementary entities with 1-click chemical compound presets.

Reviewed by Best Calculators Editorial Team Updated: Free Tool

Molar & Gravimetric Conversion Engine

NA = 6.02214 × 10²³ mol⁻¹
g

Measured sample weight in grams (1 kg = 1,000 g).

g/mol

Molecular or atomic weight in grams per mole.

Molar Breakdown

IUPAC Standard
Moles (n)
2.0000 mol
2,000.00 mmol
Avogadro Entities 1.2044 × 10²⁴ Molecules / Units
STP Gas Volume 44.8280 L If Ideal Gas (0°C, 1 atm)
Sample Mass vs. 1 Mole Benchmark 200% of 1 Mole
Analytical Takeaway: 36.0300 g of a substance with M = 18.0150 g/mol equals 2.0000 mol (2,000.0 mmol) and contains 1.2044 × 10²⁴ elementary entities.

What Is a Mole & Molar Mass Calculator?

A Mole & Molar Mass Calculator is a foundational quantitative chemistry tool that converts between macroscopic sample mass in grams (m), chemical amount in moles (n), compound molar mass in grams per mole (M), and total elementary particle count (N). Because individual atoms and molecules have masses on the order of 10⁻²⁴ to 10⁻²² grams, chemists group particles into standardized packets of Avogadro's number (6.02214076 × 10²³ entities per mole) so chemical formulas map directly onto analytical balance readings.

Once you have converted your solid reagent weight into moles and dissolved it to prepare a stock solution, you can calculate step-down working aliquots using our Dilution Formula Calculator.

  • Analytical Balance Weighing: Determine the exact gram weight of anhydrous or hydrated salts required to prepare a target millimolar (mM) or molar (M) quantity.
  • Empirical & Molecular Formula Identification: Compute unknown compound molar mass (M = m / n) from colligative freezing-point depression, osmotic pressure, or vapor density data.
  • Stoichiometric Reaction Scaling: Translate gram reagent weights into molar quantities before comparing limiting and excess reactants.
  • Solid-State & Avogadro Particle Counting: Quantify exact numbers of molecules, formula units, or photons participating in photochemical and surface-science experiments.

How Mole & Molar Mass Conversions Work: Equations & Examples

The mathematical relationship linking mass, moles, and molar mass is a three-variable proportional equation. After converting your starting reactant grams to moles, feed the resulting molar amount into our Stoichiometry Reaction Calculator to compute theoretical product yields.

Governing Molar Conversion Equations:
Moles (n) = Mass (m) ÷ Molar Mass (M)
Mass (m) = Moles (n) × Molar Mass (M)
Molar Mass (M) = Mass (m) ÷ Moles (n)
Number of Entities (N) = n × 6.02214076 × 10²³
Worked Numerical Scenario 1 (Grams to Moles & Molecules of Water):

Problem: Convert 36.030 g of pure liquid water (H₂O) into moles and calculate the total number of water molecules present.

  1. Compute Molar Mass of H₂O: M = (2 × 1.008 g/mol H) + (1 × 15.999 g/mol O) = 18.015 g/mol.
  2. Divide Mass by Molar Mass: n = 36.030 g ÷ 18.015 g/mol = 2.0000 mol H₂O (2,000.0 mmol).
  3. Multiply by Avogadro's Constant: N = 2.0000 mol × 6.02214076 × 10²³ mol⁻¹ = 1.2044 × 10²⁴ molecules.
Worked Numerical Scenario 2 (Moles to Grams for Saline Buffer Prep):

Problem: A laboratory protocol calls for 0.250 mol of sodium chloride (NaCl). How many grams should be weighed on an analytical balance?

  1. Sum Atomic Weights for NaCl: M = 22.990 g/mol (Na) + 35.453 g/mol (Cl) = 58.443 g/mol.
  2. Calculate Mass (m = n × M): m = 0.250 mol × 58.443 g/mol = 14.6108 g NaCl.

According to the NIST Guide to the SI (Special Publication 811), the molar mass constant Mu equals 1.000000 × 10⁻³ kg/mol (1 g/mol), linking the microscopic unified atomic mass unit (u) directly to macroscopic grams per mole.

Key Chemical Concepts & Common Compound Molar Masses

Whether you are working with solid crystals, liquid reagents, or gases, the mole serves as the universal currency of chemistry. For gaseous samples where volume, pressure, and temperature are measured instead of mass, use our Gas Laws Calculator to convert between gas liters and moles.

1. Avogadro's Constant (NA)

Fixed at exactly 6.02214076 × 10²³ mol⁻¹, NA defines the exact number of carbon-12 atoms in 12.000 grams of isotopically pure ¹²C.

2. Atomic vs. Molecular Weight

Diatomic gases (H₂, N₂, O₂, F₂, Cl₂, Br₂, I₂) exist as paired molecules in nature; hence 1 mole of oxygen gas (O₂) weighs 31.998 g, twice the atomic weight of monatomic O (15.999 g/mol).

3. Waters of Crystallization

Hydrated salts (such as MgSO₄·7H₂O, Epsom salt) incorporate water molecules into their crystal lattice that must be added to the anhydrous formula weight.

4. Millimoles & Micromoles

Bench biochemistry frequently operates at millimolar (1 mmol = 10⁻³ mol) and micromolar (1 μmol = 10⁻⁶ mol) scales to match milligram sample weights.

Compound Name Chemical Formula Molar Mass (g/mol)
Water H₂O 18.015
Carbon Dioxide CO₂ 44.010
Sodium Chloride NaCl 58.443
Sulfuric Acid H₂SO₄ 98.079
Calcium Carbonate CaCO₃ 100.087
D-Glucose (Dextrose) C₆H₁₂O₆ 180.156

How to Use This Calculator

Complete any gram-to-mole, mole-to-gram, or molar mass determination in four quick steps:

1

Select Calculation Mode

Choose whether you want to solve for Moles (n), Mass in grams (m), or Molar Mass (M).

2

Pick a Preset or Enter M

Click a common reagent preset (H₂O, NaCl, Glucose, H₂SO₄) or type your compound's molar mass in g/mol.

3

Input Sample Quantity

Enter your measured mass in grams (or known moles when solving for mass or molar mass).

4

Read Moles & Entities

View the solved value alongside millimoles (mmol), Avogadro particle count, and STP gas volume.

To break down the elemental mass percentage contributed by each atom inside a compound's molar mass, use our Percent Composition Calculator.

Laboratory & Academic Benefits

  • •
    Three-Mode Reversible Solver: Computes Moles (n = m/M), Mass (m = n×M), or unknown Molar Mass (M = m/n) from a single unified interface.
  • •
    Simultaneous Millimole (mmol) Readout: Automatically displays millimoles (1 mol = 1,000 mmol) in the hero badge for micro-scale organic and biochemical synthesis.
  • •
    Avogadro & STP Gas Equivalents: Computes exact scientific-notation particle counts (n × NA) and ideal gas volume at STP (n × 22.414 L/mol) automatically.
  • •
    IUPAC Standard Atomic Weights: Pre-loaded presets use 5-significant-figure IUPAC atomic weights to prevent rounding drift on exam and titration problems.

Once you know the moles of solute in your sample, calculate the resulting solution concentration in mol/L using our Molarity Calculator.

Factors Affecting Gravimetric Accuracy & Limitations

1. Hygroscopic & Deliquescent Reagents

Pellets of sodium hydroxide (NaOH) and anhydrous calcium chloride (CaCl₂) rapidly absorb atmospheric moisture and CO₂ while sitting on a balance pan, inflating apparent mass and under-delivering true solute moles.

2. Reagent Purity & Assay Percentage

If an ACS-grade reagent bottle specifies 98.0% purity, divide your target gram mass by 0.980 to compensate for inert impurities when preparing primary analytical standards.

3. Isotopic Enrichment

Deuterated NMR solvents (such as D₂O with M = 20.028 g/mol vs. H₂O at 18.015 g/mol) or ¹³C-labeled tracers have higher molar masses than natural-abundance periodic table averages.

According to OpenStax Chemistry 2e, retaining at least four to five significant digits in molar mass values during intermediate calculations prevents cumulative rounding errors in gravimetric analysis. In quantitative analytical chemistry, primary standard reagents such as potassium hydrogen phthalate (KHP, KHC₈H₄O₄, M = 204.221 g/mol) and anhydrous sodium carbonate (Na₂CO₃, M = 105.988 g/mol) are dried in a laboratory convection oven at 110°C for two hours and cooled inside a silica-gel desiccator prior to weighing on a four-decimal analytical balance (readability 0.1 mg = 0.0001 g). When converting between macroscopic sample mass and microscopic particle counts, chemists also distinguish between formula units of ionic crystals (where 1.000 mol of CaCl₂ dissociates in aqueous solution into 1.000 mol of Ca²⁺ cations and 2.000 mol of Cl⁻ anions, yielding 3.000 mol of total dissolved ions or 1.8066 × 10²⁴ total ions) and covalent non-electrolytes like sucrose (C₁₂H₂₂O₁₁, M = 342.297 g/mol) or D-glucose (C₆H₁₂O₆, M = 180.156 g/mol), which remain intact as discrete dissolved molecules without ionic dissociation. For gaseous reactants and products, the IUPAC standard molar volume at 0°C (273.15 K) and 1 atm (101.325 kPa) is 22.414 L/mol, while at 1 bar (100 kPa) and 273.15 K it is 22.711 L/mol, and at ambient laboratory conditions (25°C, 298.15 K, 1 atm) 1.000 mole of an ideal gas occupies 24.465 liters.

Critical Formula Caveat:

When calculating the molar mass of compounds containing parentheses—such as calcium nitrate, Ca(NO₃)₂—remember to multiply every subscript inside the parentheses by the outside subscript (1 Ca + 2 N + 6 O = 164.088 g/mol).

Mole and Molar Mass Calculator interface converting grams, moles, molar mass, and Avogadro particle counts
Mole and Molar Mass Calculator interface for chemistry conversions between grams, moles, and molecules.

Frequently Asked Questions (FAQ)

What is a mole in chemistry and how is it defined?

A mole (symbol: mol) is the SI base unit for the amount of substance. Since the 2019 SI redefinition by the International Bureau of Weights and Measures (BIPM) and NIST, one mole is defined as containing exactly 6.02214076 × 10^23 elementary entities (Avogadro's constant, N_A), whether those entities are atoms, molecules, ions, electrons, or formula units.

What is molar mass and how do I find it from the periodic table?

Molar mass (M) is the physical mass in grams of exactly one mole of a substance, expressed in grams per mole (g/mol). It is numerically equal to the element's standard atomic weight in unified atomic mass units (u or Da) listed on the IUPAC periodic table. To find the molar mass of a chemical compound, sum the atomic weights of every atom in its molecular formula.

How do I convert grams to moles and moles to grams?

To convert mass in grams (m) to moles (n), divide the sample mass by the compound's molar mass: n = m / M. Conversely, to convert a known molar amount (n) into laboratory mass in grams (m), multiply the number of moles by the molar mass: m = n × M.

How do I calculate the exact number of atoms or molecules from moles?

Multiply the chemical amount in moles (n) by Avogadro's constant (N_A = 6.02214076 × 10^23 mol^-1): Number of Particles (N) = n × 6.02214076 × 10^23. For example, 2.00 moles of liquid water (36.03 g) contain 1.2044 × 10^24 individual H2O molecules and 3.6133 × 10^24 total atoms.

What is the difference between molecular weight, formula weight, and molar mass?

Molecular weight (or molecular mass) refers to the mass of a single discrete covalent molecule measured in daltons (Da) or unified atomic mass units (u). Formula weight applies to ionic crystal lattices (like NaCl or CaCO3) that exist as repeating formula units rather than discrete molecules. Molar mass (g/mol) is the macroscopic mass of one Avogadro's number of either molecules or formula units.

Why do atomic weights on the periodic table have decimal fractions?

Standard atomic weights on the periodic table are weighted averages of all naturally occurring stable isotopes of an element based on their terrestrial abundance. For example, natural chlorine consists of ~75.76% Chlorine-35 (34.969 u) and ~24.24% Chlorine-37 (36.966 u), yielding an average molar mass of 35.453 g/mol.