Skip to main content
Financial 12 min read

How to Calculate Your 401(k) and Retirement Savings: Formula, Employer Match & Examples

Learn how to project your 401(k) balance at retirement with the future value formula, worked examples, employer-match math, and the contribution rules that matter most.

By Daniel Agrici Reviewed by Suresh Chandra, Finance Analyst

Introduction

Projecting a 401(k) balance comes down to one formula — the future value of a series of regular contributions: FV = PMT × [((1 + r)^n − 1) / r], where PMT is your contribution each period, r is the periodic return, and n is the number of periods. Add your employer’s match to PMT and you have a realistic picture of what your account could be worth at retirement.

This guide walks through the exact math, shows how the employer match multiplies your money, and works through full examples. If you would rather skip the arithmetic, the 401(k) Calculator runs every scenario in seconds, and the Retirement Calculator projects your total nest egg across all accounts.


The Two Numbers That Drive Everything

A 401(k) projection has only two engines: how much goes in, and how fast it grows.

  • Contributions (PMT). Your paycheck deferral plus your employer’s match, every pay period.
  • Growth (r). The average annual return of your investments, converted to a per-period rate.

Everything else — years to retirement, contribution increases, catch-up rules — is a variation on these two levers.

Contribution limits (confirm the current year)

The IRS sets an annual elective-deferral limit that adjusts most years for inflation. For 2026, the employee contribution limit is in the mid-$24,000s, with an additional catch-up contribution of several thousand dollars available once you turn 50. Because these figures change annually, always confirm the current number on IRS.gov before maxing out. Employer matching contributions do not count against your personal limit — they fall under a separate, higher combined ceiling.


The Employer Match: The Highest Return You Will Ever Get

Before any market growth, the employer match is the single most valuable feature of a 401(k). A typical match is “50% of contributions up to 6% of salary” or “100% up to 4%.”

Worked example — capturing the match:

  • Salary: $70,000
  • Your contribution: 6% = $4,200/year
  • Employer match: 50% of that = $2,100/year
  • Total invested: $6,300/year

You put in $4,200 and $6,300 shows up in your account. That is a 50% return before the market does anything. Declining to contribute at least up to the match is leaving guaranteed money on the table — no legitimate investment offers that.


Projecting Your Balance: The Future Value Formula

To project growth, use the future value of an annuity formula:

FV = PMT × [((1 + r)^n − 1) / r]

Where:

  • PMT — contribution per period (your deferral + employer match)
  • r — return per period (annual return ÷ periods per year)
  • n — total number of periods (years × periods per year)

Worked example — a 30-year projection

Assume the example above continues unchanged:

  • Total annual contribution: $6,300 → $525/month
  • Assumed return: 7% per year → r = 0.07 ÷ 12 = 0.005833 per month
  • Time: 30 years → n = 360 months

Step 1 — Growth factor: (1 + 0.005833)^360 ≈ 8.116

Step 2 — Subtract 1 and divide by r: (8.116 − 1) ÷ 0.005833 ≈ 1,220

Step 3 — Multiply by PMT: $525 × 1,220 ≈ $640,500

You contributed $189,000 of your own money over 30 years (plus $75,600 from your employer). The remaining ~$375,000 is pure investment growth. That is compounding doing the heavy lifting.


Why Starting Early Beats Contributing More

Because growth compounds over decades, time is a stronger lever than contribution size. Consider two savers, both targeting age 65 with a 7% return:

  • Early Emma invests $300/month from age 25 to 35 (10 years, $36,000 total), then stops.
  • Late Liam invests $300/month from age 35 to 65 (30 years, $108,000 total).

At 65, Emma — despite investing a third as much — often ends up with a balance close to or exceeding Liam’s, because her early contributions had 40 years to compound. The lesson: contribute something as early as possible, then raise the amount as your income grows.


Common Mistakes to Avoid

  • Not capturing the full match. The most expensive 401(k) mistake there is.
  • Leaving contributions at the default rate. Many plans auto-enroll at 3%, below most match thresholds. Check and raise it.
  • Ignoring fees. A fund charging 1% versus 0.1% can quietly cost you six figures over a career. Favor low-cost index options where available.
  • Cashing out when changing jobs. Rolling over to an IRA or new 401(k) preserves compounding; cashing out triggers taxes and penalties and resets the clock.
  • Forgetting to increase contributions with raises. Bumping your rate by 1% each year is nearly painless and dramatically changes the outcome.

Putting It Together

The math behind a 401(k) is not complicated: contribute at least enough to get the full match, invest for long-term growth, and let compounding run for as many years as possible. The future value formula tells you where you are headed, but the real driver is consistency over time.

Run your own numbers with the 401(k) Calculator to see how contribution rate, employer match, and return assumptions change your ending balance — then use the Retirement Calculator to combine your 401(k) with other savings for a full retirement picture. To understand the growth engine underneath it all, see our guide on how to calculate compound interest.

Frequently Asked Questions

How much should I contribute to my 401(k)? +

A common rule of thumb is 15% of gross income including any employer match. At minimum, contribute enough to capture the full employer match — that is an immediate, guaranteed return on your money that no other investment reliably offers. If your employer matches 50% of contributions up to 6% of pay, contributing 6% turns into 9% of pay invested, a 50% instant return on your portion.

What is the difference between a traditional and a Roth 401(k)? +

A traditional 401(k) is funded with pre-tax dollars — you lower your taxable income now and pay tax when you withdraw in retirement. A Roth 401(k) is funded with after-tax dollars — no deduction today, but qualified withdrawals in retirement are tax-free. Younger savers in lower tax brackets often favor Roth; higher earners who expect a lower bracket in retirement often favor traditional.

Does the employer match count toward my annual contribution limit? +

No. The IRS elective-deferral limit applies only to the money you contribute from your paycheck. Employer matching dollars fall under a separate, higher combined limit. This is why the match is often described as 'free money' — it stacks on top of your own contribution ceiling.

What annual return should I assume for a 401(k) projection? +

Historically, a diversified stock-and-bond portfolio has returned roughly 6–8% per year on average before inflation over long periods. Many planners model 7% as a middle-of-the-road assumption. Use a conservative figure (5–6%) if you want a safety margin, and remember that any single year can be far above or below the average.

How does compounding affect my 401(k) over time? +

Compounding means each year's growth earns growth of its own. Because retirement horizons span decades, the majority of a final 401(k) balance typically comes from investment growth rather than contributions. Starting ten years earlier can easily double an ending balance even with identical monthly contributions.

D

Daniel Agrici

NovaCalculator Editorial Team

Our writers combine mathematical expertise with clear writing to make calculations accessible to everyone. Content is checked against authoritative sources including NIST, WHO, and CFPB.

Try the Calculator

401(k) Calculator

Use the free tool to calculate instantly — no signup needed.

Open Calculator →

Share this article