Time & Date

Countdown Calculator

Enter a target date (and optional time) to see exactly how many days, hours, and minutes remain — or, for a past date, how much time has elapsed since then.

Target date & time

Time remaining
Pick a date to start the countdown.

How the Countdown formula works

The countdown is a direct time subtraction:

Remaining milliseconds = Target datetime − Current datetime
Days = remaining ms / 86,400,000
Hours = remainder / 3,600,000
Minutes = remainder / 60,000

Step-by-step calculation

  1. Subtract the current date and time from the target date and time.
  2. Convert the resulting difference from milliseconds into whole days.
  3. Convert what's left after whole days into whole hours, then whole minutes.

Worked example

If today is July 25 and the target date is December 31 of the same year, the difference is 159 days — which the calculator also breaks down into the equivalent number of hours and minutes for a live countdown feel.

Frequently asked questions

Can I count down to a specific time, not just a date?

Yes — set both the date and time fields for a precise countdown down to the minute, useful for event start times, deadlines, or livestream premieres.

What happens if I pick a date in the past?

The calculator shows how much time has elapsed since that date instead of a countdown, which is useful for tracking anniversaries or milestones that have already passed.