Enter a chemical formula
Enter one neutral chemical formula, using the correct capitalization for each element. The calculator accepts Unicode subscripts, parentheses, square brackets, physical states such as (s) and (aq), and hydrates such as CuSO4·5H2O.
Try water and a grouped formula
H2O has a molar mass of 18.015 g/mol. For Ca(OH)2, the subscript 2 applies to both O and H inside the parentheses, giving approximately 74.092 g/mol. Use Load example to try a formula.
Read the element composition
The table lists the number of atoms of each element and its percentage of the total mass. Calculations use approximate standard atomic weights from the CIAAW abridged table. The calculator lists any elements whose standard atomic weights are unavailable. CIAAW
Convert grams and moles
Enter a mass in grams to calculate the amount in moles, or enter an amount in moles to calculate the mass. Use the formula’s molar mass in n = m / M and m = n × M.