---
title: "Thrift Savings Plan (TSP) projection"
method: GET
path: "/api/v1/calculate/tsp"
---

# Thrift Savings Plan (TSP) projection

`GET /api/v1/calculate/tsp`

## Request

- Base URL: `https://everycalc.xyz`
- URL: `https://everycalc.xyz/api/v1/calculate/tsp`
- Auth: none declared

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. Results match the interactive calculator at everycalc.xyz; every response includes a calculator_url deep link to it.

## Query parameters

- `balance` number
- `salary` number, required
- `contrib_pct` number, required
- `match_on` boolean
- `years` number, required
- `return_pct` number, required

## Response `200`

Calculation result.

## Other responses

- `400`: Invalid input.

---

[API](https://skmtc.dev/everycalc/apis/everycalc-api.md) · [All operations](https://skmtc.dev/everycalc/apis/everycalc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/everycalc/apis/everycalc-api/revisions/a4bd5db0868a?raw)
