Formulas and sources
Each formula this calculator uses, where it comes from, and what it leaves out. "How it works" shows the same formula with your own numbers.
Employer match
- M
- the employer match rate, e.g. 50%
- PMT
- your contribution that year, after the IRS limit
C is the match cap as a share of salary, e.g. 6%. S is that year's salary, counted only up to $375,000, the 2027 compensation limit. Your plan's own formula may differ, and matched money may vest over time.
Source: Standard plan formula; no single publisher. Pay above the limit is left out as in the IRS's own example [1]. The limit is set by 26 U.S.C. §401(a)(17) [2], and $375,000 is its 2027 figure in Notice 2026-66 [3].
Your contribution each year
- PMT
- the contribution the projection uses that year
- L
- the 2027 IRS limit for your age: $25,500, $34,000 from 50, or $37,250 at 60 to 63
Your amount is the Annual Contribution, or with % of salary, that year's salary times your share. Salary grows by the Yearly Raise, and the share by the Automatic Increase until its stop.
Source: Based on the 2027 limits in IRS Notice 2026-66 [3] and news release IR-2026-136 [4]. The IRS sets catch-up eligibility by your age on December 31 [3] [5]; the calculator uses your age today.
Balance at retirement
- PMT
- your contribution that year
- r
- yearly return, as a decimal
- n
- years to retirement
- PV
- current balance
- FV
- balance at retirement
Your contribution and the match go in at the start of each year, and that year's growth is added at the end, so r compounds once a year.
Source: Standard compound interest and annuity formula; no single publisher.
Balance in today's money
With an Inflation Rate
- FV
- balance at retirement, from the formula above
- inflation
- the yearly inflation rate you enter, as a decimal: 2% is 0.02
- n
- years to retirement
It changes no other figure. Blank, the line is not shown.
Source: Standard formula; no single publisher. The 2% starting rate matches the Federal Reserve's longer-run inflation goal [6], a target rather than a forecast.
How much of the match you get: the Early Career (Age 30) example
Sources
- Internal Revenue Service. 401k Plans deferrals and matching when compensation exceeds the annual limit, Employer matching contributions, example. Page last reviewed or updated February 26, 2026.Our automated tests check this calculator against 1 case from it.
- United States Code. 26 U.S.C. §401, Qualified pension, profit-sharing, and stock bonus plans, subsection (a)(17), compensation limit. 2024 edition, GovInfo.
- Internal Revenue Service. Notice 2026-66: 2027 Amounts Relating to Retirement Plans and IRAs, as Adjusted for Changes in Cost-of-Living, Notice 2026-66. November 12, 2026.
- Internal Revenue Service. 401(k) limit increases to $25,500 for 2027, IRA limit remains $7,500, news release IR-2026-136. November 12, 2026.
- Internal Revenue Service. Retirement topics - Catch-up contributions. Page last reviewed or updated May 7, 2026.
- Board of Governors of the Federal Reserve System. Why does the Federal Reserve aim for inflation of 2 percent over the longer run? Last updated August 22, 2025.
What this calculator does not cover
- It models one account at one return. It does not track vesting of employer money, Roth against traditional 401(k) tax, or the combined §415(c) limit on employee and employer money.
- Every year keeps the 2027 IRS figures, including the $375,000 pay limit.
- It takes one match rate and one cap on salary. A tiered match, such as 100% of the first 3% of pay plus 50% of the next 2%, is not modeled.
- Your share of salary applies to your full pay. The IRS says deferrals continue on pay above the limit unless your plan's terms stop them there.
- The calculator uses your age today for the first year and adds one each year. The IRS uses the age you reach by December 31. If your birthday is still ahead this year, your real limit is higher than the one used in the years you turn 50 and 60, and lower in the year you turn 64.
- Since 2026, catch-up contributions must go in as Roth for anyone whose wages from the employer the year before were over the IRS threshold: $155,000 of 2026 wages, for 2027 catch-ups. The calculator does not separate them.
Sources checked on
How we choose sources and test the calculators: How CalcTrail calculates