User Rating 0.0
Total Usage 0 times
Income Sources
$
$
$
$
Enter negative for net losses (max −$3,000 applied)
$
Net profit triggers SE tax deduction
$
$
$
Gambling, jury duty, prizes, etc.
Above-the-Line Adjustments
$
Max $300 ($600 MFJ, both educators)
$
$
Max $7,000 (under 50) / $8,000 (50+)
$
Max $2,500; phaseout applies by filing status
$
Cannot exceed Schedule C net profit
$
$
$
Is this tool helpful?

Your feedback helps us improve.

About

Adjusted Gross Income (AGI) is the single most consequential number on your federal tax return. It determines eligibility for credits (Child Tax Credit phases out above $200,000 for single filers), deduction thresholds (medical expenses must exceed 7.5% of AGI), and Roth IRA contribution limits. An incorrect AGI can trigger IRS notices, delay refunds, or cause you to miss deductions worth thousands. This calculator applies 2024 IRS rules including self-employment tax computation at the statutory rate of 15.3% on 92.35% of net earnings, student loan interest phaseouts by filing status, and HSA contribution caps by coverage type.

The tool computes AGI as Gross Income Above-the-Line Adjustments. It does not approximate. Each adjustment uses the exact IRS cap for tax year 2024. Limitation: this calculator does not handle passive activity loss rules, net operating loss carryforwards, or foreign earned income exclusions. Those require Form 2555 or Schedule E worksheets beyond simple summation.

AGI calculator adjusted gross income tax calculator IRS AGI gross income above the line deductions tax deductions 2024 taxes

Formulas

The fundamental AGI equation follows IRS Form 1040 logic. Gross income aggregates all taxable income sources, and above-the-line adjustments reduce it before any standard or itemized deductions apply.

AGI = Gross Income Above-the-Line Adjustments

Where Gross Income is computed as:

Gross Income = W + I + D + CG + B + R + RT + O

Where W = Wages, salaries, tips (W-2 Box 1); I = Taxable interest (1099-INT); D = Ordinary dividends (1099-DIV); CG = Capital gains or losses (net, Schedule D); B = Business income or loss (Schedule C net); R = Rental/royalty income (Schedule E); RT = Retirement distributions (taxable portion); O = Other income (gambling, jury duty, etc.).

The self-employment tax deduction is calculated internally:

SEtax = B × 0.9235 × 0.153
SEdeduction = 0.5 × SEtax

Student loan interest deduction uses a phaseout formula when MAGI falls within the phaseout range:

Allowed = Claimed × Ceiling MAGICeiling Floor

Where for single filers: Floor = $80,000 and Ceiling = $95,000. For MFJ: Floor = $165,000 and Ceiling = $195,000.

Reference Data

Adjustment (Above-the-Line)IRS Line / Form2024 MaximumEligibility Notes
Educator ExpensesSchedule 1, Line 11$300 (600 joint)K-12 teachers with ≥ 900 hours
HSA Deduction (Self-only)Form 8889 → Sch 1, Line 13$4,150Must have HDHP coverage
HSA Deduction (Family)Form 8889 → Sch 1, Line 13$8,300Must have HDHP coverage
HSA Catch-up (age ≥ 55)Form 8889$1,000 additionalAdded to self-only or family limit
SE Tax Deduction (50%)Schedule SE → Sch 1, Line 15No cap (calculated)50% of SE tax
SE Health InsuranceSchedule 1, Line 17Limited to SE net profitNot eligible if employer plan available
IRA DeductionSchedule 1, Line 20$7,000 (< 50) / $8,000 (≥ 50)Phaseout if covered by workplace plan
Student Loan InterestSchedule 1, Line 21$2,500Phaseout: Single $80,000 - 95,000 MAGI
Student Loan Interest (MFJ)Schedule 1, Line 21$2,500Phaseout: MFJ $165,000 - 195,000 MAGI
Alimony PaidSchedule 1, Line 19aNo capDivorce/separation before 2019 only
Moving Expenses (Military)Form 3903 → Sch 1, Line 14Actual expensesActive-duty military orders only
Penalty on Early Savings WithdrawalSchedule 1, Line 18Actual penaltyReported on 1099-INT/OID
Archer MSA DeductionForm 8853 → Sch 1, Line 23VariesRare; mostly grandfathered accounts
Domestic Production (DPAD)Repealed for individuals after TCJA0Only for certain pass-throughs pre-2018
Tuition and FeesExpired after 20200Replaced by expanded Lifetime Learning Credit
Self-Employment Tax RateSchedule SE15.3%12.4% SS + 2.9% Medicare
SE Tax Base MultiplierSchedule SE92.35%Net SE × 0.9235
SS Wage Base (2024)IRS Notice$168,600Only SS portion capped; Medicare uncapped
Additional Medicare TaxForm 89590.9% above thresholdSingle: $200,000; MFJ: $250,000

Frequently Asked Questions

Self-employment income (Schedule C net profit) flows into gross income just like wages, but it also generates two additional above-the-line deductions. First, the IRS allows you to deduct 50% of your self-employment tax (calculated as net profit × 0.9235 × 15.3%). Second, if you pay for your own health insurance and have no employer-sponsored plan available, the full premium is deductible. These two adjustments can reduce AGI by thousands even though gross income appears higher than an equivalent W-2 salary.
The 0.9235 factor (which equals 1 − 0.0765) simulates the employer-half deduction that W-2 employees receive. Employers pay 7.65% of FICA on behalf of their employees, and that portion is never included in the employee's income. Self-employed individuals must replicate this treatment by reducing their SE tax base by the equivalent 7.65%, resulting in the 92.35% multiplier specified in Schedule SE instructions.
The deduction uses a linear phaseout. For single filers in 2024, the phaseout range is $80,000 - $95,000 MAGI. If your MAGI is $87,500 (halfway through the range), your allowed deduction is 50% of the amount you paid, up to the $2,500 cap. Above $95,000, the deduction is zero. Note that MAGI for this purpose is essentially AGI before this specific deduction - creating a circular reference. The calculator handles this iteratively.
Yes, but with limits. Net capital losses (where total losses exceed total gains) can offset up to $3,000 of other income per year ($1,500 if married filing separately). Losses exceeding this threshold carry forward to future tax years. Enter your net capital gain/loss figure - if negative, the calculator caps the deduction at −$3,000 for AGI purposes.
Only for divorce or separation agreements executed before January 1, 2019. The Tax Cuts and Jobs Act (TCJA) eliminated the alimony deduction for the payer (and corresponding income inclusion for the recipient) for all agreements executed or substantially modified after December 31, 2018. If your agreement predates 2019 and has not been modified to adopt the new rules, the full amount is deductible.
Modified Adjusted Gross Income (MAGI) starts with AGI and adds back certain items - typically foreign earned income exclusion, tax-exempt interest, and the student loan interest deduction itself. For traditional IRA deduction phaseouts, the IRS uses MAGI. In most cases for domestic filers without foreign income, MAGI equals AGI. This calculator computes AGI; if you have foreign exclusions, your MAGI for IRA purposes will be higher than the AGI shown.
Taxpayers aged 55 or older by the end of the tax year who are enrolled in a High Deductible Health Plan (HDHP) can contribute an additional $1,000 above the standard HSA limit. For 2024, this means a self-only contributor can deduct up to $5,150 ($4,150 + $1,000) and a family contributor up to $9,300 ($8,300 + $1,000). The catch-up amount is not prorated for partial-year coverage.