Mouse DPI analyzer

Set a distance, press Start, then hold the left button and move your mouse exactly that far against a ruler. The test divides the counts by the distance to give your real DPI.

Set a distance, put a ruler next to your mouse, then press Start measuring.

Your mouse's DPI
n/a
Counts moved
0
Measured from
n/a

Runs only in your browser. Nothing is stored or sent anywhere.

How to use the DPI analyzer

  1. Put a ruler on your desk and set the distance (10 cm works well).
  2. Press Start measuring.
  3. Hold the left button, move the mouse straight to the right for exactly that distance, then let go.
  4. Repeat two or three times and take the middle result.

How this test works

  • The test locks the pointer and adds up movementX, the distance the mouse reports. MDN: movementX
  • In Chrome and Edge it asks for unadjusted movement, which skips mouse acceleration and gives raw sensor counts. MDN: requestPointerLock
  • In other browsers acceleration may change the count. Turn off Enhance pointer precision on Windows, or set tracking to a fixed value on macOS, for a fair reading.