Sum atomic weights from a chemical formula, including parenthesized groups.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
A formula is parsed into element symbols and counts, each count is multiplied by stored atomic weight, and the products are summed. Parentheses multiply the enclosed group before summation.
Ca(OH)2
Molar mass: 74.092 Formula: Ca(OH)2 Element count: 3 Atom count: 5
Reagent labels check molar mass, stoichiometry converts grams to moles, and mass spectrometry compares formula mass with an ion.