Interval Timer
Run repeating work and rest intervals with a countdown, a round counter and a short local cue at every change.
Interval Timer
Run repeating work and rest intervals with a countdown, a round counter and a short local cue at every change.
What the page does
The plan is built from three numbers: work seconds, rest seconds and rounds. A rest follows every work interval except the last, so a plan never ends on a rest you did not ask for.
The countdown reads the clock on every frame and moves to the next segment when the time is up. The cue is a short oscillator tone made in this tab; a browser that cannot play audio still runs the timer.
The page runs entirely in this browser tab; nothing is uploaded.
Set a work interval, a rest interval and a number of rounds, then press Start. The page counts each segment down, names the phase and the round, and plays a short cue when the phase changes.
The last round ends on the work interval rather than on a trailing rest, and the panel reports how many segments have finished. The plan is arithmetic you can read on the page, not a hidden schedule.
How to use Interval Timer
Enter work seconds, rest seconds and rounds. A rest of zero removes the rest segments entirely rather than inserting zero-length ones.
Press Start. The countdown runs, the phase label switches between work and rest, and the cue marks each change. Press Stop to end the session, or Reset to clear the phase display and set a new plan.
Why the plan is computed before it runs
A timer that decides the next phase when the current one ends can drift: each decision costs a frame, and a long session accumulates them. This page builds the whole segment list first, then walks it, so the length of the session and the order of its phases are known before the first second.
That is also what makes the panel checkable. It prints the phase, the remaining time and how many segments have finished, and those three numbers come from the same list. A plan of eight rounds with thirty seconds of work and fifteen of rest is fifteen segments, not sixteen.
What to Expect
Best for
- HIIT and circuit training
- Pomodoro-style work blocks
- Any repeated work/rest drill
Not ideal for
- A single countdown, which the meditation timer does
- Sessions that need to survive a reload
- Precise laboratory timing
What this tool keeps
- The three numbers you typed and the resulting segment list
What may need cleanup
- Nothing: the plan is the result
Common errors
- A rest of zero removes rest segments rather than adding empty ones
- A round count of zero is refused
Example use cases
- Eight rounds of 30 seconds work and 15 seconds rest
- Twenty rounds of 45 seconds work with no rest
- A single long work interval with one round
Sample input
Work 30, rest 15, rounds 8
Sample output
15 segments, beginning work 30 s, rest 15 s, work 30 s, and ending on work round 8
Who this is for
- People running interval training
- Anyone timing repeated work blocks
Frequently asked questions
Does the timer keep running in a background tab?
The countdown is driven by requestAnimationFrame, which browsers throttle in a background tab. The end times are still read from the clock, so returning to the tab catches up to the correct phase rather than replaying every missed second.
Why is there no rest after the last round?
Because a rest you did not ask for makes the session longer than its plan. The segment list is built with a rest only between rounds, so the final work interval ends the session.
What makes the cue sound?
A short oscillator tone created with the Web Audio API when a phase changes. It is generated in this tab, and if the browser blocks audio the timer still runs without it.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.