Calculate

Count down to

Results update as you change them.

Jump to an event

Your countdown

Until —, counting from —.

Your countdown

—

The formula

Normalize both dates to local midnight, then days = round((target − from) / 86,400,000). Positive means upcoming; negative means past; zero means today. Weeks = floor(|days|/7); months ≈ |days|/30.4375. Business days count Monday–Friday only.

Days = (TargetDate − FromDate) in civil days

Worked example

  1. From 23 October 2026 to 25 December 2026
  2. Civil-day gap = 63 days
  3. 63 = 9 weeks + 0 days · ≈ 2.1 months · 45 Mon–Fri business days

Result: 63 days until Dec 25, 2026

How the countdown is counted

This is a one-sided date span — “how long until X?” — rather than an unordered difference between two arbitrary dates.

Default “from” date

If From is empty, we use today in your browser’s local timezone. Both dates are treated as midnights — time of day is ignored.

Past dates

If the target is before the from date, we show “N days ago” with a past-date badge instead of a forward countdown.

Business days

Business days here mean Monday–Friday only. Public holidays are not subtracted — confirm your jurisdiction’s holiday calendar when a deadline depends on bank or court days.

Vs date difference

Date difference always returns a positive span between two dates. Days-until preserves direction (upcoming vs past) and highlights a single target.

Interesting facts

Civil days

We count calendar midnights crossed — weekends and holidays included in the main day count.

Months are approximate

Month length varies; the ≈ months figure uses 30.4375 days (365.25/12).

Leap days count

February 29 between the dates adds one day automatically.

Time zones

Local midnight matters near zone boundaries — agree on a shared calendar date for events.

Business days need a holiday calendar

This tool counts Mon–Fri weekdays only. Banks and courts publish holiday calendars — subtract those separately when your rule requires it.

Frequently asked questions

Set the target to Dec 25 of your year (and leave From as today). The result shows days remaining, weeks, and business days.

You will see “N days ago” with a past-date badge instead of a forward countdown.

Yes — change the “Counting from” date (for example a project kickoff), or tap Today to reset it.

Date difference is an absolute span. Days-until answers “how long until/since this target?” with direction, plus event shortcuts.

Each chip jumps to the next occurrence of a familiar local date (holidays vary by language). “In 30 days” and “In 100 days” set a relative target.

Weekends are included in the calendar-day total. The business-days card counts Monday–Friday only and does not remove public holidays.

Both dates are treated as local midnights in your browser’s time zone, with no time-of-day component.

References

  1. ISO 8601 — ISO Calendar date representation.
  2. Time FAQs (leap years) — NIST Gregorian leap rules.

Informational calendar math only — confirm contractual day-count rules separately.

Last reviewed: 2026-07-22 — Reviewed by: Editorial Team

Embed this calculator

Add this calculator to your website with a free iframe widget.

Theme

The widget stretches to the width of its container and adjusts its height automatically.