Every month HR needs the number of actual working days: to pay someone who joined mid-month, to deduct an absence, or to set a deadline in working days rather than calendar days. Staff also keep asking the same thing: how many days of annual leave am I entitled to? This tool answers both in one calculation set to the country's weekend and to the wording of the relevant article.
It counts every day between the two dates, both ends included, then removes the weekend: Friday and Saturday in Saudi Arabia, Saturday and Sunday in the UAE as in federal bodies and most employers. Next it removes the public holidays you enter, taking care not to deduct a holiday twice when it falls on a weekend. Annual leave in Saudi Arabia is 21 days, rising to 30 after five continuous years under Article 109 of the Labour Law. In the UAE it is 30 days for each year of service, and two days for each month once service passes six months but before a full year, under Article 29 of Federal Decree-Law No. 33 of 2021.
The default example uses Saudi Arabia, the period 1 to 31 December 2026, no public holidays, and three years of service. There are 31 calendar days, 8 of them Fridays and Saturdays, leaving 23 working days. Leave due is 21 days because service has not reached five years. Switch the country to the UAE with the same service and the leave becomes 30 days, with a different pair of weekend days.
The working-day count is what you use to work out a daily rate when pay follows working days, and to schedule projects whose deadlines run in working days. The leave figure is the full annual entitlement, not the balance after what the employee has already taken, so subtract any leave used in the same year. If the company policy or the contract grants more than the law, the more favourable term applies to the employee.
The most common slip is forgetting public holidays, which change every year because the two Eids follow the Hijri calendar; enter the dates announced by the authorities for your year. Another is assuming every employer has the same weekend. Some UAE companies work half of Friday, and some Saudi factories close for a single day. The tool does not price the leave or calculate cash in lieu at the end of a contract; those questions have their own provisions.