Gaming & Input

Input Lag Test: Click-to-Paint Timing

Five rounds of click-on-colour measure the delay from a paint to your click, as far as the browser can see it.

Five-round lag run

Press Start test, wait for the colour change, then click as fast as you can.

Last round
-
Median
-
Best round
-
Slowest round
-
Rounds left
5
Early clicks
0

The number covers the gap between the painted colour change and the click event, as reported by this browser. It excludes the display's scan-out delay and your device's own latency.

Five rounds are averaged so that one slow reaction does not decide the result.

This test runs entirely in your browser. Nothing is uploaded or stored on a server.

What one round measures

Each round hides the signal behind a random delay between one and three seconds. When the delay expires, the page waits for the next animation frame, records a starting timestamp and changes the colour of the stage. The click handler then subtracts that timestamp from the click event time. The difference is the page-measured gap for that round.

Five rounds are collected before any summary appears. The random delay stops a steady rhythm from letting you predict the signal, and the median keeps one unusually slow or fast round from deciding the result.

What the figure includes

The number includes the time from the paint callback to the click event as the browser records them. It therefore covers event dispatch, handler scheduling and any input processing that happens inside the browser. It does not cover the time the display needs to draw the frame, the pixel response of the panel or the debounce inside the mouse switch.

That boundary is why the figure is usually smaller than a person's measured reaction time. The clock starts at the paint step, which is earlier than the moment the eye perceives the change. A person cannot click before seeing the signal, so a page-side gap of forty milliseconds does not mean the full chain from screen to click took forty milliseconds.

Reading the summary

The last round figure is the most recent gap. The median is the middle value of the five. Best and slowest show the range, and a wide range is worth more attention than a good median, because it means the same setup produced very different delays.

An early click counter is shown separately. Early clicks restart their round and are not included in the median. A run with several early clicks has fewer usable rounds, so repeat it with a slower pace rather than chasing a low number.

Keeping the reading clean

Close other tabs that animate, keep the pointer over the stage between rounds and avoid a wireless mouse with a low battery. Run the whole five rounds twice. If the two medians differ by more than a third, the machine is not stable enough for a comparison and the result should not be quoted.

Reaction speed without the input chain is covered on the reaction test. Display cadence is measured on the refresh rate test, and the mouse polling rate check shows how often reports arrive. For clicking speed rather than a single response, the CPS test counts clicks over a fixed window.

Comparing two input devices

The cleanest comparison keeps everything fixed except the device. Open two mice, run five rounds with the first, swap the receiver or the cable, then run five more without reloading the page. Compare the two medians rather than the two best rounds, because a single lucky click can flatter either device.

If the second median is far worse, repeat the swap in the opposite order. A warm hand and a cold hand produce different results, and alternating the order removes that bias from the comparison. Record both spreads as well; a device with a slightly higher median but a much narrower range can feel steadier than one with a good median and frequent long gaps.

How to use this test

  1. Start the run

    Press Start test and place your hand on the mouse without clicking.

  2. Wait for the change

    The stage waits a random moment, then changes colour; clicking before that restarts the round.

  3. Click on the signal

    Click the moment the stage lights up, then read the last round figure.

  4. Complete five rounds

    The run ends after five clicks and reports the median, best and slowest round.

  5. Compare the spread

    A narrow spread between best and worst means the reading is stable enough to compare with another device.

How to read the numbers

Lag readings and how to judge them Checked 2026-11-27 · Test Do It reference values
SignalTypical readingHow to read it
Single round20 to 120 msThe last measured gap between paint and click.
Median25 to 90 msMiddle value of five rounds; the figure to compare between setups.
Best round10 ms or moreFlattered by luck; not a specification.
Slowest round40 to 300 msA large gap against a small median points at an unstable machine.
Early clicks0Each early click restarts its round and is excluded from the median.

Browser support

Browser support for the input lag test Checked 2026-11-27 · Test Do It checks in current browser versions
BrowserSupportNotes
Chrome and EdgeSupportedClick timestamps are compared with paint callbacks.
FirefoxSupportedHigh resolution event timestamps on modern versions.
SafariSupportedTimestamps are rounded on some releases.
Touch devicesSupportedA tap is treated as the click for each round.

How this measurement works

How the input lag figure is produced

A round waits for a random delay, then schedules an animation frame. The page records the timestamp at the start of that frame, changes the colour of the stage and waits for a click. The gap between the click event timestamp and the paint timestamp is the round result.

Five rounds are collected and the median is reported with the best and slowest values. Early clicks are counted separately and their round restarts with a new random delay, so guessing does not improve the result.

The number covers browser event handling and the response of the input device inside the operating system. It excludes display scan-out, pixel response time and the physical travel of the mouse switch.

  • The figure is a page-side estimate, not a full end-to-end latency measurement.
  • A wireless mouse, a busy processor or a low battery can widen the spread between rounds.
  • Results from different browsers are not directly comparable because timestamp behaviour varies.

Tips

  • Keep the pointer still inside the stage between rounds so the click lands in the same place.
  • Run the test twice and compare medians; a single best round is easily flattered by luck.
  • Use the same browser and input device when comparing two machines.

Frequently asked questions

Is this the same as reaction time?

No. The reaction test measures how long a person takes to respond to a signal. This page measures the gap the browser can observe between painting the change and receiving the click, so it mixes human response with input and event timing.

Why is the result lower than my reaction time?

The clock here starts at the paint callback rather than at the moment your eyes see the screen, and a person cannot see a change before it is displayed. The figure is therefore a page-side estimate, not a full chain measurement.

What does an early click do?

It is counted separately and the round restarts with a new random delay. Early clicks are excluded from the median so that a guess does not lower the result.

Can the test measure my monitor?

Only partly. It cannot include scan-out, pixel response or the mouse switch itself, so a monitor review needs dedicated equipment. Use it to compare input paths, not to quote a display specification.