The time off optimizer analyzes your country's public holidays, your available vacation days, and your weekend schedule to find the most efficient way to spend your paid time off. Instead of picking vacation dates by intuition, the tool calculates every possible combination of days off and ranks them by total consecutive days gained per vacation day spent.
All processing runs locally in your browser. No vacation plans, country selections, or personal data leave your device.
The algorithm scans a 12-month window and identifies every public holiday, weekend, and gap between them. It then applies two core strategies to maximize your time away from work.
Bridge day detection. A bridge day is a working day sandwiched between a holiday and a weekend (or between two holidays). Taking that single day off connects the surrounding days off into one unbroken stretch. For example, if a public holiday falls on a Thursday, taking Friday off gives you a 4-day weekend for 1 vacation day — a 4:1 efficiency ratio. The optimizer finds every bridge day opportunity in your calendar year automatically.
Sandwich day strategy. When two holidays or weekends sit close together with a small gap of working days between them, the tool recommends "sandwiching" those working days with vacation time to create one long break. A Wednesday holiday followed by a weekend means spending 2 vacation days (Thursday and Friday) yields a 5-day break — a 5:2 ratio. The algorithm evaluates every such cluster across the full year and ranks them by efficiency.
The tool offers two distinct modes depending on how you prefer to use your vacation days.
Longest period mode concentrates all your available days into a single stretch. It finds the one window in the year where spending your vacation days produces the longest possible consecutive time off. This suits people planning one extended trip or a long stay abroad.
Optimal periods mode distributes your days across multiple shorter breaks throughout the year. It identifies up to seven non-overlapping vacation periods, sorted by total length, so you get several efficient breaks instead of one. This works well if you prefer regular shorter vacations spread across the calendar.
The optimizer supports public holiday data for over 150 countries and territories, from the United States and Canada to Japan, Brazil, Germany, India, and dozens more. It pulls holiday dates from the open-source date-holidays library, which tracks public holidays, bank holidays, school holidays, observances, and optional holidays for each supported country.
You can filter which holiday types to include in the calculation. Some countries recognize bank holidays that do not apply to all workers, or optional holidays that employers may or may not observe. Filtering lets you match the optimizer to your actual work calendar. The tool also supports configurable weekend days, which matters for countries where the weekend falls on Friday-Saturday rather than Saturday-Sunday.
It calculates the ratio of total consecutive days off to vacation days spent. A period that gives you 9 days off for 4 vacation days (9:4) ranks higher than one giving 5 days for 3 (5:3). In optimal mode, it also removes overlapping periods so each recommendation is independent.
Yes. Open the settings panel to select any combination of days as your weekend. The default is Saturday and Sunday, but you can set Friday-Saturday or any other pattern your work schedule follows.
You can scroll through any month range using the "View From" date picker. The tool loads holiday data for the relevant year automatically, so you can plan for the current year or the next.
Some countries in the holiday database include state-level or regional holiday data. The tool loads the national-level holidays by default. If your region has additional holidays, check whether the country selector offers sub-regions for your location.
No. The tool stores only your country preference and weekend configuration in your browser's local storage for convenience. It does not transmit any data to a server.
You might also find these tools useful: