The electron configuration for boron is 1s2 2s2 2p1. In the electron configuration, the first number stands for the energy level, and the letter stands for the orbital type, also called the sublevel of the main energy level. The second number, typically written in superscript, indicates the number of electrons.
The electron configuration for boron can also be written in shortened form as [He] 2s2 2p1, where [He] represents the electron configuration of the element helium, which is the equivalent to 1s2. The electron configuration for an element can be determined by its location on the periodic table of elements. The four different types of orbitals are s,p,d and f.