Input lag and refresh rates: how your screen and keyboard change test results
When a reaction test tells you 287 milliseconds, only part of that number is you. The rest is the time your screen takes to show the cue and the time your keyboard, mouse or touch screen takes to report your press. This guide follows a single trial from start to finish and shows where the extra milliseconds come from, so you can read your own results sensibly.
At a glance
| Source of delay | Typical size | Same on every trial? |
|---|---|---|
| Waiting for the next screen refresh | 0–17 ms at 60 Hz, 0–4 ms at 240 Hz | No: varies from trial to trial |
| Display processing and pixel response | a few ms (gaming monitor) to 50+ ms (TV outside game mode) | Mostly yes |
| Keyboard or mouse polling | up to 8 ms at 125 Hz, up to 1 ms at 1000 Hz | No: varies slightly |
| Touch screen detection | often tens of milliseconds | Mostly yes |
| Bluetooth input | adds several to tens of milliseconds | Varies |
| Browser and system load | usually small; spikes when busy | No |
Step 1: the browser asks for the cue
A web page cannot put pixels on the screen whenever it likes. It prepares the next picture, and the browser hands it to the operating system, which sends it to the display at the next refresh. Browsers provide a precise clock for this, performance.now(), which measures time in fractions of a millisecond from the moment the page loaded. Good online tests use it, together with the browser’s animation timing, to note when the cue was drawn and when the press arrived. What the clock cannot see is what happens inside the screen and the input device.
Step 2: the screen refreshes
A display redraws the picture a fixed number of times per second. At 60 Hz, that is every 16.7 ms; at 120 Hz every 8.3 ms; at 144 Hz every 6.9 ms; and at 240 Hz every 4.2 ms. If the cue becomes ready just after a refresh, it waits almost a whole frame before it can appear. On average, that wait is half a frame: about 8 ms at 60 Hz and 2 ms at 240 Hz. This is the main reason a faster monitor can lower measured reaction times by a few milliseconds without making the player any quicker.
The refresh doesn’t paint the whole screen at once either. Most displays update from top to bottom over the course of a frame, so a cue near the bottom of the screen appears slightly later than one at the top. Tests that place the cue in the middle of the screen keep this small and consistent.
Step 3: the pixels change
Once the new picture arrives, the panel still has to process it and physically change each pixel. Monitors made for gaming do this in a few milliseconds. Televisions often apply motion smoothing and other picture processing that can add a delay of several frames, which is why most TVs offer a “game mode” that switches it off. Pixel response time also matters: a change from dark grey to bright white completes faster on some panels than others, and OLED screens are generally very fast.
Step 4: you see it and press
This is the part a reaction test is meant to measure: light reaching your eyes, your brain recognising the signal and deciding what to do, and a command travelling to your finger. In laboratory studies with specialised equipment, this takes roughly 200 to 250 ms for a simple visual response in healthy young adults, and longer when you must choose between responses.
Step 5: the device reports the press
- USB keyboards and mice are checked by the computer at a fixed rate, called the polling rate. Standard devices often poll at 125 Hz (every 8 ms); gaming devices poll at 1000 Hz (every 1 ms) or faster. Some keyboards also wait a few milliseconds to make sure a press is real, a step called debouncing.
- Bluetooth devices send reports at intervals agreed with the computer, which usually adds more delay and more variation than a cable.
- Touch screens scan for fingers many times a second and then filter the signal to tell a tap from a swipe or a palm. The whole process often takes tens of milliseconds, which is why the same person usually measures slower on a phone than on a keyboard.
What researchers found about browser timing
Psychologists have tested online experiment software carefully, because so much research now runs in web browsers. Large comparisons, such as the timing mega-study by Bridges and colleagues (2020) and the device study by Anwyl-Irvine and colleagues (2021), found that modern browsers can time responses with good precision, meaning the delay is fairly consistent from trial to trial, but that there is an offset: a constant extra delay that differs between devices, browsers and operating systems. Put simply, a browser is good at telling you whether you got faster than last time on the same setup, and poor at telling you how your time compares with someone else’s.
What this means for your results
- Compare like with like. Results from a phone, a laptop trackpad and a gaming keyboard are different measurements.
- Use a wired keyboard or mouse if you care about small differences between attempts.
- Close other tabs and apps. Background work can delay how quickly the browser handles your press.
- Avoid TVs and projectors, or turn on game mode if you must use one.
- Look at the median, not the best trial. Single fast trials are often lucky timing with the refresh, not real speed.
Does a faster setup give an advantage in games?
In fast games, lower total delay means you see events sooner and your actions land sooner, so competitive players invest in high refresh monitors and fast mice. The benefit is real but measured in milliseconds, and it helps most when two players are otherwise evenly matched. For a reaction challenge, though, the main lesson is the reverse: a better setup changes the number, so keep your setup the same when you track your own progress.
Try it yourself
Reaction Time Test · Sustained Attention Challenge · Multitasking and Dual Task Challenge — free to play. These are challenges for fun and practice, not medical or psychological tests.
Sources
- W3C: High Resolution Time (performance.now) specification
- Garaizar, P., Vadillo, M. A., López-de-Ipiña, D., & Matute, H. (2014). Measuring software timing errors in the presentation of visual stimuli in cognitive neuroscience experiments. PLoS ONE, 9(1).
- Bridges, D., Pitiot, A., MacAskill, M. R., & Peirce, J. W. (2020). The timing mega-study: comparing a range of experiment generators, both lab-based and online. PeerJ, 8.
- Anwyl-Irvine, A., Dalmaijer, E. S., Hodges, N., & Evershed, J. K. (2021). Realistic precision and accuracy of online experiment platforms, web browsers, and devices. Behavior Research Methods, 53.
This guide is general information, not medical advice. Read how we score our challenges and our disclaimer. Spotted a mistake? Tell us.