Oxygen valency is +2
because oxygen belong to overall group 16
or subgroup 6A, it means that 6 electron are present in outermost shell of oxygen
if outermost valence is greater than 4
then the following formula is used for finding valency
8-valence electron = 0
8-6=2
so it proves valency of oxygen is +2