Examples
Examples
Try the starting example
- Chemical formula
- H2O
- Molar mass (g/mol)
- 18.015
Try another scenario
- Chemical formula
- Ca(OH)2
- Molar mass (g/mol)
- 74.092
Calculation method
Calculation method
Molar mass (g/mol)
formulaMass(a)
Symbols and units
- a
- Chemical formula
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Calculation steps and notation
Parse element symbols, numeric subscripts and parenthesised groups. Multiply each supported atomic weight by its atom count, including group multipliers, then sum. The built-in table covers H, He, Li, Be, B, C, N, O, F, Ne, Na, Mg, Al, Si, P, S, Cl, Ar, K, Ca, Fe, Cu, Zn, Br, I, Ag, Au and Pb; other elements are rejected. For example, H uses 1.008 and O uses 15.999 g/mol. This draft’s table requires specialist review.
Assumptions & limits
Assumptions & limits
- Uses a documented small table of standard atomic weights and supports simple parenthesised formulas. Isotopes, hydrates and ionic charges are not inferred.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.
Further reading
Background reading; this does not imply endorsement or independent review of SumFizz.