Home › Finance › Salary Converter
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.
When to use
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).
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 %.
Inputs
| Parameter | Type | Unit | Required | Description |
|---|---|---|---|---|
amount | number | yes | Gross pay for one period, before tax. Range: ≥ 0, ≤ 1000000000 | |
period | enum: hourly | daily | weekly | biweekly | monthly | annual | yes | The period the entered amount refers to. | |
hours_per_week | number | hours | default 40 | Paid hours per week (40 is standard full time in the US). Range: > 0, ≤ 168 |
days_per_week | number | days | default 5 | Paid working days per week, used for the daily rate. Range: > 0, ≤ 7 |
weeks_per_year | number | weeks | default 52 | Weeks paid per year; use 52 for salaried staff with paid leave, fewer for unpaid time off. Range: > 0, ≤ 53 |
Outputs
| Output | 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). |
Example
25 per hour, 40 h/week, 52 weeks: {"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: {"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
Machine access
- API:
GET https://tttkmbb.com/api/v1/calculate/salary-converter(query parameters) orPOSTwith a JSON body{"inputs": {...}} - Schema: https://tttkmbb.com/api/v1/calculators/salary-converter · Markdown: https://tttkmbb.com/finance/salary-converter.md · JSON definition: https://tttkmbb.com/finance/salary-converter.json
- MCP: server
https://tttkmbb.com/mcp, toolrun_calculator with calculator_id="salary-converter" - OpenAPI operationId:
convert_salary - Freshness:
static. Authentication: none. Rate limit: fair use (see rate limits).
Sources
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 calculators
- Work Hours Calculator — Count the hours worked in a period.
- Inflation Calculator — See how a salary's purchasing power changes over time.