The smallest repeating units of ionic compounds are called formula units. A formula unit is the simplest whole-number ratio of the constituent ions in a compound. For example, the formula unit of sodium chloride (NaCl) is one sodium ion (Na+) and one chloride ion (Cl-).