Molecular formulas show how many atoms of each element a molecule contains.
For example, water:
For example, water:
For ionic compound, ratios of ions are expressed in lowest terms.
For example, magnesium nitrate:
For example, magnesium nitrate:
Formula unit represents the smallest particle of an ionic compound. Molecule means the same for covalent compounds.