529 Withdrawal Calculator & Education Expense Allocation

A 529 distribution and an education credit can draw on different parts of the same year's expenses. Enter one ordinary 529 distribution statement and your confirmed net expenses after aid and refunds. Compare two amounts for education-credit expenses and see how much of the distribution matches the remaining receipts. The calendar-year ledger shows which dates count, while the chart separates the gross distribution from its earnings share.

529 withdrawal worksheet

Match a 529 withdrawal to education expenses

Use one beneficiary, one recipient and one ordinary 529 statement for U.S. postsecondary expenses in 2025 or 2026. Use this worksheet when this is the beneficiary’s only 529 distribution for the year.

2026 distribution comparison

Plan B matches the full distribution

Net eligible expenses this year
$14,100.00
Confirmed credit overlap
$6,000.00
Net expenses outside year
$1,400.00

Plan A distribution matched to expenses

$10,100.00

Distribution unmatched
$900.00
Earnings outside expense match
$225.00
Expenses still available
$0.00

Plan B distribution matched to expenses

$11,000.00

Distribution unmatched
$0.00
Earnings outside expense match
$0.00
Expenses still available
$1,100.00

Compare the distribution match

Distribution matched to expenses for each planThe matched amount starts on the left. The unmatched amount follows it. Exact amounts are listed below.
Plan A · Distribution
Matched $10,100.00 · Unmatched $900.00
Plan B · Distribution
Matched $11,000.00 · Unmatched $0.00
Distribution and expenses reserved for credits

Enter the education expenses you want to reserve in each plan. Use amounts that your adviser or records confirm can be used for the credit. Enter $0 for no reservation.

Confirmed paid receipts

Enter 529-eligible amounts after subtracting tax-free aid and refunds once. For each receipt, also enter the part of that net amount you confirmed can be used for a credit. Use $0 if there is no overlap.

Edit receipts (4)
Receipt 1
Receipt 2
Receipt 3
Receipt 4

Expense and distribution ledger

Plan A
$4,000.00 reserved · $10,100.00 left to match
Plan B
$2,000.00 reserved · $12,100.00 left to match
Open receipt ledger
Receipt inclusion by paid date
ReceiptPaid dateNet amountIn year
Tuition and required fees2026-08-21$8,000.00Yes
College housing2026-09-01$5,000.00Yes
Required supplies2026-09-05$1,100.00Yes
Next January payment2027-01-05$1,400.00No

Copyable 529 allocation data

How to use this calculator

  1. Choose the calendar year and enter the statement's gross distribution and its reported earnings.
  2. Open Edit receipts. Add the date and confirmed 529-eligible amount net of applicable aid and refunds for each paid expense.
  3. For each receipt, enter the confirmed part of the same net amount also available for education credits. Use zero for receipts with no overlap.
  4. Enter the expense amount reserved for an education credit under each plan. Use the distribution and earnings views to see the remaining match.
  5. Open the receipt ledger to check year boundaries and download the exact comparison.

The Formula

The mathematical logic powering this calculation is:

The worksheet models one ordinary section 529 distribution statement for a single recipient and beneficiary in 2025 or 2026. Use it only when the beneficiary has no other 529 distributions in the selected year. Use the gross distribution from Form 1099-Q, box 1, and the nonnegative earnings from box 2. The balance of box 1 is the basis. Use confirmed eligible U.S. postsecondary expenses only.
Net eligible expense for a receipt is its confirmed eligible amount after subtracting tax-free education assistance and applicable refunds once. Input that net amount directly. Credit overlap is the portion of that same net receipt that you have confirmed is also available for an education credit. The overlap cannot exceed the net receipt. Add the net amounts and overlaps from receipts paid January 1 through December 31 of the selected year, inclusive. Dates from other years stay visible in the ledger without changing the current year's totals.
A reservation is the amount of those expenses taken into account for a credit. Use a reservation from zero through this year's confirmed overlap. Available expenses equal this year's net expenses minus the reservation. Matched distribution is the lesser of available expenses and the gross distribution. Unmatched distribution equals gross minus matched, while expenses still available equal available expenses minus matched.
When the gross distribution is positive, matched earnings equal box 2 earnings times matched distribution divided by gross distribution, rounded to the nearest cent with halves rounded up. Earnings outside the expense match equal reported earnings minus that rounded amount. This order keeps the two amounts equal to the reported earnings when added. If gross is zero, reported earnings must be zero and both matched amounts are zero.
The allocation arithmetic follows IRS Publication 970 chapter 7 and the expense coordination rules in 26 U.S.C. § 529(c)(3)(B). The worksheet uses one calendar year and a single ordinary statement. It leaves expense and credit eligibility, an actual credit or tax calculation, another recipient or distribution, Coverdell accounts, non-postsecondary expenses, repayments, penalty exceptions, transfers and rollovers for separate review.

Worked Example

If you input:

  • 529 statement: $11,000 gross in 2026, including $2,750 of earnings.
  • Paid eligible receipts: $14,100 net in 2026 with $6,000 appearing in both expense scopes. The $1,400 January 2027 payment remains outside the 2026 total.
  • Credit-reserved expenses: $4,000 in Plan A or $2,000 in Plan B.

Result:

After reserving $4,000 in Plan A, $10,100 matches the $11,000 distribution. The $900 gap carries $225 of earnings. Plan B reserves $2,000 and the full $11,000 matches, leaving $1,100 of additional expenses available.

Frequently Asked Questions

What amount belongs in net eligible expense?

Use the confirmed qualified amount paid after applying tax-free aid and refunds for that receipt. Enter each applicable reduction once when preparing the net amount.

Does the reservation mean the dollar value of the credit?

Enter the underlying expense dollars used to determine the credit. For example, a possible $2,500 credit can be based on $4,000 of expenses. The reservation in that example is $4,000.

Why does a January receipt appear outside the selected year?

The worksheet compares the distribution with eligible expenses paid in that calendar year. It retains receipts from adjacent years in the ledger for review.

Why are unmatched distribution and unmatched earnings different?

Box 1 includes earnings and basis. The earnings view applies the matched share of the distribution to the reported box 2 earnings separately.

What happens if eligible expenses exceed the distribution?

The match stops at the gross distribution. The worksheet reports the extra available expenses separately and matches all reported earnings.

Similar Calculators