Answer:
the number of electrons in it's outermost energy level
Step-by-step explanation:
if the number of electrons in its outermost energy level is less than 4 that's the ion reacts by losing electrons and is thus the ion is positively charged
is the number of electrons in the outermost energy level is more than 48 react by gaining electrons and thus it is negatively charged