The principal quantum number (n) indicates the energy level of an electron and defines the size of the orbital it occupies. It ranges from 1 to infinity, with higher values representing higher energy levels.