The charge on an ion can be calculated as