Concept:Elements in the same group of the periodic table have the same number of valence electrons.Explanation:Calcium and magnesium are both in Group 2.They each have 2 valence electrons.This explains why they are placed in the same position/group in the periodic table.Answer:They all have the same valence electrons.