Adjusted Gross Income Calculator
- Adjusted gross income is total income minus the above-the-line adjustments Congress allows before any standard or itemised deduction: retirement and HSA contributions, half of self-employment tax, self-employed health premiums, and a few capped items. Almost every credit, phase-out and threshold in the US tax code keys off this one number.
- Total income here is $100,500.00. The adjustments come to $13,400.00 - including student-loan interest counted at $2,500.00 after its $2,500 cap and educator expenses at $250.00 after the $300 cap - leaving an adjusted gross income of $87,100.00.
- Many rules use a modified AGI instead: adding back the student-loan and traditional IRA deductions gives a MAGI of $96,100.00 on the definition used for those provisions, which is the figure that decides Roth IRA eligibility and the student-loan deduction itself.
- Because AGI is computed before the standard deduction, two households with the same salary can land thousands apart - which is why above-the-line moves like HSA and retirement contributions are the most reliable lever a taxpayer has.
This adjusted gross income calculator takes your total income, subtracts the above-the-line adjustments the tax code allows, and returns your AGI — the figure almost every credit, phase-out and threshold in the US tax system keys off. Enter your income and each adjustment, and the calculator applies the relevant caps before subtracting. For example, income of $100,500 with $13,400 of adjustments gives an AGI of $87,100.00. In that case the student-loan interest counts at $2,500.00 after its cap, not the $2,800 actually paid. The same method handles other situations: a self-employed filer with $62,000 of income, $8,000 of SEP contributions, $5,400 of health premiums and $4,240 of half self-employment tax lands at $44,360.00, while a teacher on $45,000 with $1,200 of student-loan interest and $450 of educator expenses (counted at the $300 cap) has an AGI of $43,500.00.
Subtracting above-the-line adjustments from total income is the accepted standard because it mirrors how the tax code itself defines AGI, including the caps that limit how much of certain items you may deduct. The page also shows how modified adjusted gross income, or MAGI, adds specific deductions back: adding the IRA and student-loan deductions to the first example gives a MAGI of $96,100.00, the figure that decides Roth IRA eligibility. To make the result easy to check, this page lays out the formula, the step-by-step workings, the worked examples above and the sources behind them.
Worked examples
Salaried household using the caps
Income of $100,500 with $13,400 of adjustments gives an AGI of $87,100.00. (85000 $ · 12000 $ · 3000 $ · 500 $ · 6500 $ · 4150 $ · 2800 $ · 250 $ · 0 $ · 0 $ · 0 $)
| Adjusted gross income (AGI) | $87,100.00 |
| Total income | $100,500.00 |
| Total adjustments | $13,400.00 |
| Student-loan interest counted (after the $2,500 cap) | $2,500.00 |
| MAGI (adds back IRA and student-loan deductions) | $96,100.00 |
Self-employed with SEP and premiums
Self-employment income with SEP contributions and health premiums gives $44,360.00. (0 $ · 60000 $ · 0 $ · 2000 $ · 0 $ · 0 $ · 0 $ · 0 $ · 4240 $ · 8000 $ · 5400 $)
| Adjusted gross income (AGI) | $44,360.00 |
| Total income | $62,000.00 |
| Total adjustments | $17,640.00 |
| Student-loan interest counted (after the $2,500 cap) | $0.00 |
| MAGI (adds back IRA and student-loan deductions) | $44,360.00 |
Teacher with student loans
A teacher's salary with student-loan interest gives $43,500.00. (45000 $ · 0 $ · 0 $ · 0 $ · 0 $ · 0 $ · 1200 $ · 450 $ · 0 $ · 0 $ · 0 $)
| Adjusted gross income (AGI) | $43,500.00 |
| Total income | $45,000.00 |
| Total adjustments | $1,500.00 |
| Student-loan interest counted (after the $2,500 cap) | $1,200.00 |
| MAGI (adds back IRA and student-loan deductions) | $44,700.00 |
What AGI is
Adjusted gross income is total income minus above-the-line adjustments. Those adjustments are the deductions the tax code lets you take before any standard or itemized deduction enters the picture, and they include items such as student-loan interest, educator expenses, SEP contributions, self-employed health premiums, and half of self-employment tax. The result is the number almost every credit, phase-out and threshold in the US tax code keys off. That is why an adjusted gross income calculator is worth using before you guess at your bracket or your eligibility for anything: the figure it produces is the one the rest of the return is measured against.
A simple example shows how the arithmetic runs. Start with income of $100,500 and $13,400 of adjustments, and you get an AGI of $87,100.00. The detail that trips people up is the student-loan interest inside that $13,400: it counts at $2,500.00 after its cap, not the $2,800 paid. Adjustments are not always the amount you spent. Several of them are limited, and the limit, not the outlay, is what comes off your income.
The same pattern holds across filers. A self-employed filer with $62,000 of income, $8,000 of SEP contributions, $5,400 of health premiums and $4,240 of half self-employment tax lands at $44,360.00. A teacher on $45,000 with $1,200 of student-loan interest and $450 of educator expenses, counted at the $300 cap, has an AGI of $43,500.00. In each case the adjustments are subtracted from total income, and in each case at least one of them is trimmed by a cap before it is subtracted.
AGI is computed before the standard deduction because it is meant to describe your income, not your taxable income. The standard deduction is a flat allowance that comes afterward, and it varies with filing status rather than with what you earned. Credits, phase-outs and thresholds need a consistent income measure that does not shift when the standard deduction changes, so they key off AGI instead. Keeping the two steps separate also keeps the return readable: adjustments explain what you spent on things the code treats as reducing income, and the standard deduction then applies to whatever remains.
One related figure is worth knowing. Modified adjusted gross income, or MAGI, adds certain deductions back to AGI. Adding the IRA and student-loan deductions to the first example gives a MAGI of $96,100.00, and that is the figure that decides Roth IRA eligibility. So the AGI from your calculator is not always the last word: some rules start from AGI and then reverse part of the calculation. Check which measure a given credit or threshold uses before you rely on the number.
- AGI = total income − above-the-line adjustments
- Student-loan interest counts at its cap: $2,500.00, not the $2,800 paid, in the $100,500 example
- Educator expenses count at the $300 cap in the teacher example
- MAGI adds deductions back: $96,100.00 in the first example, the figure that decides Roth IRA eligibility
The capped adjustments
Two above-the-line adjustments carry hard dollar caps, and they are the ones filers most often get wrong on an adjusted gross income calculator: student-loan interest, capped at $2,500, and educator expenses, capped at $300. You may have paid more than the cap allows, but the calculator can only subtract the capped amount. The difference between what you paid and what counts is not lost forever in every case, but it does not reduce AGI.
Take the student-loan cap first. Suppose a filer has $100,500 of income and $13,400 of adjustments, and $2,800 of that adjustments figure is student-loan interest actually paid. The student-loan interest counts at $2,500.00 after its cap, not the $2,800 paid. Run the numbers and AGI comes to $87,100.00. If you type $2,800 into the calculator, you will understate AGI by $300 — a small error that can still matter at a phase-out threshold.
The educator expense cap works the same way at a much smaller scale. A teacher earning $45,000 with $1,200 of student-loan interest and $450 of educator expenses counts the educator expenses at the $300 cap. Subtract $1,200 and $300 from $45,000 and the AGI is $43,500.00. The extra $150 of classroom spending does not appear in the subtraction, no matter how real the receipt.
The caps are not the only place filers slip. Self-employed filers have several adjustments to gather: a filer with $62,000 of income, $8,000 of SEP contributions, $5,400 of health premiums and $4,240 of half self-employment tax lands at $44,360.00. Each of those figures is subtracted in full because none of them is capped the way student-loan interest and educator expenses are. Missing one — half self-employment tax is the usual omission — inflates AGI and can push a filer past a threshold unnecessarily.
One more caution: the figure your adjusted gross income calculator produces is AGI, not modified adjusted gross income. MAGI adds certain deductions back. Adding the IRA and student-loan deductions to the first example gives a MAGI of $96,100.00, the figure that decides Roth IRA eligibility. Check which number each rule actually asks for before you rely on it.
- Student-loan interest: counts at $2,500.00 after the cap, even if $2,800 was paid.
- Educator expenses: counts at the $300 cap, so $450 of expenses reduces AGI by $300.
- Self-employed adjustments such as SEP contributions, health premiums and half self-employment tax are subtracted in full.
- AGI and MAGI are different numbers; MAGI adds some deductions back.
Reading the three examples
The three worked examples show how the same adjusted gross income calculator behaves across very different returns. In each case, the arithmetic is the same: start with total income, subtract above-the-line adjustments, and read the result. What changes is which adjustments apply and how caps limit them. Adjusted gross income is total income minus above-the-line adjustments, and it is the number almost every credit, phase-out and threshold in the US tax code keys off.
The salaried example begins with $100,500 of income and $13,400 of adjustments, producing an AGI of $87,100.00. The detail worth noticing is the student-loan interest. The filer paid $2,800, but the deduction counts at $2,500.00 after its cap, not the $2,800 paid. A calculator that simply subtracts what was paid would overstate the deduction and understate AGI. This example is the cleanest illustration of why the tool applies caps before subtracting.
The self-employed example shows several adjustments stacking up. A filer with $62,000 of income, $8,000 of SEP contributions, $5,400 of health premiums and $4,240 of half self-employment tax lands at $44,360.00. Each piece is an above-the-line adjustment, and the half self-employment tax figure is itself a calculation rather than a number pulled from a form. This is the example to check when you want to confirm that retirement contributions and health premiums are both being subtracted correctly.
The teacher example combines a capped deduction with a smaller adjustment. A teacher on $45,000 with $1,200 of student-loan interest and $450 of educator expenses, counted at the $300 cap, has an AGI of $43,500.00. Note that the $450 of expenses does not reduce income by $450; the cap holds it to $300. Comparing this example with the salaried one also shows how the same student-loan interest line can be capped in one return and fully allowed in another, depending on the amount paid.
One more figure ties the examples together. Modified adjusted gross income adds certain deductions back. Adding the IRA and student-loan deductions to the first example gives a MAGI of $96,100.00, the figure that decides Roth IRA eligibility. So the salaried filer's AGI of $87,100.00 is not the last word for every purpose. When you run your own numbers through the adjusted gross income calculator, check which deductions were capped and remember that some thresholds look at MAGI instead.
AGI versus MAGI versus taxable income
An adjusted gross income calculator gives you one number, but the tax code works with three related totals: AGI, MAGI and taxable income. They start from the same income and then move in different directions. Knowing which total a given rule uses keeps you from applying the wrong figure to the wrong question.
Adjusted gross income is total income minus above-the-line adjustments. It is the number almost every credit, phase-out and threshold in the US tax code keys off. Take income of $100,500 with $13,400 of adjustments: AGI comes out to $87,100.00. Note that a cap can shrink an adjustment before it reaches the total. In that same example the student-loan interest counts at $2,500.00 after its cap, not the $2,800 actually paid. Other filers arrive at AGI the same way. A self-employed filer with $62,000 of income, $8,000 of SEP contributions, $5,400 of health premiums and $4,240 of half self-employment tax lands at $44,360.00. A teacher on $45,000 with $1,200 of student-loan interest and $450 of educator expenses, counted at the $300 cap, has an AGI of $43,500.00.
Modified adjusted gross income, or MAGI, starts with AGI and adds certain deductions back. The result is usually higher than AGI, and it is the figure specific programs and provisions test. Adding the IRA and student-loan deductions to the first example gives a MAGI of $96,100.00, the figure that decides Roth IRA eligibility. Because each rule defines its own add-backs, MAGI is not one fixed number; it depends on which provision is asking.
Taxable income is the last step. It takes AGI and subtracts the standard deduction or itemized deductions, plus any qualified business income deduction, to reach the amount the tax brackets actually apply to. So AGI measures income after adjustments, MAGI adjusts that figure for particular eligibility tests, and taxable income is what remains after deductions.
- AGI: total income minus above-the-line adjustments; the base for most credits, phase-outs and thresholds.
- MAGI: AGI plus specified deductions added back; used by rules such as Roth IRA eligibility.
- Taxable income: AGI minus the standard or itemized deduction and any qualified business income deduction; the amount the brackets tax.
FAQs
How is adjusted gross income calculated?
Add up all income, then subtract the above-the-line adjustments: retirement and HSA contributions, half of self-employment tax, self-employed health premiums and the capped items. The result is your adjusted gross income, which sits above the standard or itemized deduction on your return.
What is the AGI in the first example?
The AGI in the first example is $87,100.00. That comes from $100,500 of income minus $13,400 of adjustments. The calculator totals all income first, then subtracts the eligible above-the-line adjustments to arrive at that figure.
Why is student-loan interest capped?
Only $2,500 of student-loan interest is deductible. The example paid $2,800 but counts $2,500.00, because the deduction is limited to that cap. Any interest above the cap does not reduce your adjusted gross income, so the calculator uses the smaller, capped amount.
What is MAGI?
Modified AGI is AGI with certain deductions added back. On the definition used here it is $96,100.00 in the first example. Because MAGI adds items back to your adjusted gross income, it is usually higher than AGI and is used for specific tests.
Does the standard deduction reduce AGI?
No. AGI is computed before the standard or itemized deduction; that subtraction produces taxable income. So the standard deduction never lowers your adjusted gross income. It comes later in the calculation, reducing taxable income after AGI is already set.
Why does AGI matter so much?
Credits, phase-outs, Medicare premiums and many state taxes all key off it. Because so many rules use adjusted gross income as their starting point, a change in AGI can affect far more than your income tax alone, including eligibility for credits and the premiums you pay.