Deductions & credits

Right Wages does not include any pre-tax items like 401K.  Unless it is a ROTH 401K.  You can tell because on your W2 box 1 wages is less than boxes 3 & 5 for Social Security wages.   I don't know how HSA works.