Year-by-year compounding with match and limits
The calculator steps forward one year at a time: it applies the assumed annual return to the running balance, then adds that year's employee and employer contributions at year-end, consistent with the year-end contribution timing used throughout the projection. It checks the employee's contribution against the current-year elective deferral limit and any catch-up allowance once you cross the eligible age; employer contributions are tracked separately toward the overall annual-additions limit rather than counted against the deferral limit. If your contribution rate would exceed the elective deferral limit, it caps the employee portion rather than letting it run past the IRS ceiling.