Move your mouse a measured distance along a ruler to estimate its real DPI (CPI), then work out eDPI and sensitivity
6 people today · free, no install, no sign-up
📱 This test needs a computer with a mouse. DPI can't be measured with touch.
📐 You'll need a ruler · Turning off Windows Enhance pointer precision is recommended. The result is an estimate, and any error in how far you move by hand shows up in it.
Distance
Direction
① Line your mouse up with 0 on the ruler and click here
Click and the cursor disappears while measuring · Esc = cancel
-
Enter your DPI setting to see the distance moved as a bar
-This run (DPI)
-Average DPI
-Nearest standard
0Runs
Measure the same distance 3 or more times for a more accurate average. Keep the mouse on the desk and move it straight along the ruler.
🎯 eDPI calculator · keep your sensitivity when you change DPI
-
eDPI = DPI × in-game sensitivity. Sensitivity numbers mean different things in each game, so only compare eDPI within the same game. If you've measured an average DPI above, press 'Use measured DPI'.
For cm/360, a target distance → sensitivity and comparing two setups, use the eDPI & cm/360 calculator.
📏 How to measure accurately
Turn off pointer acceleration: Windows Settings > Bluetooth & devices > Mouse > Additional mouse settings > Pointer Options > untick 'Enhance pointer precision'.
Pointer speed in the middle: put the speed slider on the same tab in the middle (the 6th of 11 notches). That reduces errors even when the browser can't provide raw input.
Set up the ruler: fix a ruler to the desk and line up the side of the mouse (or the edge of the mouse pad) with 0.
Measure: click the test box → slowly move the mouse along the ruler for the chosen distance → click again. Don't lift the mouse.
Repeat: measure 3-5 times and look at the average. Remove a single run that jumps out with 'Delete'.
⚠️ Why is it an estimate?
A web page can't read the mouse sensor directly. It only receives the movement values (movementX, movementY) the browser passes on, and depending on the browser and operating system these can go through the following:
Pointer acceleration: faster movement gives bigger values. Chrome and Edge can provide values without acceleration (unadjustedMovement); when supported, this page uses them. The status line under the test shows which kind was used.
Display scaling: at 125% or 150% scaling the values may arrive reduced by the scale factor. So when scaling isn't 100%, the page also shows a 'scaled' value. Whichever is closer to your DPI setting is most likely the right one.
Hand error: if you mean to move 5 cm but move 4.9 cm, the DPI comes out 2% high. A longer distance such as 10 cm reduces the error ratio.
1 DPI = 1 movement count per inch (2.54 cm) moved. So DPI = movement counts ÷ (cm moved ÷ 2.54).
Reference: MDN Web Docs — Pointer Lock API, MouseEvent.movementX, the unadjustedMovement option of requestPointerLock() (developer.mozilla.org, CC BY-SA)
Frequently asked questions
How do I test my mouse DPI?
Put a ruler on your desk and line up the side of your mouse with 0. Click the test box to lock the cursor and start measuring, move the mouse straight along the ruler for the distance you picked (for example 5 cm), then click again to finish. The page divides the movement counts your mouse sent by the distance in inches to get DPI. Measure 3 or more times and use the average for a better result.
Why is the measured DPI different from my mouse setting?
The result is an estimate. Small errors in how far you move by hand (1 mm off on 5 cm is about 2%), operating system pointer acceleration (Enhance pointer precision), the Windows pointer speed, display scaling (125%, 150%) and the way the browser reports movement all affect it. The sensor itself can also differ from its rated DPI by a few percent. If the result is far off your setting, check the scaled value as well.
Do I need to turn off Enhance pointer precision?
Yes, for an accurate measurement. This feature makes the cursor travel further when you move the mouse faster, so the same distance gives different results. Browsers that provide raw, unaccelerated input, such as Chrome and Edge, are less affected, but in browsers that don't, the result can swing a lot. In Windows, go to Settings > Bluetooth & devices > Mouse > Additional mouse settings > Pointer Options and untick it.
What is eDPI?
eDPI (effective DPI) is your mouse DPI multiplied by your in-game sensitivity. 800 DPI at sensitivity 0.5 and 400 DPI at sensitivity 1.0 both give an eDPI of 400, so in the same game your view turns about the same amount for the same hand movement. Sensitivity numbers mean different things in different games, so you can't compare eDPI directly between games.
How do I keep the same sensitivity after changing DPI?
Set new sensitivity = current sensitivity × current DPI ÷ new DPI. Your eDPI stays the same, so it feels the same. For example, going from 800 DPI at sensitivity 1.0 to 1600 DPI, lower the sensitivity to 0.5. The calculator below does it for you.
Are DPI and CPI the same thing?
For mice they are used almost interchangeably. CPI (counts per inch) is the number of movement signals a mouse sends to the computer when it moves 1 inch (2.54 cm). DPI (dots per inch) originally comes from printing and screens, but it is commonly used for mouse sensitivity too.
Is my mouse movement sent to a server?
No. Mouse movement and results are only used inside this browser. Nothing is sent to a server or saved.