Where this goes wrong
bond order = (bonding − antibonding) ÷ 2
N₂: bonding 8, antibonding 2 · correct bond order = 3
Forgetting to divide by two. 8 − 2 = 6 is the surplus of bonding electrons, not the bond order. Bond order counts PAIRS, so halve it: (8 − 2)/2 = 3.
Adding the antibonding electrons. Antibonding electrons cancel bonding ones, so subtract. Adding gives (8 + 2)/2 = 5, a bond order larger than any real diatomic.
Subtracting in the wrong order. (2 − 8)/2 = −3. A negative bond order has no meaning. Bonding electrons come first: (8 − 2)/2 = 3.
Counting every electron. 8 + 2 = 10 is the total number of valence electrons, not the difference. Bond order uses bonding minus antibonding, then ÷ 2.