In chemistry, the molar mass (M) (sometimes called molecular weight or formula weight, but see related quantities for usage) of a chemical substance (element or compound) is defined as the ratio between the mass (m) and the amount of substance (n, measured in moles) of any sample of the substance: M = m/n. The molar mass is a bulk, not molecular, property of a substance. The molar mass is a weighted average of many instances of the element or compound, which often vary in mass due to the presence of isotopes. Most commonly, the molar mass is computed from the standard atomic weights and is thus a terrestrial average and a function of the relative abundance of the isotopes of the constituent atoms on Earth.
The molecular mass (for molecular compounds) and formula mass (for non-molecular compounds, such as ionic salts) are commonly used as synonyms of molar mass, as the numerical values are identical (for all practical purposes), differing only in units (dalton vs. g/mol or kg/kmol). However, the most authoritative sources define it differently. The difference is that molecular mass is the mass of one specific particle or molecule (a microscopic quantity), while the molar mass is an average over many particles or molecules (a macroscopic quantity).