Molar Mass & Empirical Formula Calculator

Type a formula to get its molar mass and percent composition, or switch modes to work backward from percents or grams to an empirical and molecular formula.

Want the concepts first? Read percent composition or empirical and molecular formulas.

Use capitals for element symbols. Parentheses, brackets, and hydrate dots (· or * or .) are supported.

Molar mass

342.13 g/mol

ElementAtomsAtomic massSubtotal (g/mol)% by mass
Aluminum (Al)226.9822 × 26.982 = 53.96415.77%
Sulfur (S)332.063 × 32.06 = 96.18028.11%
Oxygen (O)1215.99912 × 15.999 = 191.98856.12%