---
title: "401(k) Calculator"
method: GET
path: "/api/calc/401k-calculator"
tags: ["Finance"]
---

# 401(k) Calculator

`GET /api/calc/401k-calculator`

## Request

- Base URL: `https://calcbright.com`
- URL: `https://calcbright.com/api/calc/401k-calculator`
- Auth: none declared

A 401k calculator with the 2026 $24,500 limit and catch-ups built in: project your balance at retirement from your match, raises and returns, year by year.

## Query parameters

- `salary` number: Annual salary
- `contribution` number: Your contribution (% of pay)
- `balance` number: Current 401(k) balance
- `match` number: Employer match (%) e.g. 50% of what you contribute…
- `matchLimit` number: …up to (% of pay)
- `age` number: Current age (years)
- `retireAge` number: Retirement age (years)
- `rate` number: Expected annual return (%)
- `raise` number: Annual salary increase (%)

## Response `200`

Calculation result

- CalcOutput
  - `ok` boolean
  - `tool` string
  - `name` string
  - `url` string: Open this link to see the full calculation
  - `inputs` object
  - `summary` string: Plain-text answer
  - `details` string
  - `result` object
  - `errors` object

## Other responses

- `400`: Invalid input (see errors)

---

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