Personal Finance, Loans & Credit Student Loans & College Funding Internal Revenue Code §529 qualified tuition programs

529 College Savings Calculator

Saving for college is two projections that have to meet. This calculator grows your 529 balance and contributions forward to the year your child matriculates, then inflates today's college cost to each of the years it will actually be paid and discounts those bills back to that same date. Comparing the two gives an honest funding gap — and the monthly contribution that would close it. It reports the cost twice, once as the nominal total you will hand over and once as the lump sum you would need on day one, because those two numbers differ by a great deal and confusing them is the most common mistake in college planning.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Child's age todayCurrent age in whole years; the years until matriculation drive everything else.5 yr
Age at matriculationAge when the first bill falls due — 18 for a student starting straight after school.18 yr
Years of enrolmentNumber of academic years you are funding.4 years
Current 529 balanceWhat is in the account today across all 529 plans for this beneficiary.15000 $
Monthly contributionWhat you add each month, including any automatic payroll transfer.300 $ / mo
Expected annual returnNet of fund fees. Age-based portfolios shift towards bonds as college nears, so a long horizon usually justifies a higher figure than a short one.6 % / yr
Annual cost of attendance todayPublished cost of attendance at a college of the type you have in mind — tuition, fees, room, board and books, in today's money.28000 $ / yr
Education cost inflationAnnual growth in published cost of attendance; historically it has run above general inflation.5 % / yr
Grants and scholarships expectedAid you will not repay, in the dollars of the year it is received. Leave at zero unless you have a firm reason.0 $ / yr

It returns

  • Surplus or shortfall at matriculation — Projected balance less the lump sum the cost stream requires. Negative is a shortfall.
  • Projected 529 balance at matriculation
  • Lump sum needed at matriculation
  • Total bills you will actually pay
  • Share of the cost covered
  • Monthly contribution to fully fund
  • Cost of the first year, in that year's dollars

The formula

FV=PV(1+m)k+PMT(1+m)k1m
PMT=(GPV(1+m)k)m(1+m)k1

In plain text: FV = PV(1+m)^k + PMT·((1+m)^k − 1)/m; Goal = Σ cost₀(1+e)^(N+j) / (1+r)^j; Gap = FV − Goal

  • PVCurrent 529 balance ($)
  • PMTMonthly contribution ($)
  • mMonthly return, annual ÷ 12 (decimal)
  • kMonths until matriculation, 12N (months)
  • eAnnual education cost inflation (decimal)
  • rAnnual return, used to discount bills back to matriculation (decimal)
  • NYears until matriculation (years)
  • jYear of enrolment, counting from zero (—)

The goal is discounted to matriculation rather than summed nominally, because the money for later years stays invested while the earlier years are being paid.

Updated Category Student Loans & College Funding Verified against published test cases Reading time 10 min

What a 529 plan is, and what the projection has to get right

A 529 plan is a state-sponsored investment account under §529 of the Internal Revenue Code. Contributions are made with after-tax dollars, growth is not taxed while it stays in the account, and withdrawals are tax-free when spent on qualified education expenses. Many states add a deduction or credit on state income tax for contributions to their own plan. The tax shelter is the whole point: over a fifteen-year horizon, not paying tax on the growth is worth a meaningful share of the final balance.

Projecting one honestly needs three things that people routinely get wrong.

Two different compounding rates. Your account grows at an investment return; college costs grow at education inflation, which has historically run above general inflation. If cost inflation exceeds your return, the target is moving away from you, and the calculator warns when your inputs put you in that regime.

Bills that arrive over several years, not all at once. Four years of college means four bills, each larger than the last. The money for years two through four stays invested while year one is being paid, so the lump you need on day one is less than the sum of the bills. On the default case the bills total $227,567 but the lump needed at matriculation is $208,223.

A contribution schedule, not a single deposit. Monthly contributions are an annuity, and the future-value annuity factor is what converts them into a balance — 235.45 at 6% over thirteen years, so $300 a month becomes $70,634.

The three calculations

Growing the account. The existing balance compounds at the monthly return for the whole horizon, PV(1 + m)k, and the contributions form an ordinary annuity whose future value is PMT · ((1 + m)k − 1) / m. Add them.

Sizing the cost. Each year of enrolment is today's cost of attendance inflated to the year it falls due: cost_j = cost₀ × (1 + e)^(N + j) − aid, where N is years until matriculation and j counts the enrolment years from zero. Note the exponent — the first bill is inflated for N years, not for one.

Bringing them to the same date. Each bill is discounted back to matriculation at your assumed return, so the target is Σ costj / (1 + r)j. Discounting at the return rate is the right convention because that is what the money would earn if it stayed in the account.

The required contribution is then the same annuity identity solved the other way: subtract what the existing balance will grow into, and divide the remainder by the future-value annuity factor. If the balance alone already exceeds the goal, the required contribution is zero rather than negative.

Worked example: a five-year-old, $15,000 saved, $300 a month

Take the defaults — child aged 5, matriculating at 18, four years of enrolment, $15,000 in the account, $300 a month, 6% expected return, $28,000 of annual cost today growing at 5%, no aid assumed.

  1. Horizon. 18 − 5 = 13 years, so k = 156 months and m = 0.005.
  2. Growth factor. (1.005)156 = 2.1772366.
  3. Existing balance grows to. 15,000 × 2.1772366 = $32,658.55.
  4. Contributions grow to. The annuity factor is (2.1772366 − 1) ÷ 0.005 = 235.4473, so 300 × 235.4473 = $70,634.20.
  5. Projected balance. 32,658.55 + 70,634.20 = $103,292.75.
  6. The bills. 1.0513 = 1.885649, so the first year costs 28,000 × 1.885649 = $52,798.18. The following years are $55,438.08, $58,209.99 and $61,120.49, totalling $227,566.74.
  7. Lump needed at matriculation. Discount each at 6%: 52,798.18 + 52,300.08 + 51,806.68 + 51,318.00 = $208,222.88. Notice how nearly equal those four terms are — 5% inflation and 6% discounting almost cancel.
  8. The gap. 103,292.75 − 208,222.88 = −$104,930, so the plan covers 49.6% of the cost.
  9. Closing it. (208,222.88 − 32,658.55) × 0.005 ÷ 1.1772366 = $745.66 a month, against the $300 currently going in.

That result is typical rather than alarming, and it is why the next section is about what to do with a shortfall rather than how to eliminate it.

Reading a shortfall without panicking

A funding gap is normal and does not mean the plan has failed. Most families cover college from three sources — savings, current income during the college years, and borrowing — and a 529 is only the first. A plan covering half the published cost of a private-college sticker price is doing real work.

Three levers move the answer, in descending order of power. Time is the strongest: the reference table below shows that funding a $28,000-a-year college from scratch needs $686 a month starting at birth and $3,250 a month starting at fifteen — 4.7 times as much for one sixth of the horizon. The cost target is next, and it is the one people forget is a choice: an in-state public university and a private college differ by a factor of two or more in the table, and that difference dwarfs any plausible investment outperformance. The contribution comes third.

Be careful with the two cost outputs. The nominal total is what you will hand over; the lump needed is what you must have on day one. Quoting the nominal figure as a savings target overstates the job by the amount the account will earn during the college years — $19,344 in the default case.

And treat the aid field with suspicion. Institutional grants are real and often large, but they are re-assessed annually, depend on the college, and cannot be relied on before an offer exists. Assets in a parent-owned 529 are assessed on the FAFSA at a maximum of 5.64% of value, far more favourably than student-owned assets — so saving in a 529 reduces aid eligibility only slightly.

Monthly contribution needed to fully fund four years, starting from zero

Assumes a 6% return, 5% education inflation, four years of enrolment and no existing balance. Read the row for your child's years until matriculation and the column for today's annual cost of attendance.
Years until college$15,000 a year$28,000 a year$45,000 a year$60,000 a year
18$368$686$1,103$1,470
15$423$789$1,269$1,692
12$506$944$1,517$2,022
10$588$1,098$1,764$2,352
8$712$1,328$2,135$2,846
5$1,082$2,020$3,246$4,329
3$1,741$3,250$5,223$6,964

Every column scales exactly with the cost, because the cost enters the formula linearly. The rows do not scale with time at all: going from 18 years to 3 multiplies the required contribution by 4.7, not by 6, because a shorter horizon also gives inflation less time to raise the bill.

What this projection does not model

  • State tax deductions. Many states allow a deduction or credit for contributions to their own plan, which effectively increases your contribution at no extra cost. The benefit varies enormously by state and is not included here.
  • Sequence of returns. A single average return hides the risk that a bad market lands in the year before matriculation. Age-based 529 portfolios shift towards bonds precisely to manage this, which also means your realised return is likely to be lower in the last few years than in the first.
  • Fees. Enter a return net of fund expenses. Direct-sold plans are usually materially cheaper than advisor-sold ones, and over eighteen years the difference compounds.
  • Contribution limits and gift tax. There is no annual federal contribution cap, but contributions are gifts for tax purposes, with a five-year forward election available for large lump sums. Each state also sets an aggregate account balance limit.
  • Non-qualified withdrawals. Earnings withdrawn for anything other than qualified expenses are taxed as ordinary income plus a 10% penalty. The penalty is waived, though not the tax, if the beneficiary receives a scholarship.
  • Leftover funds. A 529 can be rolled to another qualifying family member, and since the SECURE 2.0 Act a limited amount may be rolled into the beneficiary's Roth IRA subject to conditions including a 15-year account age. Check the current rules before relying on either.
  • Published cost is not net price. Sticker cost of attendance is what this calculator inflates; the price most families actually pay at private colleges is lower after institutional grants.

Where 529 saving sits in the plan

Order of operations matters more than optimisation. Retirement funding comes first, for a reason that sounds harsh and is simply true: your child can borrow for college and you cannot borrow for retirement. High-rate consumer debt comes next — clearing a card at 23% beats a 6% expected return with certainty, and the debt avalanche calculator shows the cheapest order to do it. Emergency reserves come before college saving too, because a family that has to withdraw from a 529 in a crisis pays tax and a penalty on the earnings.

Against the alternatives: a taxable brokerage account is more flexible and loses the tax shelter; a Coverdell ESA has a low annual limit; a UTMA custodial account becomes the child's property at majority and is assessed far more harshly for financial aid. For education specifically, the 529 is the default answer for most families.

Plan for the gap rather than pretending it away. Current income during the college years is a legitimate funding source that no projection captures, as is a student's own part-time earnings. Federal student loans in the student's name are the borrowing of last resort but carry protections that private loans do not — see the student loan payment calculator for what a given balance actually costs to repay. Working the shortfall out now, while there are still years to adjust, is the point of running this at all.

Frequently asked questions

How much should I be saving each month for college?

From a standing start with 18 years to go, $686 a month funds four years at a $28,000-a-year college on a 6% return and 5% cost inflation. The same target needs $1,098 with ten years left and $3,250 with three. Those figures fall in proportion to the cost target, so the single biggest decision is what kind of college you are planning for — the table above shows an in-state public and a private figure differing by more than a factor of two.

Why is the lump sum needed smaller than the total of the bills?

Because the money for later years keeps earning while the earlier years are being paid. On the default case the four bills total $227,567 but you only need $208,223 on day one, since the balance funding years two to four continues to compound at 6% during college. Treating the nominal total as your savings target overstates the job by $19,344.

What return should I assume on a 529?

Use a figure net of fund fees, and remember that most 529 investors are in age-based portfolios that shift from equities to bonds as college approaches. That means a long horizon can support a higher assumption than a short one, and that your realised return in the final years will be lower than in the early ones. Running the calculator a point either side of your assumption is more informative than agonising over the central figure.

Does having a 529 reduce financial aid?

Only slightly, if the account is owned by a parent. Parent-owned 529 assets are counted as parental assets on the FAFSA and assessed at a maximum of 5.64% of value in the student aid index, whereas student-owned assets are assessed far more heavily. Distributions from a parent-owned 529 are not counted as student income. The aid reduction is small enough that it almost never justifies saving less.

What happens if my child does not go to college, or gets a scholarship?

You have several routes and none of them wastes the account. You can change the beneficiary to another qualifying family member, including a sibling, a cousin or yourself. You can use the funds for qualifying apprenticeships or certain other education. If the beneficiary receives a scholarship, you may withdraw up to the scholarship amount with the 10% penalty waived — though earnings are still taxed as ordinary income. And under SECURE 2.0 a limited amount may be rolled into the beneficiary's Roth IRA, subject to conditions including a 15-year account age.

Should I use a 529 or just a regular investment account?

A 529 for money earmarked for education, because the tax shelter on growth is the entire advantage and it compounds with the horizon. A taxable account is better only if you genuinely may need the money for something else, since non-qualified withdrawals of earnings face income tax plus a 10% penalty. Many families run both: a 529 for the core plan and a taxable account for flexibility.

Is education inflation really higher than normal inflation?

Published cost of attendance has historically grown faster than general consumer prices, which is why the default here is 5% rather than a general inflation figure. Net price — what families actually pay after institutional grants — has grown more slowly than sticker price at many private colleges. If you are planning against a specific college, check its published cost history rather than using a national average.

Can grandparents contribute to a 529?

Yes, either into the parent-owned account or into one they own themselves. Contributions are gifts for federal tax purposes, and a five-year forward election lets a large lump sum be treated as spread across five years of annual exclusions. Grandparent-owned accounts used to reduce aid sharply because distributions counted as student income; recent FAFSA simplification removed that treatment, but confirm the current rules before assuming either way.

References