Translate this page

Pages are written in English and translated in your browser by machine translation. Test results and your data are never sent anywhere.

Mouse DPI Test: Measure Your Real DPI

Drag across a measured distance on your desk and see the counts your mouse actually reports per inch.

Runs locally in your browser. Nothing is uploaded.

Put a ruler on your desk. Line the mouse up with the 0 mark. Click here to lock the pointer, then hold the left button, move exactly 10 cm to the right, and let go.

Press Escape any time to unlock.

Results

0 of 3 runs
Measured DPI (CPI)–
Closest common setting–
Run-to-run spread–
Raw input–

Accuracy depends on how exactly you move the set distance. A 5 mm error over 10 cm is a 5% error, so average several runs. Mice report counts per inch (CPI), which most people call DPI.

The mouse DPI test measures how many counts your mouse sensor reports per inch of movement. Move the mouse a known distance along a ruler and the test does the math. It is useful for checking a new mouse, matching settings between mice, and setting up game sensitivity.

6 chapters · 2 min read

How to measure your mouse DPI

1 min
  1. Get a ruler. Put it flat on your desk or mouse pad. Pick cm or inches and a distance; 10 cm or 4 inches works well.
  2. Lock the pointer. Click the test box. The cursor disappears so it cannot hit the edge of the screen. Press Escape to unlock at any time.
  3. Line up. Put the edge of your mouse at the zero mark.
  4. Measure. Hold the left button, slide the mouse straight to the chosen mark, and let go.
  5. Repeat three to five times. The test averages your runs and shows the closest common setting.

How it works

1 min

With the pointer locked, the browser reports how far the mouse moved since the last event. In Chrome and Edge the test asks for unadjusted movement, which skips your system’s pointer speed and acceleration and gives raw sensor counts. Those counts are added up while you hold the button. Dividing the total by the distance in inches gives counts per inch, which is what DPI means for a mouse.

If your browser cannot provide raw movement, the readout says so, because system pointer settings will then change the number.

How to read your DPI result

1 min
ReadoutMeaning
Measured DPIThe average of your runs.
Closest common settingThe standard step nearest your result, such as 800 or 1600.
Run-to-run spreadHow much your runs differ. Under 5% is a good measurement.
Raw input: NoSystem pointer speed is included; see the note under the results.

A result within a few percent of your setting is normal sensor variation.

Tips for an accurate measurement

1 min
  • Keep the mouse against the ruler’s edge so it moves in a straight line.
  • Lift your eyes to the ruler mark, not the screen.
  • On Windows without raw input, set pointer speed to the middle notch and turn off Enhance pointer precision.
  • Measure each DPI step on your mouse if you want to map them all.

DPI terms in plain English

1 min
  • DPI / CPI: counts the sensor reports per inch moved.
  • eDPI: DPI multiplied by in-game sensitivity, used to compare setups.
  • cm/360: how far you move the mouse for a full turn in a game.
  • Acceleration: the system speeding the pointer up when you move fast.

Related tests: polling rate test, mouse test and the aim trainer. See every test on the home page.

Fix guides for common problems

1 min

Frequently asked questions

How do I check my mouse DPI?

Put a ruler on your desk, click the test box to lock the pointer, then hold the left button and move the mouse exactly the chosen distance. The test divides the counts your mouse reported by the distance in inches. Average three to five runs.

Is this mouse DPI test accurate?

It is as accurate as your movement. In Chrome and Edge it reads raw sensor counts, so system pointer speed does not affect it. Moving 10 cm with a 5 mm error gives about a 5% error, which averaging several runs reduces.

What is the difference between DPI and CPI?

CPI (counts per inch) is the correct term for mice; DPI comes from printers. Mouse makers and players use both to mean the same thing.

Why is my measured DPI different from my mouse setting?

Sensors often run a few percent above or below their setting, and system acceleration changes the reading when raw input is not available. Turn off Enhance pointer precision on Windows for a fair test.

What DPI should I use for gaming?

Many players use 400 to 1600 DPI with lower in-game sensitivity. Read what DPI should I use for gaming for a full explanation.

Sources

  1. MDN Web Docs: Element.requestPointerLock() (unadjustedMovement)
  2. MDN Web Docs: MouseEvent.movementX

Written and tested by Kamel Medlej

Founder and editor of PC Hardware Tester. Tools are checked on real hardware, and each page says exactly what it was tested on. Spot a mistake? Tell us.

Last updated Published Tested on Chromium-based browser on Windows 11 with a wired gaming mouse, during development. Other browsers and mice are added here as they are checked.