Certain phase outs, including those of lower tax rates and itemized deductions, are based on levels of AGI. Many states base state income tax on AGI with certain deductions. Adjusted gross income is calculated by subtracting Above-the-line deduction from gross income.