Skip to content
PithLab

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

Freelance Hourly Rate Calculator API

Freelance hourly and day rate needed to reach a take-home income after tax, business expenses, non-billable time and weeks off.

POST /api/v1/tools/hourly-rate-calculatorMCP hourly_rate_calculatorCalculators

Work out the hourly and day rate you need as a freelancer from your target take-home pay, business expenses, tax, time off and non-billable hours.

Input

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

takeHome
Desired yearly take-home pay after tax and expenses. (number, 0 to …, required)
expenses
Yearly business expenses (software, equipment, insurance, accountant). (number, 0 to …, default 0)
taxRate
Effective tax rate on profit, in percent (0 to 95). (number, 0 to 95, default 0)
hoursPerWeek
Hours worked per week, billable or not. (number, 0 to 168, default 40)
nonBillable
Share of working time that can't be billed (admin, sales, learning), in percent. (number, 0 to 95, default 0)
weeksOff
Weeks a year without work (holidays, public holidays, sick days). (number, 0 to 51, default 0)
hoursPerDay
Hours in a billed day, for the day rate. (number, 0 to 24, default 8)
curl https://pithlab.com/api/v1/tools/hourly-rate-calculator \n  -H "Authorization: Bearer $PITHLAB_KEY" \n  -H "Content-Type: application/json" \n  -d '{"takeHome":60000,"expenses":6000,"taxRate":25,"hoursPerWeek":40,"nonBillable":25,"weeksOff":6,"hoursPerDay":8}'
Example response
{
  "ok": true,
  "result": {
    "revenue": 86000,
    "tax": 20000,
    "profit": 80000,
    "workingWeeks": 46,
    "billableHoursPerWeek": 30,
    "billableHours": 1380,
    "hourly": 62.31884057971015,
    "dayRate": 498.5507246376812,
    "text": "Charge at least 62.32 an hour (498.55 a day) to bill 86,000.00 a year over 1,380 billable hours"
  }
}