Skip to content
Rise Mission

Free tool · No sign-up

Online alarm clock you stop with math

Set an alarm in your browser for a time or a countdown. When it rings, it keeps going until you solve three quick sums, so you can't switch it off half-asleep.

By · Updated · Sources cited below

Sound

Like 27 + 15 or 44 − 9

Desktop notificationNot available in this browser

Keep this tab open and your computer awake. A browser alarm can't ring if the laptop sleeps or the browser is closed. For a phone alarm that rings on Silent, use an app.

This online alarm clock rings in your browser and stops only after you solve three arithmetic problems. Pick a time or a countdown, choose a tone and press Set alarm. It keeps time in background tabs, but keep the tab open and your computer awake: a browser alarm can't ring on a sleeping laptop or a closed tab.

How to use the online alarm clock

  1. Pick a time. Type it into the big time field, or tap a preset: In 5, 10 or 20 min for a countdown from right now, or 6:00, 6:30 and 7:00 for the next time that clock time comes round. If the time has already passed today, the alarm is set for tomorrow.
  2. Add a label if you like (“Leave for the train”). It shows on the ringing screen and in the tab title.
  3. Choose a sound and press Test sound. All three tones are generated in your browser with the Web Audio API, so nothing is downloaded. Testing first also tells you whether your volume is loud enough.
  4. Leave the math challenge on (easy or medium) or switch it off for a plain Stop button.
  5. Press Set alarm. You'll see a live countdown. The alarm is saved in this browser, so a refresh won't lose it.

Two optional extras sit under the settings. Desktop notification asks for permission only when you press its button, then pops up a notification when the alarm fires, which helps if the tab is buried behind other windows. Keep screen awake uses the Screen Wake Lock API to stop the screen dimming while the tab is visible. Neither is needed for the alarm itself.

Will it ring in a background tab?

Mostly, yes, with one hard limit: the computer has to be awake. Browsers deliberately slow down timers in tabs you aren't looking at to save battery. In Chrome, a page hidden for more than five minutes may have its chained timers checked only once a minute, and Firefox for Android can delay background timers by 15 minutes or unload the tab entirely (MDN). A web alarm built on one long timer can therefore fire late or not at all.

This one is built to cope. It never relies on a single long timer: it compares the real clock with your alarm time every second, and again whenever you switch back to the tab. On top of that, the moment you press Set alarm it queues the first minute and a half of the alarm tone on the browser's audio clock, which keeps exact time even while the page's timers are slowed. Here's what to expect:

SituationRings?Why
Tab open and visibleYes, on timeThe page checks the clock every second.
Another tab or window in frontYesThe tone is queued on the audio clock in advance, which keeps time even when background timers slow down.
Browser minimisedUsually yesSame as a background tab, as long as the computer stays awake.
Screen locked, computer awakeDependsSome systems pause audio or the browser when locked. Test it once on your setup.
Laptop asleep or lid closedNoNothing in the browser runs while the computer sleeps.
Tab or browser closedNoRe-open the page and it tells you the alarm was missed.
Phone browser, screen offUnreliableMobile browsers pause or unload background tabs. Use an alarm app.

Sound needs one click first. Browsers block audio that a page tries to start before you've interacted with it (MDN), so the alarm unlocks audio when you press Set alarm. If you reload the page with an alarm pending, tap anywhere once to re-enable the sound. Likewise, notification permission is only requested when you click its button, which Firefox and Safari require anyway (MDN).

Why stop the alarm with math?

The first minutes after waking come with sleep inertia, a state of lowered alertness in which performance is temporarily worse than normal (Tassi & Muzet, 2000). That's when people tap “stop” without really waking up and drift off again. A short arithmetic problem means the alarm can't be silenced on autopilot. You have to read, think and type, and by the third answer you're usually sitting up with your eyes open.

The math doesn't cure grogginess and isn't meant to be hard. Easy mode asks things like 27 + 15; medium adds bigger sums and times tables such as 7 × 8. A wrong answer swaps in a new problem instead of letting you retry the same one. For a deeper look at how mental and physical challenges compare, read how a math alarm clock works and wake-up challenges explained.

Which alarm sound should you pick?

There are three tones: a soft Chime arpeggio, a Classic beep and a Rising sweep. Evidence on alarm sounds is thin. One survey of 50 people found that sounds they rated as melodic were linked with less self-reported grogginess after waking, while melodically neutral sounds were linked with more (McFarlane et al., 2020). That's self-report from a small sample, so treat it as a reason to try the Chime, not as proof. The beep is the one to use if you're worried about sleeping through it.

Getting the most out of a browser alarm

Browser alarm or phone alarm app?

A browser alarm is great at a desk: a nap at lunch, a reminder to leave, a timer for a study block. It's the wrong tool for tomorrow morning, because your laptop will probably be asleep and a mobile browser can't ring with the screen off. For that you want an alarm that the phone itself guarantees. If you want the same “prove you're awake” idea there, Rise Mission is our iPhone alarm: Built on Apple's AlarmKit, so alarms ring on the Lock Screen, in Silent mode and during Focus, even when the app is closed. Besides math it offers 10 challenges in total, including push-ups counted by the camera and a QR code you scan in another room.

Sources

  1. MDN Web Docs. setTimeout(): reasons for delays longer than specified (inactive tabs)
  2. MDN Web Docs. Autoplay guide for media and Web Audio APIs
  3. MDN Web Docs. Using the Notifications API
  4. MDN Web Docs. Screen Wake Lock API
  5. Tassi P., Muzet A. Sleep inertia. Sleep Medicine Reviews, 2000
  6. McFarlane S.J. et al. Alarm tones, music and their elements: analysis of reported waking sounds to counteract sleep inertia. PLOS ONE, 2020

FAQ

Questions, answered

Does the online alarm clock work if I close the tab?

No. The alarm lives in the open tab, so closing the tab or the browser stops it. The time you set is saved in your browser, and if you come back after it passed, the page tells you it couldn't ring.

Will a browser alarm ring if my laptop goes to sleep?

No. A sleeping or powered-off computer doesn't run web pages, so no browser alarm can ring. Plug the laptop in, keep the lid open and turn on Keep screen awake, or use a phone alarm for anything important.

Why do I have to click before the alarm can make sound?

Browsers block web audio until you interact with the page, so tabs can't start blaring on their own. Clicking Set alarm or Test sound gives the page permission to play the alarm later.

How does the math challenge stop the alarm?

You answer 3 arithmetic problems correctly, then the sound stops. The problems appear on screen when the alarm rings. A wrong answer swaps in a new problem, so you can't guess your way out. Turn the challenge off for a plain Stop button.

Need an alarm that rings on Silent?

Rise Mission is the iPhone version of this idea: it makes you prove you're awake with push-ups, a walk, a QR scan or math, and it rings on Silent. iPhone, iOS 26 or later.

Rise MissionProve you're awake

Get the app