Home · Date & Time · Time & Duration · Countdown Calculator

Countdown Calculator

Count down from one date and time to a target moment, in whole days plus total hours, minutes and seconds remaining.

Your figures

Example result — edit the figures to make it yours

30 days, 0 hours, 0 minutes

Time remaining

Total hours720.00
Total minutes43,200
Total seconds2,592,000

What this calculator does

Count down from one date and time to a target moment, in whole days plus total hours, minutes and seconds remaining. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

Seconds remaining = (target date − from date) × 86,400 + (target time − from time)

Both moments become single second counts — date on the proleptic Gregorian calendar plus time of day — and are subtracted; the target must be after the start.

Dates use the proleptic Gregorian calendar: a year is a leap year when divisible by 4, except century years not divisible by 400.

Worked example

With the example inputs this page opens with, the result is 30 days, 0 hours, 0 minutes — time remaining.

Quick reference

Quick reference — the worked example in full
FigureValue
Time remaining30 days, 0 hours, 0 minutes
Total hours720.00
Total minutes43,200
Total seconds2,592,000

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

Why is the headline in whole days?

The headline counts complete 24-hour days in the gap; the totals in hours, minutes and seconds give the same span at finer grain.

What if the target has already passed?

The countdown would be negative, so the tool asks for a target moment after the from moment instead.

How does the Countdown Calculator work?

Count down from one date and time to a target moment, in whole days plus total hours, minutes and seconds remaining. From date & time · Target date & time → Time remaining. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Countdown Calculator need?

From date & time · Target date & time → Time remaining. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.