Each nitrogen (N) atom has 5 valence electrons. Since there are two nitrogen atoms in N2, the total number of valence electrons in N2 is 2 × 5 = 10.