Salary to hourly rate
salary_to_hourlyConverts an annual salary to an hourly rate and to weekly, biweekly (26), semimonthly (24) and monthly gross pay. Defaults: 40 hours a week, 52 weeks (2,080 hours). Gross pay only; use calculate_take_home_pay for net.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| annual_salary | Yes | Gross annual salary in USD. | |
| hours_per_week | No | Paid hours per week (default 40). | |
| weeks_per_year | No | Paid weeks per year (default 52; paid vacation still counts). |