How to use the reaction time test
- Click or tap the box, or press Space while it's selected, to start.
- The box turns red. Wait, and don't press yet.
- When it turns green, press as fast as you can. Your time appears in milliseconds.
- Press again to start the next attempt. After 5 attempts you see your average and best.
If you press while the box is still red, you get "Too soon!" and that attempt isn't counted.
How the test works
After you start, the test waits a random time between 1.5 and 5 seconds, picked with your browser's cryptographic random number generator. Then it turns the box green and notes the exact moment of the animation frame that draws the green, using requestAnimationFrame and the high-resolution timer performance.now().
Your press is timed when the button goes down, not when you let go, so holding the button doesn't slow you down. Your reaction time is the press time minus the green time. The average is the mean of your 5 attempts and the best is the lowest. Nothing leaves your browser.
The box changes color instantly, with no fade, so a slow transition can't add to your time.
What adds to your measured time
Every online reaction test measures your reaction plus your setup's delay. Here's where that extra time comes from:
- Monitor: green only reaches your eyes after the monitor shows the new frame. It sends a new image once per refresh, and the pixels then take time to change. Find your refresh rate with the FPS & Refresh Rate Test.
- Mouse or keyboard: your mouse reports to the computer at its polling rate. A 125 Hz mouse reports every 8 ms, a 1000 Hz mouse every 1 ms. Check yours with the Mouse Polling Rate Test.
- Computer and browser: the operating system and browser need a moment to pass your press to the page. Busy tabs can add more.
Since these delays differ between setups, only compare results taken on the same device, screen and mouse.
How much your setup can add
The green can wait up to one frame before the screen shows it, and your click can wait up to one report before the mouse sends it. Adding the two gives the worst-case waiting time for a setup:
| Screen | 125 Hz mouse | 1,000 Hz mouse |
|---|---|---|
| 60 Hz | up to 24.7 ms | up to 17.7 ms |
| 144 Hz | up to 14.9 ms | up to 7.9 ms |
| 240 Hz | up to 12.2 ms | up to 5.2 ms |
Going from the slowest setup in the table to the fastest cuts up to19.5 ms of waiting. On average the wait is roughly half the maximum. Pixel response, the computer and the browser add more on top, and the test can't measure those.
Simple reaction time vs other kinds
| Kind of test | Signal | Response | On this page? |
|---|---|---|---|
| Simple visual | One color change | One press | Yes |
| Choice | One of several signals | A different press for each signal | No |
| Sound | A beep | One press | No |
In a simple test you know what's coming and only have to react when it does. A choice test also makes you decide which response to give, which takes longer. Compare your results with other simple, visual tests only.
Why the wait is random
If the box always turned green after the same delay, you could count and press on rhythm. The wait is picked at random between 1.5 and 5 seconds for every attempt, so the only way to get a fast time is to react to the green.
How to get a consistent result
- Use the same input every time. A click, a tap and a key press travel different paths, so they give different times.
- Rest your finger on the button or key before the box turns green, without pressing.
- Close busy tabs and programs, so the browser isn't waiting on other work.
- Run several sets of 5 and compare the averages. One set can swing because of a single slow or lucky attempt.
Your average is the fairer number to track. The best time can come from a press you started a moment before green, which is a good guess rather than a reaction.
Refresh rate and polling rate: time between updates
The time between updates is 1000 ÷ the rate in hertz. It shows how often your screen and mouse can pass along something new.
| Mouse polling rate | Time between reports |
|---|---|
| 125 Hz | 8 ms |
| 250 Hz | 4 ms |
| 500 Hz | 2 ms |
| 1,000 Hz | 1 ms |
| 8,000 Hz | 0.125 ms |
Want to test your speed in a different way? Try the CPS Test for clicking speed or the APM Test for clicks and key presses together.