The electronic configuration is determined by the number of electrons, which is equal to the atomic number. Electrons fill energy levels (shells) around the nucleus in a specific order, following the Aufbau principle, Hund’s rule, and the Pauli exclusion principle.