Measure over a known distance
Place a physical ruler along your mouse pad and mark a straight horizontal start and end point—10 cm or 20 cm works well if you have space to keep the mouse flat without lifting. Choose a quick distance preset (5, 10, 15, or 20 cm) or type any exact length from 1 to 100 cm.
Click Start measurement and grant Pointer Lock when prompted. Wait for the status bar to show Recording, slide the mouse smoothly in one straight horizontal line between your two marks without lifting or backtracking, then press Enter. Press Escape at any time to cancel a run without recording an estimate.
To check repeatability, run three to five identical passes without changing mouse DPI steps, pad surface, or ruler distance. The tool logs each pass and reports the min–max DPI range and spread percentage across recent runs. A tight spread shows that your hand sweeps and browser reporting were consistent; it does not replace a manufacturer calibration readout.
How to check your mouse DPI
Most gaming and productivity mice store DPI stages inside onboard memory or companion software. Open your manufacturer utility to read the exact active stage and polling rate. If your mouse uses a physical DPI button under or behind the scroll wheel without software, check the manual for its preset color codes or step table.
A browser measurement answers a narrower question: how many horizontal counts the browser reports per inch (2.54 cm) of physical travel:
- Formula used:
Estimated DPI = round(|horizontal counts| × 2.54 / distance in cm) - Straightness validation: Passes with fewer than
10horizontal counts, excessive vertical drift (> 20%), or back-and-forth reversals (> 120%total travel) are rejected automatically so crooked sweeps do not pollute your run list. - No pixel fallback: If
requestPointerLock({ unadjustedMovement: true })is unsupported, denied, or blocked inside an embedded preview frame, the bench stops cleanly instead of estimating from screen pixels.
If your browser cannot start a run
Make sure you are using a physical desktop mouse in a modern browser tab that supports unadjusted Pointer Lock (standard browser tabs on Windows, macOS, or Linux work best; sandboxed preview iframes or mobile browsers often block Pointer Lock). If you just want to verify basic clicks or check for unwanted double clicks, return to the Mouse Button Test or open the Mouse Double Click Test.