Free tool
Countdown Timer
Set a timer in hours, minutes and seconds, or count down to a date and time. It reads the clock rather than counting ticks, with an optional sound.
Timer
Time left
00:05:00
Ready.
Countdown to a date and time
Time until the target
–
Assumptions and limits
Every figure comes from the numbers you enter. Where a rule of thumb is used, it is labeled as one.
- The timer stores an end moment from your device clock and shows end minus now on each refresh. It does not count ticks, so a delayed refresh cannot make the time drift.
- The display rounds up to whole seconds, so it reaches 00:00:00 exactly when the time is up.
- The alert (message and optional sound) is triggered by a refresh. If your browser slows a page that is not in view, the alert can be late even though the time shown is correct.
- Sound is off by default and plays only after you tick the box and press Start, or press Test sound. The tone is generated in your browser; no audio file is loaded.
- The timer runs in the open page only: closing, reloading or sleeping the device ends it. The longest timer is 99:59:59. The date countdown uses your local time zone.
Runs entirely in your browser. Nothing you type or upload is sent to our servers.
How the countdown works
A common way to build a timer is to subtract 1 from a counter every second. That fails whenever a tick runs late, because the missing ticks are never made up. This timer stores one fixed moment instead, the end time, and recomputes the remaining time from the clock on every refresh. The refresh rate only affects how smoothly the display updates, not whether it is right. The same idea drives the countdown to a date, where the end moment is the date and time you pick.
Worked example 1: a 2 minute 30 second timer and a late refresh
- Set 0 hours, 2 minutes, 30 seconds: 2 × 60 + 30 = 150 seconds, so the end moment is 150,000 milliseconds after you press Start.
- Suppose the display is not refreshed until 60.5 seconds (60,500 ms) after Start.
- Remaining = 150,000 − 60,500 = 89,500 ms = 89.5 seconds. Rounded up to a whole second that is 90 seconds, which shows as 00:01:30.
A counter that only subtracted 1 per tick would show whatever its tick count said, however late the refresh was. Here the answer is the same however many refreshes were skipped.
Worked example 2: pausing, and a countdown to a date
- A timer paused with 7 minutes 30 seconds left holds 7 × 60 + 30 = 450 seconds. When you press Resume, the new end moment is the current clock plus 450 seconds.
- For a date countdown, target 6:00 pm on December 25 and measure at 3:30 pm on December 24. That is 1 day (86,400 s) plus 2 hours 30 minutes (9,000 s) = 95,400 seconds, shown as 1 day 02:30:00.
Choosing a timer length
- For cooking or study blocks, set the time you need and tick the sound option so you are told when it ends.
- For longer waits, use the date countdown instead of a timer, so you can see the days remaining.
- For a pause that must resume, use Pause rather than Reset, which restores the time you entered.
Related tools
To work out how long a task will take before you set the timer, use the Time Calculator. To count the days between two calendar dates, open Days Between Dates, and to count down to a birthday, see the Age Calculator.
Frequently asked questions
How does the timer keep accurate time?
When you press Start, it stores the exact moment the timer should end. On every refresh it subtracts the current clock reading from that moment and shows the difference. The display depends only on the clock, never on how many refreshes have happened, so a late or skipped refresh cannot make the time drift. The next refresh simply shows the correct remaining time.
Will the alert arrive exactly on time if the tab is in the background?
The time shown is always correct, but the alert is triggered by a refresh. If your browser slows down pages that are not in view, the sound and the "time is up" message can arrive a little late. Keep the tab visible, or use the sound option on a device that lets the page run normally, if the exact moment of the alert matters.
Does the timer play a sound by itself?
No. Sound is off by default. It plays only when you tick "Play a sound when time is up" and then press Start, or when you press "Test sound". That click is also what lets the page create its tone generator, so nothing plays without a deliberate action from you, and you can turn it off at any time by clearing the box.
How long can I set the timer for?
From 1 second up to 99 hours, 59 minutes and 59 seconds. Enter whole numbers only, and leave a field blank for 0. If you enter 90 minutes, the tool shows 01:30:00 and runs for 5,400 seconds. For longer periods, use the countdown to a date and time further down the page.
Can I pause the timer and carry on later?
Yes. Pause freezes the remaining time. Resume sets a new end moment equal to the current clock plus the time that was left, so a timer paused with 7 minutes 30 seconds left finishes 450 seconds after you press Resume, however long it was paused. Reset returns the timer to the time you entered.
How does the countdown to a date and time work?
Pick a date and time and the page shows the days, hours, minutes and seconds left until then, in your device's local time zone. Between 1:00 pm December 24 and 6:00 pm December 25 it shows 1 day 05:00:00. When the moment arrives, it shows zero and says the time has passed. A date in the past is reported as already passed.
Does the timer keep running if I close the page or reload it?
No. The timer lives in the open page. Closing the tab, reloading or putting the device to sleep ends it, and nothing is saved. If you need an alarm that survives those, use your phone's or computer's built-in clock app instead.
Is anything I set sent or stored?
No. Times, dates and the sound choice stay in your browser and are not sent to our servers. The page records only that the tool was used, without any of the values you set.
Link to this tool
Found it useful? Copy a link for your page, newsletter or documentation.
Get new tools and guides by email
Optional. The tool above works without signing up.
More free tools
Browse all everyday calculators or the full list of free tools.
- Random Number GeneratorGenerate random integers or decimals between any minimum and maximum, with unique draws and sorting. Uses crypto.getRandomValues with no modulo bias.
- Wheel SpinnerType your own names or options, spin the wheel and get a fair random pick, with an optional remove-the-winner mode and a history of spins.
- Scientific CalculatorCalculate with trig in degrees or radians, logs, roots, powers and factorials, using the correct order of operations, with memory, history and keyboard input.
- Area CalculatorFind the area of 13 shapes, from rectangles and circles to ellipses, regular polygons and rings, in six units, with the formula and working shown.
- Square Footage CalculatorFind the area of a room, L-shape, triangle, circle or trapezoid in square feet, yards and meters, with a waste allowance and a package count.
- Concrete CalculatorEstimate concrete for slabs, footings, columns and steps in cubic yards and meters, with a waste allowance and bag counts from the yield you enter.