time-and-a-half-calculator
Compute the time-and-a-half overtime rate (hourly × 1.5) and gross pay for a week with regular and overtime hours. Follows the US FLSA convention: hours past 40 are paid at 1.5× the base rate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hourly_rate | Yes | Base hourly wage in dollars. The straight-time rate before any overtime premium. | |
| regular_hours | No | Straight-time hours worked in the week. Defaults to 40 — the FLSA threshold above which time-and-a-half kicks in. | |
| overtime_hours | No | Hours worked past the regular threshold. Defaults to 0. These are paid at 1.5× the hourly rate. |