Convert an hourly rate to a salary
convert_hourly_rate_to_salaryConvert an hourly rate to the annual salary it adds up to for the hours a week and paid weeks a year given, with take-home pay on that salary for a tax year.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taxYear | No | UK tax year, e.g. "2026-27". Defaults to the current one. | |
| hourlyRate | Yes | Gross pay per hour | |
| hoursPerWeek | Yes | Hours worked a week | |
| studentLoanPlan | No | Student loan plan, if any (plan4 is Scotland, postgrad the postgraduate loan) | |
| paidWeeksPerYear | No | Paid weeks a year; defaults to 52 (holiday is paid) | |
| scottishTaxpayer | No | True for a Scottish taxpayer (Scottish bands) |