Salary ↔ Hourly Converter

Enter either your yearly salary or hourly wage along with your typical schedule to see the equivalent pay.

How to use this tool
  • Annual salaryEnter your yearly pay if you want to convert it to an hourly rate.
  • Hourly rateEnter your hourly wage if you want to convert it to an annual salary.
  • Hours per weekProvide the number of paid hours you work each week.
  • Paid weeks per yearEnter how many weeks you are paid in a year (exclude unpaid time off).

Use the Annual → Hourly or Hourly → Annual buttons to run the conversion based on the fields you've filled. Reset clears the form.

Use the buttons to set the direction of the conversion. Weeks per year exclude unpaid time off.

```astro --- const { id = 'ad-slot-1', label = 'Ad placeholder (paste your AdSense code here later)' } = Astro.props; ---
{label}
```