Mouse DPI Analyzer
Enter the distance you will move the mouse (measure it with a ruler), optionally your configured DPI, then hold the left button at the left edge of the strip, move exactly that distance, and release.
Press and hold the left button here, then move the mouse the target distance and release
- Lay a ruler on the desk next to the mouse and note a start and end mark the target distance apart.
- Put the cursor on the left edge of the strip, line the mouse up with the start mark, and press and hold the left button.
- Slide the mouse in a straight line to the end mark. Keep the button held the whole way.
- Release the button. Repeat two or three times and compare the results; the spread shows how steady your hand was.
Recent measurements
No measurements yet
For an accurate reading, turn off pointer acceleration (Windows: 'Enhance pointer precision'; macOS: 'Pointer acceleration') and set the OS pointer speed to its default. Acceleration changes how far the cursor moves per count and will skew the result.
Collect all your test results on one sheet: PC Checkup Report
What this tool measures
DPI — dots per inch, more precisely counts per inch — is how many movement steps your mouse sensor reports for every inch it travels across the desk. Our DPI analyzer measures it directly: you drag the mouse a distance you have checked with a ruler, the page adds up the horizontal movement the browser reports during the drag, converts it to device pixels, and divides by the distance in inches.
If you enter the DPI your mouse software is set to, the tool also shows how far the measured value is from it as a percentage. A small difference is normal; a large one usually means operating-system pointer acceleration is still on, the ruler distance was off, or the sensor is not reporting at the DPI the software claims. Results from the last three drags are kept so you can judge consistency.
How the DPI analyzer works
Our DPI analyzer uses the pointer events the browser fires while you drag inside the strip. When you press the left mouse button on the strip, the page captures the pointer so that movement continues to be tracked even if the cursor leaves the strip or the browser window. From then on, each pointer-move event carries a movementX value — the horizontal change since the previous event in CSS pixels — and the tool adds those values up for the duration of the drag. Where the browser supports coalesced events, the finer-grained samples it batched into each frame are summed instead, so fast movement does not lose precision.
CSS pixels are not the same as device pixels. On a display with 150% scaling, or a high-density laptop screen, one CSS pixel spans one and a half or two physical pixels, and the operating system moves the cursor in physical pixels. The tool multiplies each movement by the window's device pixel ratio to recover the number of physical pixels the cursor actually crossed. Without this step a 1600 DPI mouse would read as roughly 800 on a 200% display.
Releasing the button finishes the measurement. The accumulated travel is converted to an absolute value, so dragging right-to-left works just as well, and divided by the target distance converted to inches — one inch is exactly 2.54 centimetres. The result is rounded to a whole number and added to the list of recent measurements. Drags shorter than about twenty device pixels are discarded as accidental clicks rather than recorded as nonsense values.
If you entered the DPI your mouse software is set to, the tool computes the percentage difference between the measured and configured values. A positive number means the sensor reported more counts than expected over the distance, a negative one fewer. The marker inside the strip follows the drag in real time, which gives you an immediate feel for whether the cursor travel matches the physical movement you are making.
How to read your result
The measured DPI is the number of sensor counts per inch of desk travel, as seen through the operating system and browser. For a healthy mouse with acceleration disabled it should sit close to the DPI step you selected in the mouse software — within a few percent. Sensors are not calibrated to a perfect round number; a mouse set to 800 that measures 790 or 815 is behaving normally.
The error percentage is the measured value compared with the configured one. Small, consistent errors are a property of the sensor and the particular surface: some sensors read slightly high on cloth and slightly low on hard pads. A large positive error, especially one that grows when you move faster, is the classic sign of pointer acceleration being enabled in the operating system. A large negative error can come from a drag that was shorter than the ruler distance, from the cursor hitting the screen edge during the drag, or from mouse software that is silently capping the DPI.
Look at the spread of the three stored measurements before trusting any single one. If they agree within a couple of percent, the middle value is a good estimate. If one is wildly different, repeat the drag; a wobble, a lift of the mouse, or a bump of the ruler explains most outliers. If all three are consistently off from the configured value by the same amount, that offset is real and you can use the measured number in sensitivity calculations.
Finally, compare across surfaces if the number matters to you. Measuring on your cloth pad and then on bare desk can reveal that the sensor tracks differently on each, which is useful to know if you switch between setups. The difference is usually small, but for competitive players who tune centimetres-per-360 carefully it is worth checking.
When a DPI analyzer is useful
The most common reason to measure DPI is to feed accurate numbers into a sensitivity calculator. Players converting their aim between games, or matching a new mouse to the feel of an old one, rely on the DPI figure being right. A sensor that actually reports 850 when set to 800 produces a six percent sensitivity mismatch that is hard to notice directly but easy to feel as 'something is off'. Measuring removes the guesswork.
It is also a quick check after changing mouse software or firmware. Driver updates occasionally reset DPI profiles or change which step is active, and some mice have on-board buttons that switch DPI with no visible indication. If your aim suddenly feels different and you cannot explain why, a thirty-second measurement tells you whether the DPI actually changed.
The tool is a practical way to verify that pointer acceleration is really off. Windows and macOS both have acceleration settings that can be re-enabled by updates, gaming overlays, or accessibility features. Measure once slowly and once quickly over the same distance: if the two readings match, acceleration is off; if the fast drag reads noticeably higher, something in the chain is still accelerating the cursor.
Lastly, it helps when evaluating a second-hand or budget mouse. Vendors sometimes advertise DPI steps the sensor cannot actually resolve, interpolating in firmware instead. A measurement that lands far from the advertised figure, or that varies strangely between steps, is worth knowing before you build muscle memory around it.
Limits of a browser-based test
A browser never sees raw sensor counts. It sees cursor movement after the operating system has applied its pointer speed setting, any acceleration curve, and display scaling. The tool corrects for display scaling using the device pixel ratio, but it cannot undo acceleration or a non-default pointer speed, which is why those must be set to their neutral values before measuring. On Windows the pointer speed slider should be at the sixth notch from the left (the default); on macOS the tracking speed slider affects the result in the same way.
The measurement also depends entirely on how accurately you move the mouse. A ruler read to the nearest millimetre over a ten-centimetre drag already carries a one percent uncertainty, and the start and end of the drag — pressing and releasing the button — tend to add a little unintended travel. Longer distances and repeated drags both reduce the impact of these errors. Treat a single reading as an estimate, not a calibration.
Cursor movement is clamped at the screen edges. If the cursor reaches the edge of the display during a drag, the operating system stops moving it and the browser stops receiving movement, so the result will read low. Start the drag with the cursor on the left edge of the strip and make sure there is enough screen to the right for the full travel; with a very high DPI and a long distance you may need to use a shorter distance.
Some browsers, especially on Linux or under remote desktop and virtual machine software, report movementX differently or scale it in ways the tool cannot detect. If the measured value is consistently a clean multiple or fraction of the expected one — exactly half, or exactly double — that is a sign of a platform quirk rather than a sensor issue. Measuring in another browser is a quick way to confirm.
Frequently asked questions
- My measured DPI is far from the value I set. Is the mouse faulty?
- Almost always it is pointer acceleration, not the mouse. Windows 'Enhance pointer precision' and the macOS acceleration curve change how far the cursor travels depending on how fast you move, which makes the pixel count depend on your hand speed. Turn acceleration off, set the OS pointer speed slider to the middle, and measure again. Also double-check the ruler distance and that you moved in a straight horizontal line.
- Why does the tool multiply by device pixel ratio?
- Browsers report cursor movement in CSS pixels, which on a high-DPI display or with 125%–200% scaling are larger than the physical pixels the operating system counts. Multiplying by the device pixel ratio converts back to device pixels so the result is not scaled down by your display settings. If you still see a value roughly equal to your DPI divided by your scaling factor, your browser or OS may be applying scaling differently.
- Why do the three measurements differ?
- A hand sliding a mouse is never perfectly repeatable: a millimetre of over- or undershoot on a 10 cm drag is a one percent difference by itself. A slight diagonal path also drops a little horizontal travel. A spread of a few percent is normal; take the middle value or the average. Using a longer distance, such as 20 cm, reduces the effect of each small error.
- Can I use this with a trackpad or touch screen?
- No. The tool only starts a measurement for a mouse pointer with the left button held, because DPI is a property of a mouse sensor. Trackpads translate finger movement through the operating system's own scaling and have no fixed counts-per-inch value to measure.
- Does the result tell me which DPI I should use?
- Not directly — it tells you what you actually have. Many players pick a DPI and in-game sensitivity together to reach a comfortable centimetres-per-360 value, and that calculation only works if the DPI number is real. If your mouse reports 820 when set to 800, a sensitivity calculator fed with 800 will be slightly off; use the measured value instead.