Home › Calculators › AGI Calculator

AGI Calculator

Work out your adjusted gross income the way Form 1040 does: total income from every source, minus above-the-line adjustments such as HSA, IRA, student loan interest and half of self-employment tax. You also get the modified AGI figures used for Roth IRA limits, ACA subsidies and other phase-outs.

Last updated:

Filing details
Income
$

W-2 box 1 (already after pre-tax 401(k) and health premiums).

$
$
$

Schedule C net profit (negative for a loss).

$

Losses beyond $3,000 carry forward.

$

Include any Roth conversion amount.

$

Gross SSA-1099 box 5; the taxable part is figured for you.

$

Net, after expenses (negative for an allowed loss).

$
$

Prizes, gambling winnings, jury duty, cancelled debt…

Adjustments to income
$

Your own contributions, not those made through payroll.

$
$

Up to $2,500.

$

K-12 teachers: $300 each.

$

From Schedule SE.

$
$
$
$
$

Moving expenses for military, certain other Schedule 1 items.

For MAGI (not part of AGI)
$

Municipal bond interest.

$
$
Enter your values to see the result.
Advertisement
Advertisement

How to use the AGI Calculator

  1. Choose the tax year and filing status.
  2. Enter each income source for the year. Use W-2 box 1 for wages and net profit or loss for business and rental income.
  3. Enter your adjustments, such as HSA, deductible IRA, student loan interest and self-employed retirement contributions.
  4. Add MAGI items like tax-exempt interest or Roth conversion income if they apply.
  5. Press Calculate AGI to see your AGI, the MAGI figures and the full worksheet.

The AGI formula

AGI = total income − adjustments to income. Total income is the sum of Form 1040 lines 1 through 8; adjustments come from Part II of Schedule 1.

Example (2026, single): $72,000 wages + $400 interest + $600 dividends + $12,000 freelance profit + $1,500 capital gain = $86,500 total income. Adjustments: $3,000 HSA + $1,800 student loan interest + $2,000 SEP + $848 half of SE tax = $7,648. AGI = $78,852.

Which MAGI do you need?

Used forStart with AGI, then
Roth IRA contribution limit+ IRA deduction, student loan interest, foreign income exclusion; − Roth conversion income
Traditional IRA deduction limit+ IRA deduction (figure without it), student loan interest, foreign exclusion
ACA premium tax credit, Medicaid+ tax-exempt interest, untaxed Social Security, foreign exclusion
Tips, overtime and senior deductions+ excluded foreign earned income
Net investment income tax (3.8%)+ excluded foreign earned income
Medicare IRMAA surcharges+ tax-exempt interest (uses the return from two years earlier)

Common above-the-line adjustments

  • HSA contributions you made yourself (payroll contributions are already out of box 1).
  • Half of self-employment tax: 7.65% of 92.35% of net profit, up to the Social Security wage base ($184,500 in 2026).
  • Self-employed retirement (SEP-IRA, SIMPLE, solo 401(k)) and self-employed health insurance.
  • Deductible traditional IRA contributions, subject to their own income limits if you have a workplace plan.
  • Student loan interest up to $2,500, phased out at higher incomes.
  • Educator expenses up to $300 per eligible K-12 educator.

Frequently asked questions

What is adjusted gross income (AGI)?

AGI is your total income from all taxable sources minus specific adjustments (often called above-the-line deductions). It is line 11 of Form 1040 and is the starting point for taxable income, and many credits and deductions are limited by it.

How do I calculate my AGI?

Add wages, interest, dividends, business profit, capital gains, taxable retirement distributions, the taxable part of Social Security, rental income, unemployment and other income. Then subtract adjustments such as educator expenses, HSA contributions, half of self-employment tax, self-employed health insurance and retirement plans, deductible IRA contributions, student loan interest and pre-2019 alimony.

What is the difference between AGI and MAGI?

Modified AGI starts from AGI and adds back certain items, and the add-backs depend on what it is used for. Roth IRA MAGI adds back IRA deductions and student loan interest and removes Roth conversion income. ACA MAGI adds tax-exempt interest, untaxed Social Security and excluded foreign income. For many people with only wages, AGI and MAGI are the same.

Are 401(k) contributions subtracted from AGI?

Yes, but indirectly. Traditional 401(k), 403(b) and payroll health premiums are already removed from W-2 box 1, so you do not subtract them again. Enter your box 1 wages and the calculator handles the rest.

Do the standard deduction and itemized deductions reduce AGI?

No. They are subtracted after AGI to get taxable income. The newer deductions for tips, overtime, car loan interest and seniors are also taken after AGI, so they do not change it.

How much of my Social Security is included in AGI?

Between 0% and 85%. If your provisional income (other income plus tax-exempt interest plus half of benefits) is under $25,000 single or $32,000 joint, none is taxable. Above that, up to 50% and then up to 85% of benefits become taxable. The thresholds are not adjusted for inflation.

Where do I find my AGI from last year?

It is on line 11 of your Form 1040. You may need it to verify your identity when e-filing, and lenders and financial aid forms often ask for it too.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Income Tax CalculatorEstimate US federal income tax after deductions and credits, with effective and marginal rate.Roth IRA Contribution Limit CalculatorFind your maximum Roth IRA contribution from MAGI, filing status and age 50+ catch-up.Tax Bracket CalculatorTax in each bracket, total tax, marginal and effective rate, with an editable bracket table.Self-Employment Tax CalculatorCalculate Social Security and Medicare self-employment tax (15.3%) and the deductible half.EMI CalculatorMonthly EMI, total interest and month-by-month schedule, reducing or flat rate.SIP CalculatorMaturity value, invested amount and returns of a monthly SIP, with optional annual step-up.Compound Interest CalculatorSee how savings and investments grow over time.401(k) CalculatorProject your 401(k) balance with employer match and growth.Retirement CalculatorProject retirement savings and see your shortfall or surplus.Savings Goal CalculatorMonthly deposit needed to reach a savings goal by a deadline.Inflation CalculatorValue of a dollar between any two years using US CPI data.CAGR CalculatorCompound annual growth rate, or solve for a target end value.FIRE CalculatorFind your FIRE number, years to financial independence and Coast FIRE target.Simple Interest CalculatorCalculate simple interest and final amount, or solve for principal, rate or time.APY CalculatorTurn an interest rate into APY and project savings growth with monthly deposits.CD CalculatorFind a CD's maturity value, interest earned, APY vs APR and early-withdrawal penalty.ROI CalculatorWork out ROI and annualized ROI, and compare up to three investments side by side.Investment Return CalculatorProject investment growth with monthly contributions, nominal vs real after inflation.Dividend CalculatorProject dividend income with yield, dividend growth and DRIP reinvestment over time.Net Worth CalculatorList assets and debts by category to get your net worth, debt ratio, donut charts and history.Credit Card Interest CalculatorSee how long minimum payments take, the total interest and how much a fixed payment saves.EOQ CalculatorEconomic order quantity, orders per year, reorder point, safety stock and a total cost curve.Rental Yield CalculatorCalculate gross and net rental yield for a buy-to-let or rental property.Roth IRA CalculatorProject your Roth IRA balance at retirement with contribution limits, catch-up and growth.Present Value CalculatorFind what a future sum or a series of payments is worth today at a discount rate.Future Value CalculatorCalculate the future value of savings with compounding, regular payments and payment timing.NPV CalculatorCalculate net present value, PV table, profitability index and payback from cash flows.IRR CalculatorFind the internal rate of return of cash flows, with an NPV profile chart and optional MIRR.Rule of 72 CalculatorEstimate how long money takes to double with the rule of 72, 70 and 69.3 vs. the exact answer.Annuity CalculatorCalculate annuity payouts from a lump sum, or how an annuity grows with regular contributions.Savings CalculatorSee how savings grow with an initial deposit, monthly deposits and compound interest.Interest Rate CalculatorSolve a loan's interest rate (APR) from the amount, payment and term using Newton's method.Yield to Maturity CalculatorFind a bond's yield to maturity, current yield and yield to call from its price and coupon.Bond Price CalculatorPrice a bond from its coupon, yield and term, with premium or discount and a cash flow table.Stock Average CalculatorAverage cost of several stock buys, plus how many shares to buy to reach a target average.Position Size CalculatorHow many shares or units to trade so a stop-loss risks only a set share of your account.EPS CalculatorBasic and diluted earnings per share from net income, preferred dividends and share count.CAPM CalculatorExpected return from the risk-free rate, beta and market return using the CAPM formula.S&P 500 Return CalculatorHistorical S&P 500 return between any two years, with dividends, inflation and CAGR.Asset Allocation CalculatorSuggested stock, bond and cash mix by age, risk tolerance and time horizon, with dollar amounts.CD Ladder CalculatorBuild a CD ladder: maturity schedule, blended yield and interest earned by year.Convertible Note & SAFE CalculatorSAFE and convertible note conversion: cap, discount and interest to shares and ownership %.Cost of Raising a Child CalculatorYearly and total cost of raising a child to 18 by category, income level and inflation.Crypto Mining CalculatorMining profit per day and month from hashrate, power, electricity cost, pool fee and difficulty.Crypto Staking CalculatorEstimate staking rewards in coins and dollars from APR or APY, compounding, validator fee and price.Dividend Income Goal CalculatorHow much to invest to earn a monthly dividend income and how many years it takes.403(b) CalculatorProject your 403(b): match, raises, returns, 50+ and 15-year catch-ups, balance at retirement.I Bond CalculatorSeries I savings bond value with fixed and inflation rates by period and early penalty.Interest Coverage Ratio CalculatorTimes interest earned (EBIT ÷ interest), EBITDA coverage, interpretation and stress test.Loss Recovery CalculatorSee the percent gain needed to recover an investment loss and how many years it may take.Net Worth Percentile CalculatorRank your US household net worth overall and by age with Federal Reserve survey data.Passive Income CalculatorCapital needed for a monthly passive income goal, or income from your portfolio.Retirement Savings by Age CalculatorCompare your retirement savings to salary benchmarks and median savings for your age.SEP IRA Contribution CalculatorMax SEP IRA contribution for the self-employed (20% after SE tax) or employees (25% of pay).Solo 401(k) Contribution CalculatorMax solo 401(k): employee deferral, catch-up and employer profit sharing, vs a SEP IRA.Vesting Schedule CalculatorVested and unvested shares by date for options, RSUs or founder stock, with cliff and schedule.Bond Accrued Interest CalculatorBond accrued interest with 30/360 or actual day counts, plus clean and dirty price.Barista FIRE CalculatorPortfolio needed when part-time income covers part of your spending, and years to get there.Stock Beta CalculatorPaste stock and market prices or returns to get beta, correlation, R-squared and a regression chart.Bond Duration CalculatorMacaulay and modified duration, DV01, convexity and price change for a yield move.Bond Ladder CalculatorPlan a Treasury or bond ladder: maturity table, yearly cash flows and average yield.CD Early Withdrawal Penalty CalculatorPenalty for cashing a CD early, net interest and whether breaking it to reinvest pays.College ROI CalculatorIs a degree worth it? Cost and student debt vs extra earnings: payback, NPV and ROI.Cost-Benefit Analysis CalculatorCompare yearly costs and benefits: NPV, benefit-cost ratio, ROI, IRR and payback period.Covered Call CalculatorCovered call returns: if-called and static return, annualized yield, breakeven and max profit.Crypto Portfolio Profit & Loss TrackerLog crypto buys and sells to see holdings, average cost and realized and unrealized P&L.Current Yield CalculatorBond current yield from coupon and price, compared with the coupon rate and yield to maturity.Dividend Discount Model CalculatorStock intrinsic value with the Gordon growth model or a two- or three-stage dividend discount model.
See all 127 Investing & Retirement Calculators →