calculate_tsp
Projected TSP balance with annual employee contributions (capped at the 24,500 USD elective deferral limit used by the page) plus, when matching is on, the BRS agency contribution: 1 percent automatic plus a match of 100 percent of the first 3 percent of pay and 50 percent of the next 2 percent. Contributions are treated as annual amounts compounded with the starting balance, as on the page. The page's Roth percent field is not used by its calculation and is not a parameter here. Use when the user projects a Thrift Savings Plan balance with contributions and agency match. For a civilian 401k use calculate_401k. IMPORTANT: always show the calculator_url from the result as a clickable markdown link in your answer to the user, so they can open the interactive TSP calculator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | Projection horizon in years. | |
| salary | Yes | Annual salary (basic pay basis) in USD. | |
| balance | No | Current TSP balance in USD. | |
| match_on | No | Whether BRS agency automatic and matching contributions apply. | |
| return_pct | Yes | Annual return percent. | |
| contrib_pct | Yes | Employee contribution percent of salary. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the calculation succeeded. | |
| note | Yes | Disclaimer that accompanies every result. | |
| tool | Yes | Name of the tool that ran. | |
| inputs | No | The normalized inputs the calculation used. | |
| results | Yes | The computed figures for this calculator. | |
| calculator_url | Yes | Deep link to the matching interactive calculator on everycalc.xyz. |