Tax calculator

Free adjusted gross income calculator

Enter your gross income and above-the-line deductions — this AGI calculator subtracts retirement contributions, HSA, student loan interest, and other adjustments to show your 2024 adjusted gross income, updated live, as you type.

InputsLive
Gross pay (this period)
$
Federal income tax rate
%
Estimate from your tax bracket or W-4.
State income tax rate
%
Enter 0 if your state has no income tax.
Other deductions
$
Health insurance, 401(k), etc.
Result
Net pay
$3,267.5
Deductions: $1,732.5 · FICA: $382.5
Net pay$3,267.5
Federal tax$1,100
State tax$250
FICA (SS + Med)$382.5

Estimated only. Actual withholding depends on your W-4 elections, filing status, and local laws. Consult your payroll provider for exact figures.

Results are estimates. Consult a professional.

How it's calculated

How the adjusted gross income calculator works

Adjusted gross income (AGI) is the single most important number on your federal tax return. It is the foundation that determines whether you qualify for dozens of credits and deductions — the Saver's Credit, the earned income credit, Roth IRA contributions, the student loan interest deduction, medical expense deductions, and Medicare Part B and D premiums (IRMAA), among others. The AGI calculator starts with your total gross income and subtracts only the deductions the IRS allows before the adjusted gross income line, known as above-the-line deductions.

AGI = gross income above-the-line deductions
Gross income = wages + self-employment income + interest + dividends + capital gains + other income
Above-the-line deductions = retirement contributions + HSA + student loan interest
+ ½ SE tax + alimony (pre-2019 decrees) + educator expenses + others
IRS Publication 590-A: Contributions to Individual Retirement Arrangements; IRS Rev. Proc. 2023-34.
Example

Worked example: teacher with IRA and student loan interest

Example: Single teacher, $58,000 wages, $3,000 IRA, $1,200 student loan interest

Morgan is a single public school teacher earning $58,000 in wages. Morgan contributes $3,000 to a traditional IRA (Morgan has no workplace retirement plan, so the full contribution is deductible), deducts $250 as an educator expense, and paid $1,200 in student loan interest. Here is how AGI is calculated.

Gross income: $58,000
IRA contribution: $3,000
Educator expenses: $250
Student loan interest: $1,200
= AGI: $53,550
$53,550 AGI
By taking $4,450 of above-the-line deductions, Morgan reduces AGI by $4,450 without itemizing — unlocking better eligibility thresholds for multiple credits and deductions.
Quick reference

Common above-the-line deductions and 2024 limits

Above-the-line deductions reduce AGI regardless of whether you itemize or take the standard deduction. Each has its own cap and eligibility rules.

Deduction2024 limitWho qualifies
Traditional IRA contribution$7,000 ($8,000 age 50+)Anyone with earned income; deductibility phases out with workplace plan
401(k) / 403(b) elective deferral$23,000 ($30,500 age 50+)Employees with workplace plan; reduces W-2 AGI automatically
SEP-IRA contribution25% of net SE income, up to $69,000Self-employed individuals
HSA contribution (self-only)$4,150HDHP enrollees; self-only coverage
HSA contribution (family)$8,300HDHP enrollees; family coverage
Student loan interest$2,500 maxModified AGI < $85,000 single / $175,000 MFJ (2024)
Educator expenses$300 ($600 MFJ, both educators)K-12 teachers; unreimbursed classroom expenses
½ self-employment tax50% of SE tax paidSelf-employed individuals
Alimony paidFull amount paidDivorce decrees executed before Jan. 1, 2019 only
Health insurance (SE)100% of premiumsSelf-employed; not eligible for employer plan

Source: IRS Rev. Proc. 2023-34 (2024). IRA deductibility phases out: single with workplace plan $77,000–$87,000; MFJ both covered $123,000–$143,000.

Practical tips

Tips for lowering your AGI

Because AGI is the gatekeeper to so many tax benefits, reducing it has a compounding effect — a lower AGI can simultaneously improve Roth IRA eligibility, boost the Saver's Credit rate, lower Medicare premiums, and expand medical expense deductibility.

  • Max your workplace retirement plan first. Traditional 401(k) or 403(b) contributions come straight out of your paycheck before taxes, reducing your W-2 Box 1 wages and therefore your AGI automatically — no extra form needed.
  • Fund an HSA if you have a high-deductible health plan. The HSA deduction is above the line, reduces AGI, and the money grows tax-free and is tax-free for qualified medical expenses. It is one of the only triple-tax-advantaged accounts available.
  • Self-employed? Deduct the employer half of SE tax. The IRS lets self-employed filers deduct 50% of their self-employment tax — calculated on Schedule SE — directly from AGI. Do not overlook it.
  • Contribute to an IRA even if not fully deductible. Even a non-deductible traditional IRA contribution may be worth making for future Roth conversions (the 'backdoor Roth'), and the contribution still counts toward the Saver's Credit.
  • Watch the IRA deductibility phase-out. If you or your spouse has a workplace plan, the traditional IRA deduction phases out by AGI. If your AGI falls within the phase-out range, boosting 401(k) contributions to lower AGI may restore your IRA deduction.
Accuracy & limits

Accuracy and limitations

This calculator uses 2024 limits from IRS Rev. Proc. 2023-34 and covers the most common above-the-line deductions. It does not cover every possible adjustment — items such as jury duty pay, rental loss, moving expenses (active military only), or archer MSA deductions are omitted. The IRA deductibility phase-out is applied based on your inputs, but the exact phase-out amount is prorated over a $10,000 range (single) or $20,000 range (MFJ); enter your best estimate of AGI after all other adjustments to get the most accurate result.

AGI is calculated on your Form 1040 before you claim the standard deduction or itemized deductions. Modified AGI (MAGI) — used for Roth IRA eligibility, the student loan interest deduction, and IRMAA — adds back certain deductions to AGI and may differ from the figure this calculator shows. For MAGI calculations, refer to the specific instructions for the benefit you are evaluating.

Glossary

AGI terms defined

Gross income minus above-the-line deductions. Found on line 11 of Form 1040. Used as the benchmark for nearly all income-based phase-outs and credit eligibility tests.
A deduction available before the AGI line — you take it whether or not you itemize. Examples: IRA contributions, HSA, student loan interest, half of SE tax.
Deductions taken after AGI, either as the standard deduction or as itemized deductions (Schedule A). These do not reduce AGI.
AGI with certain deductions added back, defined differently for each tax provision. For Roth IRA eligibility, MAGI adds back traditional IRA deductions, student loan interest, and several other items.
Income-Related Monthly Adjustment Amount. An AGI-based surcharge on Medicare Part B and D premiums. Your AGI from two years prior determines the current year's IRMAA bracket.
A health insurance plan with a minimum deductible of $1,600 (self-only) or $3,200 (family) in 2024 that makes you eligible to contribute to an HSA.
The Social Security and Medicare taxes paid by self-employed individuals — 15.3% on net self-employment income up to the Social Security wage base, then 2.9% above it. Half is deductible as an above-the-line adjustment.
About

About this adjusted gross income calculator

This calculator runs entirely in your browser — nothing you enter is sent to any server.

Browse more in our tax calculators, or explore the complete library on the free calculators page.

Questions

Frequently asked questions about the free adjusted gross income calculator

An adjusted gross income calculator is a free online tool that helps you calculate AGI from gross income minus above-the-line deductions. AGI = gross − retirement contributions − HSA − student loan interest − ½ SE tax. It runs entirely in your browser with instant results and no sign-up.
No — these are simplified estimates based on 2024 brackets. Real tax filing requires considering all your deductions, credits, AMT, state taxes, and the latest IRS guidance. Use professional tax software or a CPA for filing.
Marginal rate is what you pay on your next dollar of income. Effective rate is total tax ÷ total income — typically much lower because of the progressive brackets and deductions.
Federal only. State tax varies by jurisdiction; some states have no income tax (TX, FL, WA, etc.), others up to 13%+ (CA, NY). Add state tax separately based on your state.

Want a calculator built for your business?

Customize any of our 400+ tools to match your brand, or commission a new one tailored to how your business actually calculates — pricing, payroll, quotes, anything. Deployed on your domain, math runs in your visitors' browsers.