Mouse latency and tracking: what you can test online
Many sites promise a mouse latency or input lag test in the browser. A web page can measure some useful things, such as how often your mouse reports and how steady those reports are, but it cannot measure the full delay between moving your hand and seeing the result on screen. This guide explains the difference and how to test the parts that a browser can see.
What mouse latency is made of
The delay between moving or clicking the mouse and seeing the result on screen is a chain of steps, each adding time:
- The sensor and switch detect the movement or click, and the firmware processes it (including debounce for clicks).
- The mouse waits for its next report. At 1000 Hz a report goes out every 1 ms; at 125 Hz, every 8 ms.
- The connection carries it: cable, wireless receiver or Bluetooth.
- The operating system processes the input and hands it to the active program.
- The program or game uses it in its next frame.
- The display shows that frame, which depends on refresh rate and panel response.
Input lag that you feel is the sum of all of these. The mouse is often only a small part of it.
Why a browser cannot measure the full delay
A web page only sees an input after it has passed through the mouse, the connection and the operating system. The timestamp on a browser event marks when the browser received it, not when your hand moved. The page also cannot see when the light on your screen actually changes.
Measuring end-to-end latency needs something outside the computer that sees both your action and the screen, such as a high-speed camera filming the mouse and the display together, or dedicated measurement hardware. Any website that shows a precise mouse latency in milliseconds from browser events alone is measuring something else, usually event timing or your reaction time.
What a browser can do is measure how inputs arrive: how many per second, how evenly spaced, and how pointer movement relates to physical movement.
Polling rate: the part you can check
The polling rate is how often the mouse sends reports. It sets a floor on one link in the chain: at 125 Hz, a movement may wait up to 8 ms for the next report; at 1000 Hz, up to 1 ms. Higher rates beyond that bring smaller gains and use more processing.
The mouse polling rate test counts movement events per second while you move the mouse quickly in circles. A steady value close to 125, 250, 500 or 1000 Hz tells you the setting in your mouse software has taken effect. Browsers may combine or delay events, so very high rates are often under-reported, and slow movement always gives low values because a mouse only reports when it moves.
Cursor jitter and tracking problems
Jitter is the pointer shaking or drifting when you move slowly or hold still. Common causes:
- Surface: glass, glossy or patterned surfaces confuse many optical sensors. Try a plain mouse pad.
- Dirty sensor: a hair or dust over the sensor window on the underside. Clean it gently with a dry cotton swab.
- Very high DPI: small hand tremors become visible pointer movement. Try a lower DPI step.
- Wireless interference or weak battery: move the receiver closer and change the battery.
- Lift-off: the pointer moves when you lift or reposition the mouse. Some mouse software lets you adjust the lift-off distance.
Watch the pointer while moving very slowly in a straight line. If jitter remains on a good surface with a clean sensor and a fresh battery, and it follows the mouse to another computer, the sensor may be faulty.
Pointer acceleration
Many operating systems speed up the pointer when you move faster, so the same hand distance gives a different pointer distance depending on speed. That is pointer acceleration, and it is often on by default. On Windows the setting is called Enhance pointer precision.
To see its effect, use the mouse DPI test: move the mouse the same distance slowly and then quickly. If the page reports raw input as unavailable, a large difference between slow and fast runs shows acceleration is active. With raw input on, the results should be close to each other regardless of speed. Some players prefer acceleration off for consistent aim; it is a preference, not a fault.
Practical checklist for lower input lag
- Set a polling rate your system handles smoothly, often 500 or 1000 Hz, and confirm it with the polling rate test.
- Use a cable or a receiver close to the mouse.
- Keep mouse software features you do not need, such as macros and smoothing, switched off.
- The game and the display often add more delay than the mouse: frame rate, synchronisation settings and display mode matter. Check the refresh rate with the monitor refresh rate test.
Questions
Can a website measure mouse input lag?
Not end to end. A browser only sees input after it has passed through the mouse, connection and operating system, and it cannot see when the screen changes. It can measure polling rate and event timing, which are parts of the picture.
Does a higher polling rate reduce input lag?
It reduces one part of it: the wait for the next report. Going from 125 Hz to 1000 Hz cuts that wait from up to 8 ms to up to 1 ms. Gains above that are smaller.
Why is my mouse cursor jittering?
Usually the surface, a dirty sensor window, a very high DPI, a weak battery or wireless interference. If jitter remains after checking these and follows the mouse to another computer, the sensor may be faulty.
How do I test mouse acceleration?
Move the mouse the same physical distance slowly and quickly in the DPI test. With acceleration active and raw input unavailable, the fast run gives clearly higher counts.
Related tests
- Polling rate testEstimates how many movement events per second your mouse delivers to the browser.
- DPI testMove the mouse a measured distance along a ruler to estimate its DPI (counts per inch).
- Mouse testCheck left, right, middle and side buttons and every scroll-wheel step.
- Double click testFind a mouse that double-clicks on its own: every press timed, suspicious repeats flagged.
- Drag testHold the left button for 10 seconds while moving; every release is logged with its cause.
- Scroll wheel testCheck if your mouse wheel jumps or scrolls the wrong way.
- Touchpad testChecklist of touchpad clicks, scrolling, dragging and pinch, ticked as the browser receives each one.
- CPS testClick speed test: how many clicks per second can you do in 1 to 60 seconds?
- Drag click testDrag click across the button and see clicks, CPS and how many clicks each drag produced.
- Butterfly click testAlternate two fingers on one button and measure your clicks per second.
- Jitter click testMeasure jitter clicking speed in short or long runs, with your best score kept on your device.