A compound's empirical formula is the simplest integer ratio of the chemical elements that constitute it. For example, water is always composed of a 2:1 ratio of hydrogen to oxygen atoms, and ethyl alcohol or ethanel is always composed of carbon, hydrogen, and oxygen in a 2:6:1 ratio. However, this does not determine the kind of molecule uniquely – dimethyl ether has the same ratios as ethanol, for instance. Molecules with the same atoms in different arrangements are called isomers. Also carbohydrates, for example, have the same ratio (carbon:hydrogen:oxygen = 1:2:1) but different total numbers of atoms in the molecule.
The molecular formula reflects the exact number of atoms that compose the molecule and so characterizes different molecules. However different isomers can have the same atomic composition while being different molecules.
The empirical formula is often the same as the molecular formula but not always. For example, the molecule acetylene has molecular formula C2H2, but the simplest integer ratio of elements is CH.
The molecular mass can be calculated from the chemical formula and is expressed in conventional atomic mass units equal to 1/12 of the mass of a neutral carbon-12 atom. For network solids, the term formul unit is used in stoichiometric calculations.
In order to grasp the concept of molar mass calculations it is important to understand the molar unit. The mole also called mol is the basic unit of measurement in chemistry. By definition, in modern chemistry, one mole represents the number of carbon atoms in exactly 12 grams of carbon 12 isotope. Remember that carbon-12 has an atomic mass of 12 (six neutrons and six protons).
One mole of anything, however, contains 6.0221367E23 of that object. This is known as Avogadro's number.