The charge on the ion of an element in a certain group may be determined based on the element's group's position with respect to group 8, or the noble gases. Groups to the right of group 8, groups 1 and 2, have a positive valency. Groups to the left have a negative valency.