Finance calculators

AGI Calculator

Updated Nov 12, 2026 By Infinity Calculator Formulas Sources
5.0 · Rate
Estimated AGI So Far $0.00
Filing Status
Sets the yearly limits and income ranges.
You are unmarried or legally separated.
You and your spouse file a combined return.
You and your spouse file separate returns.
Unmarried and paid over half the cost of a home for a qualifying person.
Your spouse died in one of the two years before this tax year and you have a dependent child.
Income Sources
$
$
$
$
$
$
$
$
$
$
Total Gross Income: $0.00
Above-the-Line Deductions
$
$
$
$
$
$
$
Confirm the pre-2019 agreement above to enable this deduction.
$
$
Available only to active-duty Armed Forces members, and from 2026 to intelligence community employees and new appointees.
Total Deductions: $0.00

Your Estimated Adjusted Gross Income (AGI)
$0.00
Gross Income Breakdown
Show / hide itemized income
Total Gross Income: $0.00
Deductions Breakdown
Show / hide itemized deductions
Total Above-the-Line Deductions: $0.00
Step-by-Step Solution
Adjustment Notices
Income vs. Deductions vs. AGI
Gross Income Composition

Introduction

Your Adjusted Gross Income (AGI) is one of the most important numbers on your tax return. It is your total income minus certain deductions the IRS lets you take before you figure your taxes.1 The IRS uses your AGI to decide if you qualify for tax credits, deductions, and other benefits. Banks and lenders may also ask for it when you apply for a loan.

This free AGI calculator helps you estimate your Adjusted Gross Income step by step. Enter your income from wages, self-employment, capital gains, dividends, interest, rental income, and other sources. Then enter your above-the-line deductions, such as student loan interest, IRA contributions, and HSA contributions. The calculator applies the IRS caps and the student loan and rental loss phaseouts automatically, flags when a workplace retirement plan may limit your IRA deduction, and shows you exactly how your AGI is computed.

This tool adjusts its rules to match your filing status: single, married filing jointly, married filing separately, head of household, or qualifying surviving spouse. Use it to plan ahead, check your numbers, or simply learn how AGI works.

How to Use Our AGI Calculator

Enter your income and deductions below. The calculator will subtract your above-the-line deductions from your total gross income and give you your estimated adjusted gross income (AGI).

Tax Year: Pick 2025 or 2026. This sets the yearly limits and income ranges the calculator applies.

Filing Status: Pick the filing status that matches your tax return. Choose Single, Married Filing Jointly, Married Filing Separately, Head of Household, or Qualifying Surviving Spouse.

Wages, Salaries & Tips: Enter the total pay from your job. You can find this number in box 1 of your W-2 form.15

Self-Employment / Business (Net): Enter your net business profit after expenses. This is the amount from your Schedule C. Enter a loss as a negative number.

Capital Gains (Net): Enter your combined net gains from selling stocks, property, or other assets. Enter a net loss as a negative number. If your capital losses are more than your capital gains, at most $3,000 of the net loss ($1,500 if married filing separately) lowers this year's income, and the rest carries forward to later years.13

Ordinary Dividends: Enter the total ordinary dividends you received. This amount is in box 1a of your 1099-DIV form.15

Taxable Interest: Enter interest earned from bank accounts, bonds, or other sources.

Rental Income (Net): Enter your rental income after subtracting rental expenses. Enter a loss as a negative number. If you actively take part in managing the rental, up to $25,000 of a rental loss can lower your other income.14 That limit shrinks by 50 cents for each dollar of modified AGI over $100,000 and is gone at $150,000, and married couples filing separately who lived together during the year get none of it.14 If you file separately and lived apart from your spouse all year, the limit is $12,500, and it shrinks by 50 cents for each dollar of modified AGI over $50,000 and is gone at $75,000.14 Tick the lived-apart box to use it. The calculator assumes you actively participate, and the part of the loss that is not allowed carries forward.

Unemployment Compensation: Enter any taxable unemployment benefits you received.

Taxable Social Security: Enter only the taxable portion of your Social Security benefits.

Alimony Received: Enter alimony you received under a divorce agreement finalized before January 1, 2019.2

Other Taxable Income: Enter any other taxable income not listed above.

Educator Expenses: Enter unreimbursed classroom expenses if you are an eligible educator, which means a kindergarten through grade 12 teacher, instructor, counselor, principal or aide for at least 900 hours in the school year.3 For 2025 the limit is $300.16 For 2026 it is $350.5 If you are married filing jointly and both of you are eligible educators, each of you can deduct up to the limit.3 Tick the box if you both are.

Student Loan Interest Paid: Enter interest you paid on qualified student loans. The limit is $2,500, and this deduction phases out at higher income levels.4 For this phaseout, modified AGI is your total income minus your other above-the-line deductions.15

IRA Contribution Deduction: Enter your deductible traditional IRA contributions. For 2025 the limit is $7,000, plus a $1,000 catch-up contribution if you are age 50 or older.6 For 2026 it is $7,500, plus a $1,100 catch-up.12 Check the boxes if you are 50 or older or if you have a workplace retirement plan.

HSA Contributions: Enter your Health Savings Account contributions. Select whether you have self-only coverage or family coverage. For 2025 the limits are $4,300 for self-only and $8,550 for family coverage, and for 2026 they are $4,400 and $8,750.7 If you are 55 or older at the end of the year, your limit is $1,000 higher.7 Tick the age box to add it.

Deductible Part of Self-Employment Tax: You do not enter this. When you enter self-employment income, the calculator figures your self-employment tax and subtracts half of it.18 It counts the wages you entered toward the yearly Social Security wage limit.

Self-Employed Health Insurance: Enter health insurance premiums you paid as a self-employed person. This field only appears when you enter self-employment income. The deduction cannot be more than your net profit from the business minus the deductible part of your self-employment tax and your SEP, SIMPLE or qualified plan deduction.15 Premiums for any month you could join a subsidized health plan through an employer, including your spouse's employer, do not count.11

SEP / SIMPLE / Qualified Plan: Enter contributions to a SEP, SIMPLE, or other qualified retirement plan. For a SEP, the limit is 25% of compensation, capped at a dollar amount that is adjusted each year ($72,000 for 2026).8 If you are self-employed, your SEP deduction cannot be more than 20% of your net earnings from self-employment, which is your net profit minus the deductible part of your self-employment tax.17 SIMPLE IRA and 401(k) plans have their own limits.12 Pick your plan type. For a 401(k) or SIMPLE IRA, the calculator only checks the deduction against your net earnings from self-employment and the yearly dollar limit for all plan contributions.

Alimony Paid: Check the box to confirm your divorce agreement was finalized before January 1, 2019.2 Then enter the alimony you paid. If a pre-2019 agreement was changed later and the change says the new rules apply, the payments are not deductible.2

Penalty on Early Withdrawal of Savings: Enter any penalty you were charged for withdrawing savings early, as shown on your 1099-INT or 1099-OID.15

Moving Expenses (Active Military): Check the box to confirm you are an active-duty member of the Armed Forces.10 Then enter your moving expenses. The move must be due to a military order and tied to a permanent change of station.10 For moves in 2026 or later, employees and new appointees of the intelligence community can also claim it.10

Tuition & Fees Deduction: The tuition and fees deduction was repealed in 2020, so this calculator does not offer it.9

Press Calculate to see your estimated AGI, a full breakdown of your income and deductions, step-by-step math, and visual charts. Press Reset to reset all fields to their default values.

What Is Adjusted Gross Income (AGI)?

Adjusted Gross Income, or AGI, is a number the IRS uses to figure out how much tax you owe. You find it by adding up all the money you earned in a year, then subtracting certain deductions. These are called "above-the-line" deductions because they come off your income before almost anything else on your tax return.

How to Calculate AGI

The formula is simple: AGI = Total Gross Income − Above-the-Line Deductions. Your gross income includes wages, self-employment earnings, capital gains, dividends, interest, rental income, and other taxable money. From that total, you subtract qualifying deductions like student loan interest, IRA contributions, HSA contributions, and educator expenses.

Why AGI Matters

Your AGI affects almost everything on your tax return. It decides whether you qualify for many tax credits and deductions. A lower AGI can mean a smaller tax bill. Many state tax returns also start with your federal AGI. Banks and lenders may ask for it too when you apply for a loan. Your AGI is also the starting point for calculating your Modified Adjusted Gross Income (MAGI), which determines eligibility for additional benefits like Roth IRA contributions and premium tax credits.

Above-the-Line Deductions

Above-the-line deductions lower your income before you choose the standard deduction or itemized deductions. You can claim them even if you take the standard deduction. Common ones include:

  • Student loan interest: up to $2,500 per year, with income phaseouts.4
  • Traditional IRA contributions: up to $7,000 for 2025, plus a $1,000 catch-up if you are 50 or older.6 For 2026 the limit is $7,500 plus a $1,100 catch-up.12
  • HSA contributions: up to $4,300 for self-only or $8,550 for family coverage in 2025, plus $1,000 if you are 55 or older.7
  • Educator expenses: up to $300 for 2025 for eligible educators who buy classroom supplies.16 For 2026 the limit is $350.5
  • Deductible part of self-employment tax: half of your self-employment tax.18
  • Self-employed health insurance premiums: limited to your net profit from the business minus the deductible part of self-employment tax and plan contributions.15
  • SEP, SIMPLE, or qualified retirement plan contributions: for a SEP, up to 25% of compensation, capped at a dollar limit that is adjusted each year.8 If you also contribute to a workplace 401(k), those contributions do not appear here but still affect your overall tax picture.
  • Alimony paid: only for divorce agreements finalized before January 1, 2019.2

Caps and Phaseouts

Many deductions have dollar limits called caps. Some also have income phaseouts, meaning the deduction shrinks or disappears as your income rises. For example, for 2026 the student loan interest deduction phases out for single filers with modified adjusted gross income between $85,000 and $100,000.5 If you file as Married Filing Separately, you cannot claim it at all.4 This calculator applies those caps and phaseouts for you automatically.

AGI vs. Taxable Income

AGI is not the final number you pay taxes on. After you find your AGI, you subtract either the standard deduction or your itemized deductions, plus a few other deductions such as the qualified business income deduction, to get your taxable income. Think of AGI as a stop along the way. It is the starting point for the rest of your return.


Formulas used

Adjusted Gross Income (AGI)
\text{AGI} = \text{Total Gross Income} - \text{Total Above-the-Line Deductions}
Total Gross Income
\text{Total Gross Income} = \sum_{i=1}^{n} \text{Income Source}_i
Student Loan Interest Phaseout 15
\text{Allowed} = \min(\text{Entered},\;2500) \times \left(1 - \frac{\text{MAGI} - \text{Phaseout Start}}{\text{Phaseout End} - \text{Phaseout Start}}\right)
SEP Contribution Cap 17
\text{Allowed} = \min\!\left(\text{Entered},\; \min(0.20 \times \text{Net SE Earnings},\; \text{Dollar Limit})\right)
Self-Employed Health Insurance Cap 15
\text{Allowed} = \min(\text{Entered},\; \text{Net Profit} - \text{SE Tax Deduction} - \text{Plan Contributions})
General Deduction Cap
\text{Allowed} = \min(\text{Entered},\; \text{Statutory Limit})

Frequently asked questions

Where do I find my AGI on my tax return?

Your AGI is on line 11 of IRS Form 1040.1 You can also find last year's AGI in your IRS Online Account or on a copy of last year's return.1

What filing status should I pick?

Pick the one that matches your situation on December 31 of the tax year.19 If you are unmarried, choose Single. If you are married and filing one return together, choose Married Filing Jointly. If you are unmarried and pay more than half the cost of keeping up a home for you and a qualifying person, choose Head of Household.19

What does phaseout mean?

A phaseout is an income range where a deduction slowly shrinks to zero. As your income rises through that range, you lose part or all of the deduction. For example, for 2026 the student loan interest deduction phases out for single filers with modified adjusted gross income between $85,000 and $100,000.5

Why is the student loan interest deduction set to zero when I pick Married Filing Separately?

The IRS does not allow the student loan interest deduction for taxpayers who file as Married Filing Separately.4 This is a rule, not a bug. The calculator sets it to $0 and shows a notice.

Can my AGI be negative?

Yes. If your deductions or losses are larger than your gross income, the calculator may show a negative AGI. A negative AGI can happen when you have large business losses. A net capital loss lowers your income by at most $3,000 a year ($1,500 if married filing separately).13

Are above-the-line deductions the same as itemized deductions?

No. Above-the-line deductions reduce your income before you reach AGI. Itemized deductions (like mortgage interest or charitable gifts) come after AGI. You can claim above-the-line deductions even if you take the standard deduction.

What is the difference between AGI and MAGI?

AGI is your gross income minus above-the-line deductions. MAGI (Modified Adjusted Gross Income) starts with your AGI and adds back certain items like tax-exempt interest or foreign income. MAGI is used to determine eligibility for things like Roth IRA contributions and health insurance subsidies.

Why does the IRA deduction mention a workplace retirement plan?

If you or your spouse are covered by a workplace retirement plan like a 401(k), the IRS may reduce or eliminate your traditional IRA deduction based on your income.6 Checking that box alerts you to this possible limit.

What counts as other taxable income?

This includes any taxable income not covered by the other fields. Examples are gambling winnings, jury duty pay, prizes and cancelled debt.15

Why can I only deduct alimony paid before 2019?

The Tax Cuts and Jobs Act changed the rules. For divorce agreements finalized on or after January 1, 2019, alimony paid is no longer deductible and alimony received is no longer taxable.2 Only pre-2019 agreements still allow the deduction.


Sources

  1. Definition of adjusted gross income. Internal Revenue Service. Accessed September 10, 2026.
  2. Topic no. 452, Alimony and separate maintenance. Internal Revenue Service. Accessed September 10, 2026.
  3. Topic no. 458, Educator expense deduction. Internal Revenue Service. Accessed September 10, 2026.
  4. Topic no. 456, Student loan interest deduction. Internal Revenue Service. Accessed September 10, 2026.
  5. Revenue Procedure 2025-32. Internal Revenue Service. 2025;sections 4.12 and 4.29. Accessed September 10, 2026.
  6. 401(k) limit increases to $23,500 for 2025, IRA limit remains $7,000. Internal Revenue Service. 2024. Accessed September 10, 2026.
  7. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans. Internal Revenue Service. Limit on contributions. Accessed September 10, 2026.
  8. SEP contribution limits (including grandfathered SARSEPs). Internal Revenue Service. Accessed September 10, 2026.
  9. 26 U.S. Code § 222 — Repealed. Legal Information Institute, Cornell Law School. Accessed September 10, 2026.
  10. Topic no. 455, Moving expenses for members of the Armed Forces and the Intelligence Community. Internal Revenue Service. Accessed September 10, 2026.
  11. Instructions for Form 7206, Self-Employed Health Insurance Deduction. Internal Revenue Service. Accessed September 10, 2026.
  12. 401(k) limit increases to $24,500 for 2026, IRA limit increases to $7,500. Internal Revenue Service. 2025. Accessed September 10, 2026.
  13. Topic no. 409, Capital gains and losses. Internal Revenue Service. Limit on the deduction and carryover of losses. Accessed November 5, 2026.
  14. Publication 925 (2025), Passive Activity and At-Risk Rules. Internal Revenue Service. 2025;Special $25,000 allowance; Phaseout rule. Accessed November 5, 2026.
  15. 2025 Instructions for Form 1040 and Form 1040-SR. Internal Revenue Service. 2025;Lines 1a and 3b; Schedule 1, lines 8, 17, 18 and 21. Accessed November 10, 2026.
  16. Revenue Procedure 2024-40. Internal Revenue Service. 2024;sections 2.13 and 2.30. Accessed November 10, 2026.
  17. Publication 560 (2025), Retirement Plans for Small Business. Internal Revenue Service. 2025;Chapter 5, Rate Table for Self-Employed; Deduction Worksheet for Self-Employed. Accessed November 10, 2026.
  18. Schedule SE (Form 1040), Self-Employment Tax. Internal Revenue Service. 2025;Part I, lines 4a to 13. Accessed November 10, 2026.
  19. Publication 501 (2025), Dependents, Standard Deduction, and Filing Information. Internal Revenue Service. 2025;Marital Status; Head of Household. Accessed November 10, 2026.