Skip to content
PithLab

↑↓ to move · Enter to open · Esc to close

Salary to Hourly Calculator API

Convert pay between hourly, daily, weekly, biweekly, semi-monthly, monthly and annual figures for a given work schedule (gross, before tax).

POST /api/v1/tools/salary-calculatorMCP salary_calculatorCalculators

Convert pay between hourly, daily, weekly, biweekly, semi-monthly, monthly and annual, using your own hours, paid weeks and unpaid days off.

Input

Send these as a JSON object. Unknown fields are rejected.

amount
The pay amount, per period. (number, 0 to …, required)
period
What the amount is per. (string, one of hourly, daily, weekly, biweekly, semimonthly, monthly, annual, default "annual")
hoursPerWeek
Hours worked per week (above 0, up to 168). (number, 0.01 to 168, default 40)
daysPerWeek
Days worked per week (1 to 7). (number, 0.01 to 7, default 5)
weeksPerYear
Paid weeks per year (1 to 52.18). (number, 0.01 to 52.18, default 52)
unpaidDays
Unpaid days off per year on top of the weeks above. (number, 0 to 366, default 0)
curl https://pithlab.com/api/v1/tools/salary-calculator \n  -H "Authorization: Bearer $PITHLAB_KEY" \n  -H "Content-Type: application/json" \n  -d '{"amount":52000,"period":"annual"}'