Skip to content

General education, not advice for your situation.

Carry Forward Learning Search the site

Calculator · tax year 2026

How much of your 529 withdrawal is taxable?

Enter the figures from Form 1099-Q and what was spent on education. The calculator shows what is taxable and whether the additional tax applies.

Tax year 2026 Checked Review by

CheckedOct 20, 2026

When you pull money out of a 529, only the earnings part can ever be taxable, and only the part not matched by qualified expenses. The rest is just your own money coming home.

This calculator follows the Form 1099-Q boxes and shows each step.

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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. An exception for death or disability takes the additional tax to zero. The earnings can still be taxable income.

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).
  • 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.

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.

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.

FigureValueSourceCheckedReview by
Additional tax on the earnings part of a non-qualified withdrawalcf-2026:education_529.additional_tax_pct10%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,000IRC 529(e)(3)(A), last sentenceOct 19, 2026
Student loan repayment limit per person, lifetimecf-2026:education_529.student_loan_lifetime_cap$10,000IRC 529(c)(9)(B)Oct 19, 2026
Days to complete a rollover to another 529cf-2026:education_529.rollover_days60IRC 529(c)(3)(C)(i)Oct 19, 2026
Months between rollovers for the same beneficiarycf-2026:education_529.same_beneficiary_rollover_gap_months12IRC 529(c)(3)(C)(iii)Oct 19, 2026