Unpaid vacation lowers the weeks. If you are paid for 50 weeks, put 50. The main take-home calculator always annualizes hourly pay at 52 weeks, which matches a salary that does not dock unpaid leave.
52 weeks is a full year
Hourly to salary
Annual pay is the hourly rate times hours per week times weeks you are paid. A standard full-time year is 40 × 52 = 2,080 hours. The tax estimate below uses that annual amount as ordinary wages.