An integrated crystal chemistry – DFT based electron localization is presented for rationalizing electron lone pairs LP. In KrF2 and XeF2 LP's adopt a torus like volume whose metrics are presented. Mechanism of phase transition between two KrF2 phases is proposed.