general

Converts compensation between annual salary, monthly pay, weekly pay, and hourly wage. Accepts any of the four pay periods as input and derives all others. Uses configurable hours per week (default 40) and weeks per year (default 52). Daily rate assumes an 8-hour workday; monthly is annual divided by 12. Useful for comparing job offers quoted in different pay periods, freelance rate-setting, and budgeting. Chain from sales_tax to see how many hours a purchase costs.

post/api/salary_to_hourly

Request

  • Base URL: https://calc.engineer
  • URL: https://calc.engineer/api/salary_to_hourly
  • Auth: none declared

Request body

amountnumber required

The salary or wage amount to convert.

from_type'annual' | 'monthly' | 'weekly' | 'hourly'

The pay period of the input amount. Defaults to 'annual'.

hours_per_weeknumber

Hours worked per week. Defaults to 40 for a standard full-time schedule.

weeks_per_yearnumber

Working weeks per year. Defaults to 52. Use 50 to account for 2 weeks unpaid vacation.

Response

Computed result for salary_to_hourly

toolstring required
versionstring required
computed_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.