This Rule governs the distribution of electrons in different shells of an atom.
According to this rule, ” the maximum number of electrons that can accommodate is given by 2n2 rule“.
Where n is the shell number
For K shell, n= 1 so, 2(1)2 = 2
For L shell, n=2 so, 2(2)2 = 8, and so on.