How to test your scroll wheel
- Move your pointer into the test area. The page stops scrolling while it's there.
- Scroll down slowly, one notch at a time, for 20 notches. Steps down should go up by 20 (more with smooth scrolling, see the FAQ) and reversals should stay at zero.
- Do the same scrolling up.
- Now scroll fast in each direction. A worn wheel often misreads at speed, so watch the reversals count and the step log.
How the test works
Each time the wheel moves, your browser fires a scroll event with a deltaY value: negative for up, positive for down. The test counts each event with a vertical movement as one step, and steps per second is the number of steps in the last second.
A reversal is a single step against the direction you're scrolling, followed straight away by a step back in your direction. For example: down, down, up, down. The test only counts it when at least two steps went one way first and each step came within 300 ms of the one before. That rule ignores normal changes of direction, because when you mean to scroll back, the steps keep going the new way. Reversed steps are highlighted in the step log.
The tool reads the same events a web page uses to scroll, so it can't see a notch that your mouse never sent. If you feel a click but the count doesn't change, the wheel is skipping. Nothing is uploaded.
Scroll event values
| deltaMode | Unit of deltaY | When you'll see it |
|---|---|---|
| 0 | Pixels | Most browsers on most systems |
| 1 | Lines | Some browser and system combinations |
| 2 | Pages | Rare, mostly when scrolling is set to one screen at a time |
The size of one notch depends on your browser, your zoom level and your scroll settings, such as the number of lines per notch in Windows. That's why the test counts events rather than adding up deltaY.
What the results mean
| What you see | Likely cause |
|---|---|
| Reversals while scrolling one way | A worn or dirty wheel encoder |
| Fewer steps than notches you felt | The wheel is skipping notches |
| Many steps with small deltaY for each notch | Smooth or high-resolution scrolling, which is normal |
| Steps in one direction only | A faulty encoder or a wheel setting in the mouse software |
How to read the step log
The log shows your last 10 steps with three values each: the direction, the deltaY and the time since the step before. On a healthy wheel scrolled one way, every row has the same direction and a deltaY with the same sign.
A reversal stands out as one row going the other way, sandwiched between rows going your way, with short gaps on both sides. Here's what one looks like, newest step first (the deltaY values are only an example; yours depend on your browser and settings):
| Direction | deltaY | Gap | What it shows |
|---|---|---|---|
| ↓ Down | 100 | 20 ms | Straight back to your direction |
| ↑ Up | -100 | 18 ms | The reversal, highlighted in the log |
| ↓ Down | 100 | 140 ms | Normal step |
| ↓ Down | 100 | 150 ms | Normal step |
| ↓ Down | 100 | new scroll | First step after a pause over 300 ms |
One reversal in a long fast scroll can be a slip of the finger. Several in a steady pass point to the encoder. Very small gaps on every row mean the system split one notch into several steps, which is smooth scrolling, not a fault.
Scroll speed and the 300 ms rule
A reversal is only counted when every step comes within 300 ms of the one before. The gap between steps is 1000 ÷ your steps per second, so this is how speed affects the automatic count:
| Steps per second | Gap between steps | Reversals counted? |
|---|---|---|
| 2 | 500 ms | No, each step starts a new scroll |
| 3 | 333 ms | No, each step starts a new scroll |
| 4 | 250 ms | Yes |
| 5 | 200 ms | Yes |
| 10 | 100 ms | Yes |
| 20 | 50 ms | Yes |
So in a very slow pass, watch the log for a wrong-way row yourself. Scroll at a steady medium speed, a few notches a second, to let the counter catch reversals for you.
What the test doesn't cover
The test counts vertical scrolling only. Horizontal scrolling and wheel tilt, the sideways push some wheels have, aren't counted, and neither is touch scrolling on a phone or trackpad. It also can't change your scroll settings. Every wheel event with vertical movement counts as one step, whatever its deltaY, so the size of each step doesn't affect the counts.
Free-spin and high-resolution wheels
Some mice have a wheel that can spin freely with no notches, or one that sends many small steps per notch. Counting notches doesn't work for these. Instead, roll the wheel slowly and steadily in one direction and watch for reversals and sudden pauses in the log. Switch back to notched mode, if your mouse has it, for the most reliable test.
How to fix a scroll wheel that skips or jumps
- Check your mouse software first. Smooth scrolling, free-spin modes and per-app wheel settings can all change what the test sees.
- Blow compressed air into the gaps on both sides of the wheel while you roll it. Dust and hair in the encoder can make it misread.
- For a wireless mouse, charge it or swap the batteries, and move the receiver closer. A weak connection can drop events.
- Try a different USB port, browser or computer. If the reversals stop, the problem is software, not the wheel.
- If the wheel still jumps after cleaning, the encoder is worn. Check the warranty before you open the mouse.
Run the test again after each step, using the same slow 20-notch pass, so you can tell which change made the difference.
More mouse tests
- Mouse test: check every button and catch double clicks.
- Mouse polling rate test: measure your mouse's report rate in Hz.
- Mouse DPI test: measure your real DPI.