Molecular Weight Calculator
Calculate formula mass from a chemical formula using a built-in atomic-mass table.
Enter a valid formula using supported element symbols and balanced parentheses.
Calculate formula mass from a chemical formula using a built-in atomic-mass table.
Enter a valid formula using supported element symbols and balanced parentheses.
The formula parser multiplies each element's atomic mass by its subscript and applies group multipliers from parentheses.
Each element symbol is looked up in the periodic table and multiplied by the number that follows it, which defaults to one when omitted. Parentheses create groups, and a number after the closing bracket multiplies everything inside, so Ca(OH)2 counts one calcium, two oxygens and two hydrogens. Hydrates and charges are not interpreted, and element symbols must use correct capitalisation: Co is cobalt while CO is carbon monoxide.
The value returned is the formula mass in unified atomic mass units. Numerically it equals the molar mass in grams per mole, which is the figure needed when weighing out a reagent, because one mole of any substance contains the same number of particles. Isotopic composition is averaged as in standard atomic weights, so a sample enriched in a particular isotope weighs slightly differently.
解析器将每种元素的原子量乘以其下标,并应用括号中的组倍数。
每个元素符号都会在周期表中查表,并乘以其后的数字(省略时默认为 1)。括号构成基团,右括号后的数字会乘遍括号内所有元素,因此 Ca(OH)2 含一个钙、两个氧和两个氢。水合物与电荷不被解析,且元素符号大小写必须正确:Co 是钴,而 CO 是一氧化碳。
返回的是以统一原子质量单位表示的式量。其数值等于以克每摩尔表示的摩尔质量,这正是称量试剂时需要的数字,因为任何物质的一摩尔都含相同数量的粒子。计算按标准原子量取同位素平均值,因此富集了某种同位素的样品计算值会略有不同。
Yes. Groups in parentheses are multiplied by the subscript that follows the closing bracket.
Use correct element capitalisation and digits without spaces, for example H2SO4 or Ca(OH)2. Charges and hydrate notation are not parsed.
They share the same number. Formula mass is expressed in atomic mass units while molar mass is in grams per mole.
The calculation uses standard atomic weights, which average the natural isotopic abundance.
Last reviewed: October 5, 2026 · How we calculate · Sources: Published formula reference; verify domain-specific assumptions before making a decision
最近复核:2026 年 10 月 5 日 · 我们的计算方法 · 来源:公式用于参考;涉及专业决定时请核对适用条件