Mouse DPI Analyser

Find your mouse's real DPI with a ruler and a few slides. It reads raw sensor counts, takes the median of several runs, and shows left–right and up–down results separately.

Put a ruler on your desk, set the distance above, then press Start measuring.
Measured DPI (median)
—
Nearest step
—
Versus stated
—
Spread between runs
—
Left–right (X)
—
Up–down (Y)
—
Runs
0
Counts this run
0

Your browser decides how the movement is read; this will show once you start.

How to use the DPI Analyser

  1. Put a ruler on your desk, on the mat you normally use. Set Distance you'll move to the length you'll slide (5 cm is a good start) and pick the Unit: centimetres, millimetres or inches.
  2. If you know the DPI your mouse is set to, type it into Stated DPI (optional). The tool then shows how far your result is from it.
  3. Press Start measuring. Where your browser allows it, the box takes the pointer and hides it, so it can't run into the edge of the screen.
  4. Line the sensor up with 0 on the ruler. The sensor is the light or lens under the mouse, not its front edge. Hold the left button, slide straight to the mark and let go. That is one run.
  5. Do three to five more runs, including some up–down slides (turn the ruler), so both directions are measured. Press Esc when you've finished.
  6. If a run went wrong, press Remove last run. Reset clears everything.

A longer slide makes small errors at the start and end matter less. On a 5 cm slide, stopping 1 mm short is a 2% error; on a 10 cm slide, the same 1 mm is 1%. If the tool is reading the cursor rather than raw counts (see below), keep the slide short enough that the pointer stays inside the box.

How it works

DPI (dots per inch), also called CPI (counts per inch), is how many counts the sensor reports for each inch the mouse moves. The tool adds up the counts during your slide and divides them by the distance in inches (1 inch is 2.54 cm). For example, a 5 cm slide is 1.97 inches, so 1,575 counts on that slide works out at about 800 DPI.

Raw counts or cursor

Where the browser supports it, the tool locks the pointer with raw input switched on. This option turns off the operating system's adjustment for mouse acceleration and reads the raw mouse input instead. Windows pointer speed and "Enhance pointer precision" then can't change the result, and the note under the results says it is reading raw sensor counts.

If the browser can't do that, the tool measures how far the cursor travelled, in screen pixels, between press and release. Windows applies the pointer speed and acceleration settings to relative mouse motion. This method gives a true DPI reading only with pointer speed at the default and acceleration off. The default is 10 on Windows' scale of 1 to 20, which adds no further change. The note under the results always tells you which method was used.

What a browser can't see

A web page never talks to the mouse itself. It can't read the DPI setting stored in the mouse or its software; it can only count the movement that arrives. It can't see your ruler either, so the result is only as exact as your slides. Depending on the browser and operating system, movement may be reported in physical, logical or CSS pixels. If your result is out by a neat factor that matches your display scaling, such as 1.25 or 1.5, that is the likely reason.

What your result means

  • Measured DPI (median): the middle value of all your runs. Unlike an average, one bad slide can't drag it far.
  • Nearest step: many mice set DPI in steps of 50 or 100, so this shows the nearest of each (one figure when they agree). It is the setting your result most likely matches.
  • Versus stated: how far the median is from the DPI you typed in, as a percentage. Our colours: green within 5%, amber within 10%, red beyond that. These are this site's bands, not a maker's tolerance.
  • Spread between runs: half the gap between your highest and lowest run, as a share of the median. A small spread means your slides were consistent; a large one means a few more careful runs are needed.
  • Left–right (X) and Up–down (Y): separate medians for each direction. A run counts for an axis when it moved at least three times further along it than across it. Diagonal runs count only towards the overall result.
  • Runs and Counts this run: how many runs are saved, and the live count while you slide. The table lists every run with its direction, counts and DPI.

How close should it be? Sensor makers publish very tight figures. PixArt lists a resolution error of 0.4% for its PAW3395 sensor, and Razer quotes 99.8% resolution accuracy for the DeathAdder V3 Pro. A ruler and a hand are far less exact than a maker's test. A difference of a few percent usually comes from the measurement rather than the mouse. Several careful runs over a long distance may still land well away from the stated figure. Then the mouse is probably set to a different step from the one you think.

If your result looks wrong

  • Roughly double or half what you expected: check which DPI step is active. Many mice have a button that cycles through steps; Razer's DeathAdder V3 Pro, for one, ships with 400, 800, 1600 (the default), 3200 and 6400. One accidental press changes the result.
  • The note says the cursor was read: set pointer speed to the default and turn acceleration off. On Windows 11, go to Start > Settings > Bluetooth & devices > Mouse and switch Enhance pointer precision off. On a Mac, open Mouse settings, click Advanced and turn Pointer acceleration off.
  • Runs disagree a lot: measure from the sensor, not the edge of the mouse, slide slowly and straight, and use a longer distance.
  • X and Y differ: look for separate X and Y DPI settings in your mouse software. If they match and the gap stays across careful runs, try another surface.
  • "Too short to measure": hold the button for the whole slide and go all the way to the mark.

Common questions about DPI

Can I check my DPI in Windows settings?

No. Windows Mouse settings show pointer speed, which scales how far the cursor moves. They don't show or change the DPI stored in the mouse; that is set by the mouse, its DPI button or the maker's software. Measuring it, as this tool does, works without any software.

Is DPI the same as sensitivity?

No. DPI is what the sensor reports; pointer speed and in-game sensitivity then scale it. At 400 DPI with sensitivity 2, and at 800 DPI with sensitivity 1, you turn the same amount in the same game. That is because 400 × 2 and 800 × 1 are both 800. The eDPI Calculator does this sum for you.

Does screen resolution change DPI?

No. The sensor reports the same counts whatever the screen. With pointer speed at the default, those counts move the cursor the same number of pixels. On a screen with more pixels, that is a smaller share of the width, so the cursor can feel slower.

Which DPI should I use?

There is no official best. 400, 800 and 1600 are all common mouse DPIs. What matters more for aim is your total sensitivity in the game. Read whether there is a best DPI for FPS games and what mouse DPI is.

Once you know your real DPI, use it in the Sensitivity Converter, and check that nothing is scaling your movement with the Acceleration Checker.

Questions and answers

Why doesn't my result match the box exactly?
Small differences come from where you start and stop against the ruler: 1 mm over a 5 cm slide is already 2%. Measure from the sensor, slide slowly to the mark and take several runs; the median and the spread show how consistent you were.
Why are left–right and up–down different?
Some mouse software lets you set a different DPI for each axis. If one axis reads well away from the other across several careful runs, check the X/Y settings in your mouse's software.
Does Windows pointer speed change the result?
Not when the tool says it is reading raw sensor counts. When it reads the cursor instead, pointer speed and "Enhance pointer precision" both change how far the cursor moves. Set pointer speed to the default (10 in Windows Settings) and turn acceleration off first. Windows settings show pointer speed, never your DPI. Our guides to mouse DPI in Windows 11 and 10 and how to check your mouse DPI explain where to find the real figure.
Can I detect the DPI of a generic mouse with no software?
Yes. This online DPI test works the DPI out from the movement the mouse sends. It suits any mouse, generic or branded, with no drivers or maker's software. Do a few careful runs and read the nearest step, which is most likely the DPI your mouse is using now. The other ways are in our guide to checking your mouse DPI.
How do I change my mouse DPI?
With the mouse's DPI button, if it has one, or in the maker's software. Windows and macOS settings change pointer speed, not the DPI inside the mouse. Our guide on how to change your mouse DPI goes through both ways.
Why does my DPI keep changing?
Usually a DPI button pressed by accident, or mouse software switching profiles for different programs. Check the profiles in the software, then measure again here to confirm which step is active. Our guide on why mouse DPI changes by itself covers the other causes.
Is DPI the same as CPI?
For a mouse, yes. CPI (counts per inch) is the more exact name for what the sensor reports; DPI is the name most mice, games and software use.
Is a higher DPI better?
Not on its own. A higher DPI moves the cursor further for the same hand movement, which pointer speed or in-game sensitivity can also do. Choose a DPI and sensitivity that give you control, then keep them.
What is the nearest step?
Many mice offer DPI in steps of 50 or 100. The nearest step suggests which setting your result most likely corresponds to.
Can I use this on a laptop touchpad or a phone?
It's built for a mouse. A touchpad doesn't have a DPI setting in the same sense, and a phone has no mouse sensor to measure.
Is anything uploaded?
No. The test runs in your browser, and the result is kept only on this device for your Performance Report.

Add this result to your Performance Report →