In the rock salt structure, the number of formula units per unit cell is equal to
In Nacl (rock salt): Number of Na+ ions = 12 (at edge centers) ×14+1 (at body center) × 1 = 4.
Number of Cl− ions = 8 (at corners) ×18+6 (at face center) ×12=4. Thus 4 formula units per unit cell.