Question: calculate how much tax i should have paid?
Answer: First, we calculate your adjusted gross income (AGI) by taking your total household income and reducing it by certain items such as contributions to your 401(k).
Next, from AGI we subtract exemptions and deductions (either itemized or standard) to get your taxable income.