Electron configurations are the summary of where the electrons are around a nucleus. As we learned earlier, each neutral atom has a number of electrons equal to its number of protons. What we will do now is place those electrons into an arrangement around the nucleus that indicates their energy and the shape of the orbital in which they are located.
Order of Fill
The order in which electrons are placed into the orbitals is based on the order of their energy. This is referred to as the Aufbau principle. The lowest energy orbitals fill first. Just like the quantum numbers themselves this order was determined by calculation and is summarized by the following chart:
or you can just use the periodic table: