The oxidation state or oxidation number is defined as the loss or gain of electrons in an atom, molecule, or compound to achieve a stable configuration.
The atomic number of Hydrogen is 1.
The general electronic configuration of Hydrogen is .
Hydrogen can act as an electron donor as well as an electron acceptor.
The oxidation number of Hydrogen can vary from -1 to +1.
In Hydrides such as Sodium hydridethe oxidation number of Hydrogen is -1.
In acids and oxides, the oxidation number of Hydrogen is +1 like in HCl.