Question: how many valence electrons are in an oxygen atom and an oxide ion?
Answer: A neutral oxygen atom will also have eight electrons. In an oxygen ion with a 2− charge, the number of protons is still 8, but the number of electrons is 10. This results in the oxygen ion having an octet (8) of valence electrons.