Calcium is the 20th element, with 20 protons. Since a stable atom has a net charge of 0, we must have 20 electrons.
The number of neutrons will be the same as the number of protons, or else we will have an isotope, in this case, it is also 20.
Mass number is 40
Atomic number is 20
40-20 = 20