The octet rule is an observation that main group elements (periods 1–2 and 13–18) tend to be most stable when they have eight electrons in their valence shell. It is a subset of the rule that all atoms tend toward noble gas configurations. Each orbital can hold 2 so a filled shell will contain twice as many electrons as orbitals. follows the duet rule because its valence shell is just the 1s orbital; larger elements often follow the 18-electron rule because their valence shells have 9 total orbitals (one s, five d, and three p orbitals).

Physical explanation

Energy levels go down with increasing effective nuclear charge, but up with increasing quantum number. A figure will be key to making this point.

Exceptions

The octet rule is more of an octet suggestion. We regularly encounter atoms that do not conform to the octet rule. Atoms that do not have a complete octet are called electron deficient atoms and those that have more than a complete octet are called hypervalent atoms.