Mouse Jitter Test

Draw a straight line and see how far the pointer wobbles from it. A slow line shows sensor noise; a fast flick checks the sensor keeps tracking at speed.

Test

Slow line checks sensor noise. Hold the left button and draw one slow, steady, straight line across the box, taking about two seconds, then let go.

Choose a test, press Start test, then draw your line in the box.

Average deviation (px)
—
Largest deviation (px)
—
Points beyond 2 px
—
Points sampled
—

Your hand adds to the deviation, so no line is perfect. Compare runs on the same surface and at the same speed; a clear change between surfaces or mice is what matters.

How to use the jitter test

There are two tests. Pick one with Slow line or Fast flick above the box; the instructions under the buttons change to match.

  1. Press Start test. (Pressing in the box also starts a new line, so after the first run you can draw again.)
  2. Slow line (sensor noise): hold the left button and draw one slow, steady, straight line across the box, taking about two seconds. Let go at the far side.
  3. Fast flick (spin-out): hold the left button and flick quickly across the box in one straight line, then let go.
  4. Read Average deviation (px), Largest deviation (px), Points beyond 2 px and Points sampled, and the note under them. Your path is drawn in green and the best-fit line is dashed.
  5. Repeat each test three or four times on the same surface. Reset clears the box.

If the line is too short to measure, the page says so. Draw across most of the box, and keep the mouse on the mat for the whole line: lifting it mid-stroke spoils the reading.

How it works

The tool records every position your browser reports while the left button is down. Browsers usually merge several mouse movements into one update per screen refresh. Some browsers also offer the in-between positions, through a feature called getCoalescedEvents that needs a secure HTTPS page. Where it is available, the tool keeps them, so a fast flick isn't thinned out.

The tool then fits a straight line through all the points by least squares. That is the line that keeps the points as close to it as possible overall. This is fairer than joining the first and last point, where a shaky start would tilt the whole line. Each point's distance at right angles from that line is its deviation. You get the average, the largest, and the share of points more than 2 px away, which are marked in orange on the drawing.

In the fast flick, the tool also looks for the path suddenly jumping backwards by more than 10 px. A hand can't reverse that sharply mid-flick, so a jump suggests the sensor lost tracking for a moment, which is called spin-out. If your flick was slow (under 1 px per millisecond), the page says so, because a slow flick doesn't test tracking at speed. The 2 px, 5 px, 10 px and 1 px per ms figures are this site's own settings.

What a browser can and can't see

A web page sees pointer positions on screen, not the raw counts from the sensor. Those positions have already been through your system's pointer speed and acceleration, and the units of mouse movement differ by browser and system. So the same hand wobble can read larger or smaller depending on your settings:

  • DPI and pointer speed: at a higher DPI or pointer speed, the same tiny hand movement moves the pointer more pixels. The deviation goes up as a result.
  • Acceleration: Windows' Enhance pointer precision and the Mac's Pointer acceleration change how far the pointer goes depending on how fast you move.
  • Polling rate: it sets how many points there are to measure. At 1000Hz the mouse reports every 1 ms; an older low-speed USB mouse reports every 8 ms (125Hz). Fewer points means a rougher picture of a fast flick.

That is why the results are best used to compare runs on the same computer with the same settings.

What your result means

This site uses its own bands for the average deviation. Under 2 px is smooth, 2 to 5 px is a slight wobble, and over 5 px is worth looking into. The bands are not an industry standard.

  • Average deviation: the fairest single number. Your hand always adds some, so no line reads zero.
  • Largest deviation: the single worst point. It is often at the start or end of the line, where your hand speeds up or slows down. A large figure with a low average usually means one wobble, not a noisy sensor.
  • Points beyond 2 px: the share of points outside our smooth band. Wobble spread along the whole line, rather than at one spot, points more towards the sensor or surface.
  • Points sampled: how many positions the browser reported. A low number on a fast flick means fewer readings to judge from.

The useful comparison is between runs: same speed, same surface, same settings. If one mat, one mouse or one USB port reads clearly worse across several runs, that is the real finding. Your latest slow-line or flick result also feeds the tracking score in the Performance Report.

If your result looks wrong

  1. Clean the sensor window under the mouse with a dry cotton bud. Hair and dust over the sensor are a common cause of shaky tracking. Our guide How to clean your gaming mouse covers the sensor and the feet.
  2. Change the surface. Try a plain cloth mat instead of glass, a glossy desk or a patterned surface, then test again.
  3. Check the feet. Worn or chipped feet can tilt the mouse and change the sensor's distance from the mat.
  4. Try another USB port, and on a wireless mouse a charge and the receiver closer.
  5. Make the settings consistent. On Windows, open Start > Settings > Bluetooth & devices > Mouse and note whether Enhance pointer precision is on. On a Mac, open Mouse settings, click Advanced and check Pointer acceleration. Keep the same settings when you compare runs, or use the mouse acceleration test to see what they do.
  6. Change one thing at a time so you can tell which change helped.

Jitter or spin-out?

Jitter is small, fast wobble around the path you meant, often visible when you hold the mouse nearly still or move it slowly. That is what the slow line measures. Spin-out is the sensor losing track at speed, so the pointer jumps, stops or flies off. That is what the fast flick checks. Makers rate sensors for speed. Razer, for example, lists the DeathAdder V3 Pro's sensor at a maximum speed of 750 IPS (inches per second) and 70G acceleration. If jumps keep appearing at speeds you use in games, check the surface and sensor first, then the mouse. Read more in What is mouse jitter and does it affect your aim?, and check your mouse's report rate with the polling rate test.

Questions and answers

What is mouse jitter?
Small, quick wobbles in the pointer's path that you didn't make with your hand. Dirt on the sensor, a poor surface or a weak sensor can all cause it. The slow line test shows it as deviation from a straight line.
Why are there two tests?
They check different things. A slow, steady line shows small wobbles the sensor adds (noise). A fast flick checks that the sensor keeps tracking at speed instead of jumping (spin-out).
Why isn't my slow line a perfect zero?
Your hand moves too. Even a careful line has some wobble, so compare several runs on the same surface rather than reading one number as the mouse's true noise.
What do 2 px and 5 px mean?
They are this site's own bands. Under 2 px average is smooth, 2 to 5 px is a slight wobble, and over 5 px is worth checking. They are not an industry standard.
Does DPI affect the jitter result?
Yes. At a higher DPI or pointer speed, the same small hand movement moves the pointer more pixels, so the deviation reads higher. Compare runs at the same DPI and settings.
What should I try if the result is high?
Clean the sensor window, try a plain cloth mat instead of a glossy or glass surface, try another USB port, and test again. Change one thing at a time so you can see which one helped.
Can a mouse mat cause jitter?
Yes. Glass, glossy and busy patterned surfaces can be hard for some sensors to read. Testing the same mouse on two surfaces is one of the quickest ways to find the cause.
Does it work on a phone or touchpad?
It needs a mouse. A finger on a touch screen has no mouse sensor to measure, so the tool says so instead of giving a result. A touchpad will draw, but the result describes the touchpad, not a mouse.

Add this result to your Performance Report →