Calculator · tax year 2026
Plan your 529: withdrawals, gifts and the Roth rollover.
Pick what you need to work out. The calculator uses this year's 529 rules, and shows the arithmetic.
Tax year 2026 Checked Review by
CheckedOct 20, 2026A 529 plan feels simple until the day you take money out, give a big gift, or have a balance left over. Those are three different rules, and this page walks each one.
Pick a tool below. Each one asks only for the numbers on the form or statement you already have.
The calculator
This calculator runs in your browser with JavaScript. Without it, the steps under How the estimate works give the same result by hand, with the same figures.
No charge and no sign-up. Your entries stay on this device. Nothing you type is sent anywhere.
Your estimate
Enter your numbers and choose Estimate.
Estimates for education only, from the federal figures listed below. This is general information as of the date shown, not advice for your situation. The right answer depends on your facts, so check how it applies to your own situation before you act on it.
How the estimate works
The calculator follows these steps, in this order.
- Withdrawal. Count the qualified expenses. For K-12 costs, count the smaller of what you paid or the yearly limit of $20,000 per student. Add student loan payments, but only up to the lifetime limit of $10,000 per person.
- Subtract scholarships and grants that are not taxed, and any expenses you used for an education credit. What is left is the adjusted qualified expenses. It cannot go below zero.
- Divide that by the withdrawal (never more than 1). Earnings times one minus that ratio is the taxable part. It goes on Schedule 1, line 8z.
- The additional tax is 10% of the taxable earnings, less the earnings that line up with scholarships and credit-funded expenses, which the law excuses from it. It is figured on Form 5329.
- An exception for death or disability takes the additional tax to zero. The earnings can still be taxable income.
- Gift. Start with the annual exclusion of $19,000 per person receiving gifts. Spouses who split gifts double it.
- Without the election, add the contribution to any other gifts to the same person this year. Anything over the exclusion needs a Form 709.
- With the five-year election, you treat the contribution as if you gave it in equal slices over 5 years. Year one counts one slice plus your other gifts. The most you can elect is the exclusion times 5.
- If the donor dies during the five years, the slices for the years after the year of death come back into the estate.
- Roth rollover. The 529 must have been open for at least 15 years. Only the amount your plan reports as eligible can move; contributions and earnings from the last 5 years are left out.
- Each year the amount is the smallest of what is left, the yearly IRA limit of $7,500 (or the beneficiary's compensation, if less) minus other IRA contributions, and what remains of the lifetime cap of $35,000.
- The money has to go straight from the 529 to the Roth IRA in the beneficiary's name. The calculator repeats this year after year until the cap or the eligible amount runs out.
Worked example
Hypothetical example, not law
A student pays 21,000 dollars of expenses and gets 9,000 of scholarship that is not taxed. The 529 pays out 15,000, of which 5,000 is earnings. Adjusted qualified expenses are 21,000 minus 9,000, which is 12,000. That covers 12,000 of the 15,000 withdrawn, a ratio of 0.8, so 20% of the earnings, 1,000 dollars, is taxable. The additional tax is zero: the scholarship-sized slice of the earnings, 3,000, is more than the taxable 1,000, so nothing is left to add the extra tax to. Nice scholarship.
What this does not cover
- Reporting the numbers on your return: see the Form 1099-Q and Form 5329 instructions.
- State income tax: state deductions or credits for contributions, and state tax or recapture on withdrawals. These vary by state and are not computed here.
- More than one 529 or Coverdell withdrawal for the same student in a year. The expenses, the K-12 limit and the student loan limit are shared across them, so running each one separately overstates what is not taxed. Publication 970 shows how to split the expenses. For more than one student, run each separately.
- Rollovers to another 529 (within 60 days, and no more than once in 12 months for the same beneficiary) or to an ABLE account (within the ABLE yearly limit).
- Gift tax on very large gifts (the return records the use of the lifetime exemption; this does not compute estate tax).
- Generation-skipping transfer tax for gifts to grandchildren.
- The plan's own records of contributions and earnings, which decide the eligible figure.
- A beneficiary 50 or older, whose yearly IRA limit is higher by the catch-up amount. (The Roth income limit does not reduce a 529 rollover: section 408A(c)(3)(E).)
- Changing the beneficiary to someone a generation younger, which can be a gift from the old beneficiary to the new one (section 529(c)(5)(B)).
- Attendance at a U.S. military academy: the additional tax is excused only up to the costs of advanced education, which this does not compute.
Read more
Articles
The tax code
Questions
Why is some of my withdrawal taxable if I spent more than I took out?
The test compares your adjusted qualified expenses to the withdrawal, and scholarships and credit-funded expenses come off the top. If the withdrawal is larger than that adjusted amount, part of the earnings is taxable.
Which expenses count?
Tuition, required fees, books, supplies and equipment, a computer used mainly by the student, and room and board for students enrolled at least half time. Since July 2025, the costs of a recognized postsecondary credential program count too. K-12 costs and student loan payments count within their limits.
Does the five-year election mean I can give any amount without a return?
No. The election is made on a Form 709, so a return is needed in the year you make it, even if no tax is due.
Do I have to elect?
No. You can give up to the annual exclusion without the election and without a return. The election lets a larger contribution use five years of exclusion at once.
Does the compensation rule really apply to the rollover?
The law ties the rollover to the IRA contribution limit, which depends on compensation. No IRS guidance confirms how that works yet, so the calculator takes the careful reading and says so.
What if my account has not been open long enough?
The calculator tells you how many years remain. The rollover only opens after the account has been open the required number of years.
Is this advice about my situation?
No. It is an estimate for education that shows how the rule works with the figures for the tax year. Your return depends on facts this page does not ask about, so check how it applies to your own situation before you act on it.
Figures used
Tax year 2026. Every figure the calculator reads comes from the verified library behind this site, with its source, the date it was checked and the date it is due for a re-check. If any figure passes its review date, the calculator pauses until it is re-checked.
| Figure | Value | Source | Checked | Review by |
|---|---|---|---|---|
Additional tax on the earnings part of a non-qualified withdrawalcf-2026:education_529.additional_tax_pct | 10% | IRC 529(c)(6); 530(d)(4)(A) | Oct 19, 2026 | |
K-12 limit per student per yearcf-2026:education_529.k12_tuition_annual_cap | $20,000 | IRC 529(e)(3)(A), last sentence | Oct 19, 2026 | |
Student loan repayment limit per person, lifetimecf-2026:education_529.student_loan_lifetime_cap | $10,000 | IRC 529(c)(9)(B) | Oct 19, 2026 | |
Years the five-year gift election spreads overcf-2026:education_529.gift_election_years | 5 | IRC 529(c)(2)(B) | Oct 19, 2026 | |
Gift tax annual exclusion, per person receiving giftsfederal-2026:estate_gift_gst.annual_gift_exclusion_per_donee | $19,000 | Rev. Proc. 2025-32 sec. 4.42 | Sep 24, 2026 | |
529-to-Roth rollover lifetime capcf-2026:education_529.roth_rollover_lifetime_cap | $35,000 | IRC 529(c)(3)(E)(ii)(II) | Oct 19, 2026 | |
Years the 529 must be open before a Roth rollovercf-2026:education_529.roth_rollover_min_account_years | 15 | IRC 529(c)(3)(E)(i) | Oct 19, 2026 | |
IRA contribution limit (the yearly Roth rollover ceiling)federal-2026:retirement.ira_contribution_limit | $7,500 | Notice 2025-67 (sec. 219(b)(5)(A)) | Oct 8, 2026 | |
Days to complete a rollover to another 529cf-2026:education_529.rollover_days | 60 | IRC 529(c)(3)(C)(i) | Oct 19, 2026 | |
Months between rollovers for the same beneficiarycf-2026:education_529.same_beneficiary_rollover_gap_months | 12 | IRC 529(c)(3)(C)(iii) | Oct 19, 2026 | |
Age when the IRA catch-up amount startscf-2026:retirement.ira_catch_up_age | 50 | IRC 219(b)(5)(B)(i) | Oct 19, 2026 | |
Years back that contributions are left out of a Roth rollovercf-2026:education_529.roth_rollover_contribution_lookback_years | 5 | IRC 529(c)(3)(E)(i)(I) | Oct 19, 2026 |