Countdown

Days until an event

About This Calculator

A countdown calculator shows the number of days, hours, minutes, and seconds remaining until a future event — or how long ago a past event occurred. It is used for anticipating deadlines, events, holidays, product launches, birthdays, and anniversaries.

Formula

Remaining time = Target date/time − Current date/time
Days remaining = floor(total seconds / 86400)
Hours = floor((remaining seconds) / 3600)
Minutes = floor((remaining seconds % 3600) / 60)

Example Calculation

Days until January 1, 2027 from March 16, 2026

  1. March 16, 2026 → January 1, 2027
  2. March 16 to March 31: 15 days
  3. April–December: 275 days
  4. Total: 15 + 275 = 290 days remaining
290 days until January 1, 2027

Time Conversions for Countdowns

UnitSecondsMinutesHoursDays
1 minute6010.01670.000694
1 hour3,6006010.04167
1 day86,4001,440241
1 week604,80010,0801687
1 month (avg)2,629,80043,830730.530.44
1 year31,557,600525,9608,766365.25

Frequently Asked Questions

How does the countdown handle time zones?
Countdowns should be calculated relative to a specific timezone. A New Year's countdown for someone in New York is different from one in Tokyo. This calculator works with local device time by default; specify a target timezone for cross-timezone events.
What is the difference between a countdown and a timer?
A countdown counts down to a specific calendar date/time (e.g., 'days until Christmas'). A timer counts elapsed seconds from a start point (e.g., a cooking timer or stopwatch). Countdowns use calendar arithmetic; timers use simple elapsed time.
Can I calculate how long ago something happened?
Yes — if the target date is in the past, the result is negative (meaning elapsed time rather than remaining time). A 'how long ago' calculation subtracts the event date from today, giving days, months, and years since the event.
Why does the countdown change at midnight?
The day count decrements at midnight in the local timezone because calendar days change at midnight. If you want an exact to-the-second countdown, the hours, minutes, and seconds components handle this precisely.