📊 Element Breakdown & Percentage Composition
| Element | Symbol | Atomic Mass (g/mol) | Count | Mass Contribution (g/mol) | Percentage |
|---|
Calculate molecular weight and molar mass from chemical formulas. Supports common elements, parenthesized groups, and hydrated compounds.
Formula: H₂O
Element Count: Hydrogen (H) × 2, Oxygen (O) × 1
Calculation: (2 × 1.008) + (1 × 16.00) = 2.016 + 16.00
Molar Mass: 18.02 g/mol
Water is the most abundant molecule on Earth, essential for all known forms of life.
Formula: C₆H₁₂O₆
Element Count: Carbon (C) × 6, Hydrogen (H) × 12, Oxygen (O) × 6
Calculation: (6 × 12.01) + (12 × 1.008) + (6 × 16.00) = 72.06 + 12.096 + 96.00
Molar Mass: 180.16 g/mol
Glucose is a simple sugar that serves as the primary energy source for living organisms.
Formula: H₂SO₄
Element Count: Hydrogen (H) × 2, Sulfur (S) × 1, Oxygen (O) × 4
Calculation: (2 × 1.008) + (1 × 32.07) + (4 × 16.00) = 2.016 + 32.07 + 64.00
Molar Mass: 98.09 g/mol
Sulfuric acid is a highly corrosive strong acid widely used in industrial chemical production.
Formula: NaCl
Element Count: Sodium (Na) × 1, Chlorine (Cl) × 1
Calculation: (1 × 22.99) + (1 × 35.45) = 22.99 + 35.45
Molar Mass: 58.44 g/mol
Sodium chloride is the most common salt, essential for human nutrition and food preservation.
Formula: NaHCO₃
Element Count: Sodium (Na) × 1, Hydrogen (H) × 1, Carbon (C) × 1, Oxygen (O) × 3
Calculation: (1 × 22.99) + (1 × 1.008) + (1 × 12.01) + (3 × 16.00) = 22.99 + 1.008 + 12.01 + 48.00
Molar Mass: 84.01 g/mol
Sodium bicarbonate is commonly used in baking, cleaning, and as an antacid.
Molar mass is the mass of one mole of a substance (6.022 × 10²³ particles, Avogadro's number). It is expressed in grams per mole (g/mol). For chemical compounds, the molar mass is the sum of the atomic masses of all atoms in the molecular formula.
Groups inside parentheses like Ca(OH)₂ have their subscript applied to every element inside. Ca(OH)₂ = Ca × 1, O × 2, H × 2.
Hydrates use a middle dot (·) like Na₂CO₃·10H₂O. The water molecules are treated separately and added to the total mass.
% Element = (Mass contribution of element ÷ Total molar mass) × 100%. This tells you the mass fraction of each element.
Atomic masses are typically given to 4 significant figures. Round final molar mass to 2 decimal places for most practical purposes.
Common elements with their atomic masses (g/mol):
Molar mass is a fundamental concept in chemistry that represents the mass of one mole of a substance. One mole is defined as exactly 6.02214076 × 10²³ particles (atoms, molecules, ions, or formula units) — this is known as Avogadro's number. The molar mass of a compound is expressed in grams per mole (g/mol) and is numerically equivalent to the molecular weight of that compound.
The molar mass of any chemical compound is calculated by summing the atomic masses of all atoms present in its chemical formula. For example, water (H₂O) has a molar mass of approximately 18.02 g/mol — consisting of two hydrogen atoms (2 × 1.008 g/mol) and one oxygen atom (16.00 g/mol). This value tells us that one mole of water molecules (about 18 mL of liquid water) has a mass of 18.02 grams.
Understanding molar mass is essential for many chemical calculations, including: converting between mass and moles, preparing solutions of specific concentrations, determining stoichiometric ratios in chemical reactions, calculating empirical and molecular formulas, and analyzing percentage composition of elements within compounds.
Molar mass serves as a bridge between the microscopic world of atoms and molecules and the macroscopic world of grams and kilograms that we can measure in the laboratory. Every chemical reaction is governed by the mole ratios of reactants and products — and molar mass is what allows chemists to convert between the mass of a substance and the number of moles (and therefore the number of molecules) present. Without molar mass, quantitative chemistry would not be possible.
The percentage composition of a compound tells you what fraction of the total mass each element contributes. This is calculated as: % Element = (Mass of element in one mole of compound ÷ Molar mass of compound) × 100%. For example, in water (H₂O), hydrogen contributes (2.016 ÷ 18.02) × 100% = 11.2% of the mass, while oxygen contributes (16.00 ÷ 18.02) × 100% = 88.8% of the mass. This information is valuable for determining the empirical formula of a compound from experimental data.
Using our Molar Mass Calculator is straightforward. Simply type or paste a chemical formula into the input field and click "Calculate Molar Mass." The calculator supports a wide range of chemical notation including:
Simple formulas like H₂O, CO₂, NaCl, H₂SO₄, C₆H₁₂O₆ — just type elements with their subscripts.
Groups with parentheses: Ca(OH)₂, Mg(NO₃)₂, Al₂(SO₄)₃, Fe₂(CrO₄)₃ — the subscript applies to all atoms inside.
Hydrated compounds: CuSO₄·5H₂O, Na₂CO₃·10H₂O, BaCl₂·2H₂O — use the middle dot (·) to separate the water molecules.
Polyatomic ions like NH₄NO₃, Na₂SO₄, KMnO₄, Ca₃(PO₄)₂ — the parser handles nested structures automatically.