Molar Mass Calculator
ChemistryCalculate molar mass of any compound from its elements. Select up to 3 elements and enter atom counts to get total molecular weight and percent composition.
Molar Mass
What is a Molar Mass?
The Molar Mass Calculator computes the molar mass of a compound from its elemental composition. Select up to three elements and enter the number of atoms of each. The calculator sums nįµ¢ Ć Aįµ¢ for each element and returns the total molar mass in g/mol along with the mass percentage of each element.
Molar mass is the most fundamental conversion factor in chemistry ā it is the bridge between the macroscopic (grams, which you weigh on a balance) and the microscopic (moles of molecules, which you count by Avogadro's number). Without molar mass, no stoichiometric calculation is possible. For HāO: molar mass = 2Ć1.008 + 15.999 = 18.015 g/mol tells you that 18 g of water contains 6.022 Ć 10²³ molecules. For glucose CāHāāOā: molar mass = 180.156 g/mol (the default example showing three elements).
The Percent Composition Calculator focuses on elemental percentages and serves as the complementary tool to this one ā together they cover both the total mass and the distribution across elements. The Grams to Moles Calculator uses molar mass to convert measured masses to moles for reaction calculations.
How to use this Molar Mass calculator
- Select Element 1 from the dropdown (contains all common elements with atomic masses shown). For HāO, select H.
- Enter Atom Count 1 ā the subscript number in the formula. For HāO, count = 2.
- Select Element 2 and enter Atom Count 2. For HāO: O, count = 1.
- For three-element compounds (HāSOā, CāHāāOā): select Element 3 and enter count.
- Read Molar Mass in g/mol. Cross-check: HāO ā 18, NaCl ā 58, HāSOā ā 98, CaCOā ā 100.
Formula & Methodology
Molar mass from elemental composition:M = nāĆAā + nāĆAā + nāĆAā nįµ¢ = atom count for element i Aįµ¢ = standard atomic mass (g/mol) from IUPAC 2021 tablePercent composition:%element_i = (nįµ¢ Ć Aįµ¢ / M) Ć 100Worked example ā Aspirin (CāHāOā): CĆ9, HĆ8, OĆ4 ā three elements.C: 9 Ć 12.011 = 108.099 H: 8 Ć 1.008 = 8.064 O: 4 Ć 15.999 = 63.996 M = 108.099 + 8.064 + 63.996 = 180.159 g/mol %C = 108.099/180.159 Ć 100 = 60.00% %H = 8.064/180.159 Ć 100 = 4.48% %O = 63.996/180.159 Ć 100 = 35.52%Aspirin's molar mass of 180.16 g/mol means a 500 mg tablet contains 500/180.16 = 2.78 millimoles of aspirin. Indian generic manufacturers (including the world's largest aspirin producers in Hyderabad's pharma cluster) use this calculation for batch sheet preparation.
Frequently Asked Questions