Use our electron subshell calculator for quick and accurate calculations. Free online tool.
Each electron subshell is characterized by a principal quantum number n and an azimuthal quantum number l. For a given shell n, the possible values of l range from 0 to n−1, corresponding to s (l=0), p (l=1), d (l=2), and f (l=3) subshells. The maximum number of electrons a subshell can accommodate equals 2(2l+1), reflecting the two spin states available per orbital. This constraint arises directly from the Pauli Exclusion Principle, which forbids two electrons from sharing an identical set of quantum numbers.
The energy ordering of subshells within and across shells determines how electrons fill an atom's configuration. Within a single principal shell, subshell energies increase in the order s < p < d < f. Across different shells, the Madelung rule (or n+l rule) governs the overall filling sequence, explaining why 4s is filled before 3d and why 5s precedes 4d. This ordering has direct consequences for the block structure of the periodic table, where s-, p-, d-, and f-block elements correspond to the outermost subshell being filled.
Calculating subshell properties — such as the number of orbitals, maximum electron capacity, and magnetic quantum number values — is an essential skill in general and inorganic chemistry. Our electron subshell calculator automates these computations, allowing students and researchers to verify configurations, explore quantum number relationships, and check their understanding of atomic structure quickly and accurately.
Electron configuration, orbital diagrams, valence electrons, and electron arrangement
Explore CategoryThe four subshell types are s, p, d, and f, corresponding to azimuthal quantum numbers l = 0, 1, 2, and 3 respectively. They differ in the number of orbitals and the maximum electrons each can hold.
The number of orbitals in a subshell equals 2l+1: s has 1, p has 3, d has 5, and f has 7 orbitals. Each orbital can hold a maximum of two electrons with opposite spins.
The d subshell (l=2) contains 5 orbitals and can hold a maximum of 10 electrons, since each orbital accommodates 2 electrons with opposite spins.
Within a principal shell, higher l values correspond to orbitals with less penetration toward the nucleus and greater shielding by inner electrons, resulting in higher effective energy levels.
The subshell holding the outermost (valence) electrons determines an element's chemical behavior, including its valence, bonding capacity, and position in the periodic table blocks (s, p, d, or f).