Which of the following has the smallest size?
Mg2+
As the nuclear charge per e− is maximum in Mg2+, it has smallest size among Na+, Mg2+, Cl− and F−.
To make it more elaborate:
Na+ and Mg2+ have only 2 outer shells so they are smaller.
Now between Mg2+ and Na+, Mg2+ has a higher number of protons, so higher effective nuclear charge.