Argon has an atomic number of 18, which means it has 18 electrons. Calcium has an atomic number of 20, which means it has 20 electrons. However, when calcium loses two electrons to become a calcium ion, it has 18 electrons remaining.
Therefore, argon atoms and calcium ions have the same number of electrons and the same electron configuration, making them isoelectronic.