Enter the formula
Type the chemical formula using correct element symbols, numbers, and grouping marks.
Enter any valid chemical formula to calculate its molar mass, atom count, elemental mass, and percentage composition in a clear breakdown.
Formula input
Use standard chemical symbols and numbers. Element capitalization is important.
Quick examples
You can use elements, numbers, parentheses, square brackets, coefficients, and hydrate dots. Examples include Fe2(SO4)3, K4[Fe(CN)6], and CuSO4·5H2O.
Calculated result
Enter a valid chemical formula to view molar mass and element percentages.
Simple calculation process
The calculator analyzes your formula structure, counts every atom, applies atomic weights, and presents a complete result.
Type the chemical formula using correct element symbols, numbers, and grouping marks.
Parentheses, brackets, coefficients, and hydrate sections are expanded automatically.
Each atom count is multiplied by the standard atomic weight of its element.
View the total molar mass, atom counts, subtotals, and percentage composition.
A molar mass calculator is a chemistry tool that calculates the mass of one mole of a compound from its chemical formula. The answer is normally given in grams per mole, or g/mol.
Every chemical element has an atomic mass. A chemical formula tells you which elements are present and how many atoms of each element are included. The calculator multiplies each atomic mass by its atom count and adds the values together.
The general calculation can be written as:
Molar mass = Σ (number of atoms × atomic mass)
Molar mass connects the microscopic number of particles in a substance with a measurable mass in grams. It is regularly used in stoichiometry, laboratory preparation, chemical equations, and concentration calculations.
Helpful answers
Learn more about formulas, atomic weights, hydrates, and molar mass calculations.
Molar mass is the mass of one mole of a substance. It is normally expressed in grams per mole, written as g/mol.
Molar mass is calculated by multiplying the atomic mass of each element by the number of atoms present and then adding all element totals together.
Yes. The calculator supports formulas containing parentheses and square brackets, including Ca(OH)2, Al2(SO4)3, and K4[Fe(CN)6].
Yes. You can calculate hydrate formulas such as CuSO4·5H2O. A regular period can also be used instead of the middle dot.
Percentage composition shows the percentage of the total compound mass contributed by each individual element.
The calculator uses commonly accepted standard atomic weights. Results are suitable for normal educational and chemistry calculations.
Yes. You may enter regular numbers such as H2O or Unicode subscript numbers such as H₂O.