In chemistry, the molar mass of a chemical substance is defined as the ratio between the mass and the amount of substance 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.