01 / Ruler
You mark the distance
Lay a ruler beside the mouse. Start at 0 and slide to the 1 inch or 10 cm mark in a straight line.
Free tool
Lay a ruler next to your mouse, click the pad, slide the mouse to the 1 inch or 10 cm mark and click again. The page counts the raw movement and divides it by the distance to give your DPI. Do a few runs to see the median and the spread. A browser cannot read the DPI setting, so this measures it. It needs a mouse or a trackpad.
Leave this at 1. If a run on a mouse with a known DPI is always off by the same factor, such as 2, type that factor here.
Your runs
The movement is counted in this page. Nothing is sent anywhere.
How it measures
01 / Ruler
Lay a ruler beside the mouse. Start at 0 and slide to the 1 inch or 10 cm mark in a straight line.
02 / Counts
The pointer is locked while you measure, so the page reads the mouse movement itself and not where the cursor lands.
03 / DPI
DPI means counts per inch. Counts over the distance in inches gives your DPI. Do three runs and use the middle one.
Guide
A mouse DPI test measures how many counts your mouse reports for every inch you move it. DPI stands for dots per inch, and for a mouse it is the sensor's resolution: at 800 DPI, sliding the mouse one inch sends 800 counts to the computer. This page measures it by asking you to slide the mouse a known distance on a ruler while it counts the raw movement. A browser cannot read the DPI setting from the mouse, so measuring is the only way to check it here.
DPI is counts divided by inches. A 10 cm distance is 10 / 2.54 = 3.937 inches, because one inch is exactly 25.4 mm, as the NIST page on units of length states (checked 27 Oct 2026). If the page counts 6,299 over 10 cm, the DPI is 6,299 / 3.937 = 1,600. If you slide 2 inches and the page counts 1,600, the DPI is 800.
| Distance | Counts at 400 DPI | Counts at 800 DPI | Counts at 1600 DPI |
|---|---|---|---|
| 1 inch | 400 | 800 | 1,600 |
| 2 inches | 800 | 1,600 | 3,200 |
| 10 cm (3.937 in) | 1,575 | 3,150 | 6,299 |
The page asks the browser for unadjusted movement, which the Pointer Lock specification describes as movement that is not affected by platform changes (checked 27 Oct 2026). With it, pointer speed and acceleration in your system settings do not change the count, so the result is close to the sensor's own DPI. Not every browser accepts the request. The Raw input card says Yes or No after your first run. When it says No, the count includes your system's pointer speed, and the result will not match the sensor setting.
It needs a mouse or a trackpad and a desktop browser. It cannot change your DPI, and it cannot show the polling rate. It tells you what your mouse does in a browser, which is what matters if you play browser games or use web tools.
To test the buttons of the same mouse, use the mouse click test. To practise with it, try the aim trainer.
Questions
Put a ruler next to the mouse, click the pad, slide the mouse a set distance in a straight line, and click again. The page divides the counts by the inches.
While the pointer is locked the browser sends raw movement and the cursor cannot hit the edge of the screen. That lets the page count a long slide exactly. Click again or press Escape to get your cursor back.
It says whether the browser skipped your system pointer speed and acceleration. Yes means the count is close to the mouse sensor. No means those settings are included.
The longer the slide, the smaller the error from where you start and stop. 4 inches or 10 cm is easier to measure well than 1 inch.
No. DPI is the mouse hardware. A game multiplies it by its own sensitivity setting.
No. A web page cannot talk to the mouse driver. It can only count the movement it receives.
No. It needs a mouse or a trackpad, and a browser that supports pointer lock.
No. Your runs stay in this page and in this browser.