How the planner works

This page explains what the planner does with your choices, where its holiday dates come from, how we check them, and where its limits are. If you are going to book time off using a date from this site, you should know how far to trust it.

What it does

You choose where you work and how many days of leave you have. The planner looks at the public holidays and weekends for the year and finds the days to book that give you the most time off in long, unbroken breaks. It runs in your browser. Nothing about your plan is sent to us, and it works without an account.

Where the dates come from

Public holiday dates come from python-holidays, an open-source library maintained by volunteers and used widely in software. It is published under the MIT licence. We generate the dates ahead of time and store them with the site, so the planner never depends on an outside service being available.

A library can be wrong or out of date, so we compare each country with its official government list. For 2027, of the 15 countries on the site, 8 matched their official list, 2 needed corrections that we made, 3 publish their rules but no dated list, and 2 had not published a 2027 list when we last looked. Every country page links to its official source and shows the date of the last check, or says plainly that no official list exists yet.

Where the official list and the library disagree, we follow the official list. The corrections are kept in one file together with the source of each one, and the site refuses to build if a correction no longer applies, so a fix cannot quietly go stale.

Estimated dates

Some holidays cannot be known in advance. Eid, and other dates set by moon sighting, are confirmed by governments only days before. Some countries announce substitute days one at a time. These dates are marked "estimated" on the calendar and in the holiday tables, with a dashed outline. Treat them as likely, and book flights you can change.

How the plan is worked out

The planner builds a list of every possible break: every stretch that starts at the beginning of a weekend or holiday, ends at the end of one, and contains at least one public holiday or a day you have marked as already off. For each it counts the working days inside, which is the leave it would cost.

It then picks the combination of breaks that do not overlap and that fits your leave. It does this exactly, by checking every combination with a method called dynamic programming, not by guessing. Even for 60 days of leave this takes a few thousandths of a second.

When it compares two plans, it uses these rules in order:

  • Most days off, counting leave you keep. A day of leave you do not spend is still a day off, so a plan has to earn more than it costs. This stops the planner from spending your whole allowance on one stretch when two efficient breaks are worth more.
  • Fewer, longer breaks. If two plans give the same days off, the one with longer unbroken stretches wins.
  • Less leave. If they are still equal, the one that uses fewer days of leave wins.
  • Earlier in the year. A final tie goes to the plan that starts sooner.

Every break is built around a public holiday or a day you already have off. The planner never recommends an ordinary week with no holiday in it, because you do not need a tool to tell you that five days of leave make a week.

What the total means

The big number counts every day inside the breaks, including weekends and public holidays. For someone in England with 10 days of leave the total is 32 days, and 25 of those are days they would have had off anyway. We show that second number under every total. Claims like "turn 10 days into 30" are true in the same sense, and we would sooner you saw the working.

The three styles

  • Most days off allows breaks of 3 to 21 days and simply finds the best total.
  • Long weekends only uses breaks of 3 to 5 days, for people who prefer many short breaks.
  • Big trips only uses breaks of a week or more.

What it cannot know

  • Your employer's rules. Companies can observe different holidays, close on certain days or refuse leave at busy times. You can mark holidays you work and days already off on the calendar.
  • Your leave year. The planner works on the calendar year. If your leave year starts in another month, a break may span two allowances.
  • School holidays, prices and crowds. It does not know them. We have not found a free source of that data we are allowed to use.
  • Changes after our last check. Governments add and move holidays. The date of the last check is on every country page.

How the pages are written

Every number and date on this site is calculated from the holiday data when the site is built, and the build fails if a page mentions a holiday the data no longer has. The explanatory text is drafted with the help of AI tools, checked against the data, and reviewed by Tahir Nazir, who builds and maintains the site, before it is published.

Found a mistake?

Please tell us through the contact page, with the country, the date and a link to the official source. Corrections go into the data with their source, so they stay fixed.

Try the planner

More guides