Countdown Timer Calculator
A 1 hour 30 minute countdown is 5,400 seconds, which is 90 minutes and shows as 01:30:00. Started at 9:00 AM, it ends at 10:30 AM. Enter an end time instead and the same subtraction runs backwards. A 2 hour countdown would be 7,200 seconds.
| Countdown | |
| Ends at | |
| Total seconds | |
| Total minutes | |
| Written out | |
| Crosses midnight | |
| Whole days included |
Times are read on a 24 hour clock. All calculations run in your browser, and nothing you type is uploaded or stored.
Enter a length such as 1 hour 30 minutes, or enter a start and end time, and see the countdown in seconds, in minutes and as a clock time you can write down.
Key takeaways
- 1 hour 30 minutes equals 5,400 seconds and 90 minutes
- 60 seconds make a minute, 60 minutes make an hour, so 90 minutes shows as 01:30:00
- A 9:00 AM start plus 90 minutes ends at 10:30 AM
- Chrome checks hidden tab timers once per minute after 5 minutes
- Subtract timestamps instead of adding ticks, or a hidden tab drifts up to 60 seconds
On this page
- Two ways to run a countdown: a length or an end time
- Seconds, minutes and hours: how the carry works
- Worked example: 1 hour 30 minutes
- Why a background tab loses time
- Countdowns that cross midnight
- What a countdown cannot do
- Reading the display: hh:mm:ss, mm:ss and days
- Choosing a length that fits the task
Two ways to run a countdown: a length or an end time
A countdown needs one thing: the number of seconds left. There are two ways to get there, and picking the right one saves a subtraction later.
By length. You know the duration, not the clock. A 25 minute focus block, a 12 minute pasta boil, a 45 second plank. Enter hours, minutes and seconds, and the timer runs down from that total. This is the mode to use when the thing you are timing has a fixed length.
By end time. You know when it has to stop, not how long it takes. A meeting that ends at 3:15 PM, a train at 7:42 AM, an oven that has to come out at 6:00. Enter the start time and the end time, and the calculator subtracts one from the other to give the length in between.
Both modes end up in the same place. A 90 minute length and a 9:00 AM to 10:30 AM window are the same 5,400 seconds. The difference is which number you already have in your head, and which one you would have to work out on paper.
The end time mode also handles the case that trips people up: an end time that looks earlier than the start time. If you start at 11:45 PM and end at 12:15 AM, the calculator treats the end as the next day rather than returning a negative number.
Seconds, minutes and hours: how the carry works
Time does not use base ten, which is where most countdown mistakes come from. Seconds roll over at 60, minutes roll over at 60, and hours roll over at 24.
Converting a length into a display is two divisions and two remainders:
- Total seconds divided by 3,600 gives whole hours.
- The remainder divided by 60 gives whole minutes.
- What is left is seconds.
For 5,400 seconds: 5,400 divided by 3,600 is 1 hour with 1,800 seconds left. 1,800 divided by 60 is 30 minutes with 0 seconds left. The display reads 01:30:00.
Going the other way is multiplication and addition: hours times 3,600, plus minutes times 60, plus seconds. A 2 hour 15 minute 30 second countdown is 7,200 plus 900 plus 30, which is 8,130 seconds.
| Rule | Example | Result |
|---|---|---|
| 60 seconds = 1 minute | 90 seconds | 1 minute 30 seconds |
| 60 minutes = 1 hour | 150 minutes | 2 hours 30 minutes |
| 24 hours = 1 day | 30 hours | 1 day 6 hours |
| 1 hour = 3,600 seconds | 1.5 hours | 5,400 seconds |
| 1 minute = 60 seconds | 0.75 minutes | 45 seconds |
The carry is why a 90 minute timer does not read 00:90:00. It reads 01:30:00, and both strings mean the same thing. If you are writing a timer from scratch, keep the total in seconds and format only for display. Storing hours, minutes and seconds separately invites bugs the moment a value passes 59.
Worked example: 1 hour 30 minutes
Set the mode to length, enter 1 hour, 30 minutes and 0 seconds, and a start time of 9:00 AM.
- Total: 1 times 3,600 = 3,600 seconds, plus 30 times 60 = 1,800 seconds, so 5,400 seconds
- In minutes: 5,400 divided by 60 = 90 minutes
- Display: 5,400 divided by 3,600 = 1 hour with 1,800 seconds left, and 1,800 divided by 60 = 30 minutes, so 01:30:00
- End time: 9:00 AM plus 90 minutes = 10:30 AM
Now the same countdown by end time. Start 9:00 AM, end 10:30 AM. The calculator turns both into minutes after midnight: 540 and 630. The difference is 90 minutes, or 5,400 seconds, and the display matches the first run exactly.
Change one input and watch what moves. Set the length to 45 minutes: 45 times 60 is 2,700 seconds, the display reads 00:45:00, and a 9:00 AM start ends at 9:45 AM. Set it to 2 hours 15 minutes: 8,100 seconds, display 02:15:00, end time 11:15 AM. The arithmetic never changes shape, only the inputs do.
A short one is worth doing by hand once. A 45 second interval is 45 seconds, which is 0.75 minutes, and the display reads 00:00:45. Written as 00:45 it would look like 45 minutes, and that mistake shows up in workout apps and quiz timers more often than you would expect.
Why a background tab loses time
A countdown that is perfect in the foreground can be minutes off after you switch tabs, and the cause is not your code being slow. Browsers deliberately slow down timers in tabs you are not looking at, to save battery and CPU.
The MDN documentation for setTimeout lays out the policy Chrome uses. While a page is visible, timers run close to the requested interval. Once the page has been hidden, timers are checked once per second. After 5 minutes hidden, with no sound and no active connection, Chrome moves to intensive throttling, which checks timers once per minute. That behavior shipped in Chrome 88 in January 2021.
Firefox applies a minimum timeout of 1 second to inactive desktop tabs, and 15 minutes on Firefox for Android, where the browser may unload the tab entirely.
| Browser state | How often timers run | Drift after 1 hour |
|---|---|---|
| Chrome, tab visible | Close to the requested interval | Under 1 second |
| Chrome, hidden under 5 minutes | Once per second | Up to 1 second per tick |
| Chrome, hidden over 5 minutes | Once per minute | Up to 60 seconds per tick |
| Firefox desktop, inactive tab | At least 1 second between runs | Up to 1 second per tick |
| Firefox Android, inactive tab | At least 15 minutes, may unload | The timer can stop completely |
If your countdown adds one second on every tick, a throttled tab loses almost all of them. If it stores the target time and subtracts the current time on every tick, a late tick still shows the correct number of seconds left. That is the whole fix, and it is one line of arithmetic.
Countdowns that cross midnight
Clock time is a loop, and a countdown that runs past midnight has to handle the wrap. Start at 11:45 PM with a 30 minute timer and the end is 12:15 AM, not a negative number and not 11:75 PM.
The arithmetic is modular. Turn each clock time into minutes after midnight, add the length, then take the remainder after dividing by 1,440, which is the number of minutes in a day. 11:45 PM is 1,425 minutes after midnight. Add 30 and you get 1,455. Subtract 1,440 and you are at 15 minutes after midnight, or 12:15 AM.
When you enter an end time that is earlier than the start time, the same wrap applies in reverse. A start of 11:45 PM and an end of 12:15 AM is treated as the next day, so the length is 30 minutes rather than minus 1,410 minutes.
| Start | Length | Ends at | Crosses midnight |
|---|---|---|---|
| 11:45 PM | 30 minutes | 12:15 AM | Yes |
| 11:59 PM | 45 seconds | 11:59 PM | No |
| 9:00 AM | 30 hours | 3:00 PM next day | Yes |
| 7:30 AM | 8 hours | 3:30 PM | No |
| 10:00 PM | 6 hours | 4:00 AM | Yes |
For anything longer than a day, stop thinking in clock time. A 30 hour countdown is 1 day and 6 hours, and the useful number is the length, not the end time. That is why the calculator shows a separate days figure once the total passes 86,400 seconds.
What a countdown cannot do
A browser timer is a display, not an alarm. It runs while the page is open, and it stops when the tab closes, the phone locks for long enough, or the operating system decides the browser has had enough memory.
That rules out a few jobs people try to give it. Do not use a browser countdown as a wake up alarm, because a phone that suspends the tab will miss it. Do not use one as the only timer for something that can burn, like a fryer or a candle, because a closed tab ends the countdown silently. Do not rely on one for a hard deadline where a late notification costs money.
What it does well is show you the arithmetic. The length in seconds, the display in hh:mm:ss, and the clock time it ends are all facts you can write on a sticky note or paste into a message. If the browser drops the tab, you still know when the thing was supposed to finish.
For long waits, a calendar reminder is the sturdier tool, because the operating system owns it. A countdown earns its place for the next 90 minutes, not the next 90 days.
Reading the display: hh:mm:ss, mm:ss and days
The same length gets written three ways depending on how long it is, and mixing the formats is a common source of confusion.
- mm:ss for anything under an hour. A 25 minute block is 25:00, and a 45 second interval is 0:45.
- hh:mm:ss once hours appear. 1 hour 30 minutes is 01:30:00, and 2 hours 15 minutes is 02:15:00.
- d h m for multi day waits. 30 hours is 1 day 6 hours, and 100 hours is 4 days 4 hours.
The trap is the leading zero. In 00:45:00 the hours are zero and the minutes are 45, so the timer runs for 45 minutes. In 00:00:45 the hours and minutes are zero and the timer runs for 45 seconds. Those two strings differ by a factor of 60, and both show up in timer apps that were never tested past an hour.
Another trap is rounding. A countdown that displays whole seconds will show 00:00:01 for a full second before it hits zero, which is correct, but a countdown that rounds up can appear to sit on 1 for two seconds. If you need a precise finish, compare timestamps rather than watching the digits.
For everyday use, pick the format that matches the length and stay in it. A 10 minute timer in mm:ss is easy to read at a glance; the same timer in hh:mm:ss makes you look twice.
Choosing a length that fits the task
Most countdowns are one of a handful of standard lengths, and knowing the seconds makes them easier to set without fumbling.
- 45 seconds is 45 seconds, or 0.75 minutes. Interval sets, planks and stretch holds.
- 5 minutes is 300 seconds. Steep tea, take a short break.
- 10 minutes is 600 seconds. A presentation slot, a quick tidy.
- 25 minutes is 1,500 seconds. One focus block.
- 45 minutes is 2,700 seconds. A class period or a workout block.
- 90 minutes is 5,400 seconds. A film act or a long focus session.
- 2 hours is 7,200 seconds. An exam section or a slow cook stage.
The arithmetic behind the list is the same for every row: minutes times 60. A 25 minute block is 1,500 seconds, and four of them plus three 5 minute breaks is 6,900 seconds, or 1 hour 55 minutes. That is the real length of a four block pomodoro cycle, and it is shorter than most people guess.
If you are setting a countdown for a task with a natural end, like boiling pasta or roasting vegetables, use the end time mode and work backwards from when you want to eat. The length is a consequence, not a decision.
Frequently asked questions
How many seconds are in 1 hour 30 minutes?
5,400 seconds. One hour is 3,600 seconds and 30 minutes is 1,800 seconds, and 3,600 plus 1,800 is 5,400. Divide by 60 and you get 90 minutes.
How do I count down to a specific time instead of a length?
Switch the mode to end time, enter the clock time you are counting to and the time you are starting from. A start of 9:00 AM and an end of 10:30 AM gives 90 minutes, or 5,400 seconds.
Why does my countdown show 01:30:00 instead of 90:00?
Because the display carries 60 minutes into one hour. 90 minutes is 1 hour and 30 minutes, so the hours field shows 01 and the minutes field shows 30. Both displays describe the same 5,400 seconds.
How many minutes is 45 seconds?
0.75 minutes. Divide 45 by 60 and you get 0.75, which is why a 45 second interval is written as 00:00:45 and not as 00:45.
Why is my timer slow when I switch tabs?
Browsers throttle timers in hidden tabs. Chrome runs them once per second while the tab is in the background, then once per minute after 5 minutes hidden, a policy it introduced in Chrome 88 in January 2021.
How do I keep a countdown accurate in a background tab?
Do not add one second per tick. Store the target time, then on every tick subtract the current time from it. A timer that runs late still shows the right number when it does run, because the math is based on the clock, not on the number of ticks.
How many seconds are in 8 hours?
28,800 seconds. Eight hours times 3,600 seconds per hour is 28,800, which is also 480 minutes.
What happens if my countdown crosses midnight?
The length stays the same and the end clock wraps to the next day. Starting at 11:45 PM for 30 minutes ends at 12:15 AM, and the countdown still reads 00:30:00.
How long is 10,000 seconds?
2 hours, 46 minutes and 40 seconds. Divide 10,000 by 3,600 and you get 2 hours with 2,800 seconds left, which is 46 minutes and 40 seconds.
Can a countdown timer wake me up?
Not reliably. A phone browser suspends background tabs and a closed tab stops running, so an alarm needs the phone's own clock app. Use a browser timer for a task on screen, not for sleep.
How many minutes is 0.1 hours?
6 minutes. Multiply 0.1 by 60 and you get 6, which is why a tenth of an hour is used for 6 minute billing increments.
Why does 1 minute 30 seconds show as 90 seconds?
Because seconds are the smallest unit in the count. 1 minute is 60 seconds, plus 30 is 90. The display then carries 60 of those seconds into one minute and leaves 30.
How accurate is a browser countdown?
Within a second while the tab is visible, and within a minute once it has been hidden for 5 minutes in Chrome. The clock time it names stays correct even when the screen stops updating.
How many seconds is a 25 minute pomodoro?
1,500 seconds. Twenty five minutes times 60 is 1,500, and four of them plus short breaks fill a 2 hour block.
Does a countdown of 90 minutes equal 1.5 hours?
Yes. 90 divided by 60 is 1.5, so 90 minutes is 1 hour 30 minutes and 5,400 seconds.
Spotted a wrong number or a broken result?
More Date Time tools
- 1 Hour From Now
- 1 Month Notice Period Calculator
- 1/8 Mile Time Calculator
- 10 Hours From Now
- 10 Minutes Ago
- 10 Weeks Ago From Today
- 11 Hours From Now
- 12 Hours From Now
- 120 Days From Today
- 13 Hours From Now
- 14 Days From Today
- 15 Hours From Now
- 16 Hours From Now
- 17 Hours From Now
- 18 Hours From Now
- 180 Days From Today
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.