Everyday Life

Days Until Calculator

Settings
Reset
Share
Save
Embed
Report a bug

Share calculator

Add our free calculator to your website

Please enter a valid URL. Only HTTPS URLs are supported.


Use as default values for the embed calculator what is currently in input fields of the calculator on the page.


Input border focus color, switchbox checked color, select item hover color etc.


Please agree to the Terms of Use.

Preview

Save calculator

Calculator Settings

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Share calculator

What is a days until calculator?

A days until calculator tells you how much time is left between a start date and a future target date. By default the start date is today, so the most common question it answers is simple: “How many days until this date?” You can also pick any start date to measure the gap between two future or past points in time.

The tool is useful for counting down to a deadline, a birthday, a holiday, a launch, an exam, or the end of a contract. Instead of expressing the result only in days, you can switch the output to weeks, months, years, hours, minutes, seconds, or a detailed breakdown such as “1 year 2 months 5 days”.

How does the calculator work?

You provide two dates:

  • a start date (which defaults to today), and
  • a target date you are counting toward.

The calculator subtracts the start date from the target date and reports the remaining time. Choosing a different unit in the “show result in” selector simply re-expresses the same gap in that unit.

Formula

The remaining number of days is the difference between the two dates:

Days Until=Target DateStart Date\text{Days Until} = \text{Target Date} - \text{Start Date}

To convert the result into other units, divide the day count by the length of that unit:

Weeks Until=Days Until7\text{Weeks Until} = \frac{\text{Days Until}}{7} Hours Until=Days Until×24\text{Hours Until} = \text{Days Until} \times 24

If the target date is earlier than the start date, the gap is negative — the target is already in the past.

Worked examples

Example 1: Days until the end of the month

Start date: January 1, 2025. Target date: January 31, 2025.

Days Until=January 31, 2025January 1, 2025=30 days\text{Days Until} = \text{January 31, 2025} - \text{January 1, 2025} = 30 \text{ days}

There are 30 days until January 31, 2025.

Example 2: Days until next year

Start date: January 1, 2025. Target date: January 1, 2026.

Days Until=January 1, 2026January 1, 2025=365 days\text{Days Until} = \text{January 1, 2026} - \text{January 1, 2025} = 365 \text{ days}

Because 2025 is not a leap year, the gap is 365 days.

Example 3: Weeks until a date two weeks away

Start date: January 1, 2025. Target date: January 15, 2025. That is 14 days, which the calculator can express in weeks:

Weeks Until=147=2 weeks\text{Weeks Until} = \frac{14}{7} = 2 \text{ weeks}

So there are 2 weeks until January 15, 2025.

Example 4: Same start and target date

If the start date and the target date are identical — for instance both January 1, 2025 — the remaining time is 0. There is nothing left to count down.

Practical notes

  • Leaving the start date at today gives a live “days until” countdown to your target date.
  • Leap years are handled automatically, so a span that crosses February 29 counts the extra day.
  • A negative result means the target date has already passed relative to the start date.
  • The detailed format is handy for long countdowns where a single unit (such as 540 days) is harder to picture than “1 year 5 months 24 days”.

Report a bug

This field is required.