# Salary Converter

> Converts a pay amount quoted per hour, day, week, two weeks, month or year into all the other periods, using the hours per week, days per week and paid weeks per year you specify.

- Calculator id: `salary-converter` · Category: Finance (`finance`) · Tool name: `convert_salary`
- Canonical page: https://tttkmbb.com/finance/salary-converter · This document: https://tttkmbb.com/finance/salary-converter.md · JSON definition: https://tttkmbb.com/finance/salary-converter.json

## Purpose

Converts a pay amount quoted per hour, day, week, two weeks, month or year into all the other periods, using the hours per week, days per week and paid weeks per year you specify.

**Use when:** You need to compare an hourly wage with an annual salary, or see what a salary works out to per month, per week or per hour before tax.

**Do not use when:** You need take-home pay after income tax and deductions, or overtime at a premium rate (multiply the extra hours by the premium separately).

## Input

| Parameter | Type | Unit | Required | Description |
| --- | --- | --- | --- | --- |
| `amount` | number |  | required | Gross pay for one period, before tax. (min 0, max 1000000000) |
| `period` | enum: hourly \| daily \| weekly \| biweekly \| monthly \| annual |  | required | The period the entered amount refers to. |
| `hours_per_week` | number | hours | optional, default 40 | Paid hours per week (40 is standard full time in the US). (> 0, max 168) |
| `days_per_week` | number | days | optional, default 5 | Paid working days per week, used for the daily rate. (> 0, max 7) |
| `weeks_per_year` | number | weeks | optional, default 52 | Weeks paid per year; use 52 for salaried staff with paid leave, fewer for unpaid time off. (> 0, max 53) |

## Output

| Field | Type | Unit | Description |
| --- | --- | --- | --- |
| `hourly` | number |  | annual / (hours_per_week × weeks_per_year). |
| `daily` | number |  | annual / (days_per_week × weeks_per_year). |
| `weekly` | number |  | annual / weeks_per_year. |
| `biweekly` | number |  | weekly × 2 (26 pay periods at 52 weeks). |
| `monthly` | number |  | annual / 12. |
| `annual` | number |  | Yearly gross pay. |
| `hours_per_year` | number | hours | hours_per_week × weeks_per_year (2,080 at 40 h and 52 weeks). |

## Formula

`annual = amount × periods per year, where periods per year = hours_per_week × weeks_per_year (hourly), days_per_week × weeks_per_year (daily), weeks_per_year (weekly), weeks_per_year / 2 (biweekly), 12 (monthly) or 1 (annual); every other period = annual / its periods per year`

Gross (pre-tax) conversion with a 52-week, 2,080-hour year by default; the US federal government uses a 2,087-hour divisor for its own hourly rates, which changes the hourly figure by about 0.3 %.

## Data Sources

- U.S. OPM – Computing Hourly Rates of Pay Using the 2,087-Hour Divisor — https://www.opm.gov/policy-data-oversight/pay-leave/pay-administration/fact-sheets/computing-hourly-rates-of-pay-using-the-2087-hour-divisor/ (government, retrieved 2026-09-23)
- U.S. Department of Labor – Overtime Pay (40-hour workweek under the FLSA) — https://www.dol.gov/agencies/whd/overtime (government, retrieved 2026-09-23)
- Wikipedia – Salary — https://en.wikipedia.org/wiki/Salary (reference, retrieved 2026-09-23)

Data freshness: `static`. Deterministic formula with fixed constants; results never go stale. Inputs supplied by the caller determine the output.

## API

- `GET https://tttkmbb.com/api/v1/calculate/salary-converter?amount=…&period=…`
- `POST https://tttkmbb.com/api/v1/calculate/salary-converter` with JSON body `{"inputs": {…}}`
- Response: unified envelope (`success`, `request`, `result.values`, `result.units`, `sources`, `freshness`, `timestamp`, `next_actions`, `links`); see https://tttkmbb.com/docs/response-format.md
- Schema: https://tttkmbb.com/api/v1/calculators/salary-converter · OpenAPI operationId `convert_salary` in https://tttkmbb.com/openapi.json
- Authentication: none. Rate limit: fair use, see https://tttkmbb.com/docs/rate-limits.md.

## MCP

- Server: `https://tttkmbb.com/mcp` (Streamable HTTP, JSON-RPC 2.0, no auth)
- Tool:  `run_calculator` with `{"calculator_id": "salary-converter", "inputs": {…}}`

## Example

- 25 per hour, 40 h/week, 52 weeks: inputs `{"amount":25,"period":"hourly"}` → `{"hourly":25,"daily":200,"weekly":1000,"biweekly":2000,"monthly":4333.33,"annual":52000,"hours_per_year":2080}`
- 75,000 per year: inputs `{"amount":75000,"period":"annual"}` → `{"hourly":36.06,"daily":288.46,"weekly":1442.31,"biweekly":2884.62,"monthly":6250,"annual":75000}`

```
GET https://tttkmbb.com/api/v1/calculate/salary-converter?amount=25&period=hourly
```

## Limitations

You need take-home pay after income tax and deductions, or overtime at a premium rate (multiply the extra hours by the premium separately). Gross (pre-tax) conversion with a 52-week, 2,080-hour year by default; the US federal government uses a 2,087-hour divisor for its own hourly rates, which changes the hourly figure by about 0.3 %. All values are computed from the formula above; no measurement or live data is involved.

## FAQ

**Why is monthly not weekly × 4?**

A year has 52 weeks but 12 months, so a month averages 4.33 weeks. Monthly pay is annual / 12, which is weekly × 52 / 12.

**How do I handle unpaid vacation?**

Reduce weeks_per_year: an hourly worker with 2 unpaid weeks off earns 50 weeks × hours_per_week × rate per year.

## Related

- [Work Hours Calculator](https://tttkmbb.com/everyday/work-hours.md) — Count the hours worked in a period.
- [Inflation Calculator](https://tttkmbb.com/finance/inflation.md) — See how a salary's purchasing power changes over time.
