Date & Time Tools

Days Until Calculator

Count the calendar days from today or a chosen start date until a target date, including whether the target has already passed.

Days Until Calculator — Online Calculator

The Days Until Calculator counts the exact calendar days between a start date and a target date: give it a target (a deadline, a launch, a holiday, a due date) and it reports how many days remain, or, for a date already gone, how many days ago it fell. Leave the start blank and it counts from today.

How It Works

Both dates are normalized to midnight UTC before subtraction, which removes time-of-day and daylight-saving shifts from the count entirely: the result is a whole number of calendar days, positive if the target is ahead, zero if it is today, and reported as "days ago" if it has passed.

Days=Target date−Start date86,400,000 ms per day\text{Days}=\frac{\text{Target date}-\text{Start date}}{86{,}400{,}000\ \text{ms per day}}

Parameters

| Input | Required | Meaning | |---|---|---| | Target date | Yes | The date you are counting to (or from) | | Start date | No | Defaults to today in your local timezone |

Worked examples

From 1 September 2026 to 10 September 2026 the answer is 9 days, which startles people who count both endpoints on their fingers and get 10: the calculator measures the gap between the dates, the number of midnights crossed, which is the convention deadlines, ages, and countdowns all use. A longer span: from 23 October 2026 to 25 December 2026 is 63 days (8 remaining in October, 30 in November, 25 in December). Reverse any pair and the same magnitude returns with the direction flipped: 10 September was 9 days after 1 September, and 1 September was 9 days before the 10th, and the calculator words each result accordingly, including the singular "1 day" and the zero case, "Today is the target date!"

The inclusive-count trap, and when to add one

Whether to count the starting day itself depends on what the number will be used for, and confusing the two conventions causes real-world off-by-one errors. Countdowns, deadlines, ages, notice periods measured in "days from" a date, and interest calculations use this calculator's gap convention. Inclusive counts appear in phrases like "a 3-day festival from Friday to Sunday" (both endpoints are festival days: gap of 2, plus 1), hotel and rental bookings quoted in nights (gap convention again, despite the marketing), and some legal and HR contexts where statutes define their own counting rules, including excluding the trigger day but including the last. The calculator gives the gap; when your context counts both endpoints, add one, and say which convention you used wherever the number is repeated, because the next person will assume the other one.

Weekends, holidays, and business days

Every calendar day counts here, including weekends and public holidays: the calculator answers "how many days," not "how many working days." If your deadline is expressed in business days (common in contracts, delivery promises, and processing times), this count overstates the working time available, and the honest conversion is to count the calendar span and subtract the Saturdays, Sundays, and holidays inside it, roughly 5/7 of the span minus holidays for a first estimate, or exactly with a calendar for a real commitment. The companion date tools on this site cover the neighbouring questions: duration between two datetimes with hours and minutes, and weekday-aware planning.

Why the UTC detail matters

Dates look timezone-proof and are not: a date stored as local midnight in one timezone is a different instant in another, and naive subtraction across a daylight-saving change yields 23- or 25-hour "days" that round unpredictably. Normalizing both dates to midnight UTC, as this calculator does, makes every day exactly 86,400,000 milliseconds and the division exact, so a span crossing the March or November clock changes counts the same as any other span. The one local input is "today" when you omit the start date, which the calculator takes from your device's local calendar date, the only sensible definition of today for a countdown.

Limitations

Whole calendar days only: no hours or minutes, no business-day exclusion, no holiday calendars, and dates must be real calendar dates in the YYYY-MM-DD entry the form validates (an impossible date like 31 February is rejected rather than rolled over). For spans, it is exact; for what a span means in a contract, the contract's own definitions govern.

Frequently Asked Questions

Does the count include today?

No: it measures the gap. From today to tomorrow is 1 day, not 2. If you are counting the days of an event that includes both its first and last day, add 1 to the result.

What does a negative result mean?

The calculator reports it as a positive count of days ago with the direction in the message, so a target nine days in the past reads "The target date was 9 days ago." The magnitude is the same gap, just viewed from the other side.

Can I count from a fixed past or future date instead of today?

Yes: enter the optional start date and the count runs between your two dates, which is how you answer questions like "how many days between signing and delivery" without today's date entering into it.

Related Tools