The oxidation state or oxidation number can be defined as the loss or gain of electrons from an atom, molecule, or ion to achieve a stable electronic configuration.
Each element shows a different oxidation state depending upon the total number of valence shell electrons.
Nitrogen is a chemical element with atomic number 7.
The nitrate ion is having -1 charge on it and thus it is not a neutral atom.
Given oxidation state
Oxygen gains 2 electrons to attain noble gas configuration and therefore it shows a -2 oxidation state.
Let the oxidation state of nitrogen be x.
Calculating the oxidation number
The oxidation number can be calculated as follows: