By determining the period that the element is in. For example, Calcium is in period 2 therefore its valence electron is located on energy level 2.