Quick answer

Classify the holiday first — fixed, moving or observed-shift — because each type needs a different calculation and only the first can be hard-coded.

Three kinds of holiday date

Fixed-date holidays fall on the same day and month every year: Christmas Day, New Year's Day, and most national days. These are the only ones that can safely be stored as a month-day pair.

Moving holidays follow a rule rather than a date. Easter is set by an ecclesiastical lunisolar calculation and can fall anywhere from 22 March to 25 April. Lunar New Year, Diwali, Eid and Rosh Hashanah follow their own calendars and shift substantially against the Gregorian year. Rule-based Monday holidays — "the last Monday in May", "the fourth Thursday in November" — are also moving, though far easier to compute.

Use this guide with the right tool: Open the Days Until Christmas Calculator for the number of days remaining until the next 25 December. If the question shifts, compare it with the Days Until New Year Calculator or the Countdown to Any Date Calculator.

Festive holiday decorations and lights in a cozy room
Fixed dates, moving dates and observed dates need three different countdown rules.

The observed-date shift

The third category catches people out most. Many jurisdictions move a public holiday to the nearest weekday when it falls on a Saturday or Sunday, so the holiday date and the day off are different dates. The UK calls these substitute days; other systems call them observed holidays.

This matters for any calculation involving business days. If your working-day count uses the nominal date, it will be wrong in years when the shift applies — and it will be wrong in the direction that makes a deadline look safer than it is. Use the observed dates published by the relevant authority, not the nominal ones.

Regional variation inside one country

Public holidays are frequently sub-national. Scotland and Northern Ireland differ from England and Wales; Australian states differ from each other; US states add their own to the federal list; and many countries have regional or religious observances that apply to some employees and not others.

For a distributed team this means there is no single holiday calendar. Either maintain one per location, or agree explicitly which calendar governs shared deadlines. Assuming a shared calendar is how a deadline gets missed by exactly one day in one office.

Building a countdown that survives the year

For a fixed-date holiday, build this year's occurrence and roll forward only if it has passed. That single rule handles the whole year without special cases, including the holiday itself.

For anything moving or observed-shifted, compute it from the rule rather than from memory. Easter follows a lunisolar calculation that can be computed exactly for any year; nth-weekday holidays are simple arithmetic; substitute days follow a stated per-country rule. The calculators on this site work this way, which is why they are correct in years nobody has tabulated yet. Lunar-calendar holidays are the exception — those genuinely need a published table, refreshed as dates are announced.

Worked example

Counting from 16 August 2026, Christmas Day 2026 falls on Friday 25 December — 131 days away. Because it lands on a weekday, no substitute day applies that year. Boxing Day, falling on a Saturday, does attract a substitute weekday in several jurisdictions, so the number of non-working days in that week depends on where you are.

From 16 August 2026, Christmas Day on Friday 25 December is 131 days away and needs no substitute day, while Boxing Day on a Saturday does attract one in several places. Count to your holiday and check its date type.

Christmas week, two years running

Follow the worked example's Christmas forward, because the substitute-day rules it mentions fire in both of the next two years — in different combinations. In 2026, Christmas Day itself, Friday 25 December, needs no substitute, but Boxing Day falls on Saturday 26 December, so in the UK its holiday moves to Monday 28 December. The working week that results is short at both ends of the weekend: Thursday 24 December is the last ordinary working day, and Tuesday 29 December the next one. Four consecutive non-working days — Friday through Monday — come out of one nominal Saturday holiday, and any countdown that counted only to 25 December missed the shape of the break entirely.

In 2027 the pattern doubles. Christmas Day falls on a Saturday and Boxing Day on a Sunday, so both holidays move: Christmas Day's substitute is Monday 27 December 2027 and Boxing Day's is Tuesday 28 December — Tuesday, not Monday, because Monday is already taken by the first substitute. Counted from the same starting point as the worked example, 16 August 2026, the nominal Christmas Day 2027 is 496 days away, the first substitute day is 498 days away and the second is 499. A countdown to 'Christmas' and a countdown to 'the Christmas break' are now three different numbers, and which one a reader wants depends on whether they are buying presents, booking travel or setting a deadline.

The business-day consequence lands the following working week. Take a deadline of three working days after Wednesday 23 December 2026 — a Wednesday, with the UK calendar applied honestly. Thursday 24 December is the first working day. Friday 25 December is the holiday, and Monday 28 December is Boxing Day's substitute, so neither counts. Tuesday 29 December is the second working day and Wednesday 30 December is the third: the deadline is 30 December. Run the same count on nominal dates only, forgetting the substitute, and Monday 28 December wrongly counts as the second working day, pulling the deadline to 29 December — a day earlier, and, as noted above, wrong in the direction that makes the deadline look safer than it is. The substitute day is not a detail of the holiday; for any calculation spanning that week it is the load-bearing fact.

The general procedure these two years illustrate is short. For each holiday in a calculation, ask three questions: what is the nominal date, does it fall on a weekend in the year in question, and if so, where does this jurisdiction's substitute rule put the day off? The answers change every year even when the holiday does not — 25 December is fixed forever, and the non-working pattern around it has three different shapes in 2026 and 2027 alone. A countdown or a business-day count is only ever as good as the year it was built for, which is why both have to be regenerated rather than remembered.

Common mistakes to avoid

  • Hard-coding a moving holiday. Easter and lunar-calendar holidays follow rules, not dates. Source them from a published calendar each year.
  • Using nominal dates for business-day counts. Substitute and observed days are the ones people actually take off. Use those.
  • Assuming one holiday calendar per country. Regional variation is common. Agree which calendar governs before setting a shared deadline.

Use the right calculator

Days Until Christmas Calculator counts to the next 25 December, Days Until New Year Calculator counts to the next 1 January, and Countdown to Any Date Calculator counts to any chosen date.

Days Until Christmas Calculator
Date LabDays Until Christmas Calculatorthe number of days remaining until the next 25 December
Days Until New Year Calculator
Date LabDays Until New Year Calculatorthe number of days remaining until the next 1 January
Countdown to Any Date Calculator
Date LabCountdown to Any Date Calculatordays, weeks and weekdays remaining until any chosen target date
Local calculation only: the target dates you enter for a countdown are worked out in your browser, with no account required and nothing sent to a server.

Frequently asked questions

Why does Easter move so much?

It is defined relative to a lunisolar ecclesiastical calculation rather than a fixed Gregorian date, giving a range of more than a month.

Do substitute days always exist?

No. Practice varies by country and by holiday. Check the rule for the specific jurisdiction.

Can I count holidays as business days?

Only if the relevant rule says so. Most business-day definitions exclude them, but the applicable holiday list is the part that varies.