Days Until Calculator
Pick a target date (and optional “from” date) to see days remaining, whole weeks, business days, and a rough months estimate. Past dates show how many days ago.
Calculate
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.
Worked example
- From 23 October 2026 to 25 December 2026
- Civil-day gap = 63 days
- 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
- ISO 8601 Calendar date representation.
- Time FAQs (leap years) Gregorian leap rules.