You need to review your federal tax return, Form 1040. You should see how the tax refund or the taxes owed were calculated. Do you see any errors on the Form 1040 for either income or taxes withheld or taxes paid.
Taxes owed are on the Form 1040 Line 37. A tax refund is on the Form 1040 Line 35a.