A compound MpXq has cubic close packing (ccp) arrangement of X. Its unit cell structure shown below. The empirical formula of the compound is:
8 X atoms present at the corners.
Atoms contribute to 1 unit cell
6X atoms present at the face centres.
Total X atoms =3 + 1=4
4 M atoms present at edge centres.
1M atom present at body centre and it contribute completely to 1 unit cell
Thus, total M atoms in one unit cell = 1+1=2
Ratio is M:X::2:4::1:2
Thus, empirical formula is MX2.