The maximum number of electrons allowed in each orbital is
The electron configuration of an atom contains orbitals and shells, which are then further classified into subshells to describe the electron positioning.
Orbitals can each contain
Starting with the shell closest to the nucleus, there is only one s subshell with a single orbital containing two electrons.
Moving to the second shell closest to the nucleus, there is one s subshell with a single orbital containing two electrons and one p subshell with three orbitals each containing two electrons.
As the electron count goes up, the orbitals in the subshells increase steadily, but the number of electrons in each orbital remain at a constant