Home › Device & Internet Tests › Mouse DPI Test

Mouse DPI Test

Measure the real DPI (CPI) of your mouse: put a ruler on your desk, hold the left button, move the mouse an exact distance and release. Repeat a few times and the test averages your runs.

Quick distances
Ready. Place a ruler on your desk and press Start measurement.
Counts0
Live DPI–
Distance4 in
Your mouse DPI
–DPI
Complete a run to see your DPI. 3 to 5 runs give a reliable average.
RunDistanceCountsDPIDelete
No runs yet.
eDPI calculator
eDPI–
Advanced settings
Advertisement
Advertisement

How to use the Mouse DPI Test

  1. Put a ruler on your desk and set the distance you will move (for example 4 inches or 10 cm).
  2. Press Start measurement. The cursor is hidden so it cannot stop at the screen edge.
  3. Line up the mouse with the start of the ruler, hold the left button, move exactly the set distance and release.
  4. Repeat 3 to 5 times. Each run is listed and averaged; delete any run where you slipped.
  5. Read your DPI and the nearest standard step, and enter your in-game sensitivity to get your eDPI.

Mouse DPI formula

The test counts how far the sensor reports the mouse moved and divides by how far it really moved:

DPI = counts ÷ distance in inches, and with centimetres DPI = counts ÷ (cm ÷ 2.54).

Example: you move the mouse 10 cm (3.94 inches) and the browser receives 3,150 counts. 3,150 ÷ 3.94 = 800 DPI. The test measures the straight-line distance between where you pressed and where you released, so a slight angle against the ruler does not matter, but curving or moving back and forth does.

Expected counts for common DPI settings

DPICounts for 2 in (5.08 cm)Counts for 4 in (10.16 cm)Counts for 10 cm
4008001,6001,575
8001,6003,2003,150
1,6003,2006,4006,299
3,2006,40012,80012,598
6,40012,80025,60025,197

Tips for an accurate measurement

  • Use a longer distance. A 1 mm reading error is 2% of 5 cm but only 0.5% of 20 cm.
  • Line up a fixed point such as the front edge of the mouse with the ruler marks, both at the start and the end.
  • Move slowly and steadily in one straight line, and do not lift the mouse.
  • Turn off acceleration if raw input is not available: on Windows set pointer speed to the middle (6 of 11) and untick Enhance pointer precision. Mouse software with "angle snapping" or smoothing can also change counts.
  • Average 3 to 5 runs and delete any run where the mouse slipped.

Frequently asked questions

How does the mouse DPI test work?

DPI (more precisely CPI, counts per inch) is how many movement counts the mouse sensor reports per inch travelled. The test adds up all the movement the browser receives while you hold the button, then divides by the physical distance: DPI = counts ÷ inches. With centimetres it first converts: inches = cm ÷ 2.54.

Why is my measured DPI different from the box or software setting?

Sensors are rarely exact; a 5 to 10% difference from the advertised value is common. Measuring errors also matter: a ruler misread by 2 mm on a 10 cm move is a 2% error. Use a longer distance, move in a straight line and average several runs for the best result.

What is raw input and why does it matter?

Operating systems can change mouse movement with pointer speed and acceleration (Enhance pointer precision on Windows). Where the browser supports it, the test asks for unadjusted movement, which gives the sensor's counts directly. If raw input is not available, set Windows pointer speed to the default (6 of 11) and turn off Enhance pointer precision, or on macOS expect the result to include the system's acceleration.

Why does it need to hide the cursor?

At 1600 DPI, moving 4 inches is 6400 counts, far wider than most screens. The test uses pointer lock so the movement is counted even past the screen edge. Press Esc at any time to get the cursor back.

What is eDPI?

eDPI (effective DPI) is your mouse DPI multiplied by your in-game sensitivity. It lets players compare overall sensitivity across different DPI settings in the same game: 800 DPI at sensitivity 0.5 and 400 DPI at sensitivity 1.0 both give 400 eDPI.

What DPI should I use?

There is no single best value. Many competitive players use 400 to 1600 DPI with a low in-game sensitivity, while 1600 to 3200 DPI suits high resolution desktop screens. Pick a DPI that lets you move across your screen comfortably, then fine tune with sensitivity.

Does this work with a touchpad or touch screen?

It is designed for a mouse. Touchpads use acceleration and different units, so the result is not a meaningful DPI. On phones and tablets there is no mouse sensor to measure.

Related tools

Mouse TesterTest clicks, double clicks and the scroll wheel.Click Speed TestTest your clicks per second (CPS) in 1 to 60 second modes.Aim TrainerPractice clicking targets and measure accuracy and reaction time.FPS TestMeasure your browser's live frame rate, 1% lows and frame times, and compare 15-240 FPS.Internet Speed TestMeasure download, upload, ping and jitter.What Is My IPSee your public IP address and location.Typing Speed TestMeasure your typing speed in WPM.Reaction Time TestTest your reflexes over 5 rounds and see your average and percentile.Jitter Click TestMeasure jitter clicking CPS, peak speed and click consistency.Kohi & Butterfly Click TestKohi, butterfly and drag click CPS tests with left/right click stats.Refresh Rate TestCheck your monitor's refresh rate in Hz and spot dropped frames.Spacebar CounterHow fast can you press space? Timed spacebar clicker test.Microphone TestTest your microphone with a live level meter.Webcam TestCheck your webcam, resolution and frame rate.Keyboard TesterTest every key and check for ghosting.Dead Pixel TestFind dead or stuck pixels on your screen.Touch Screen TestCheck multi-touch points, draw trails and find dead zones on any touchscreen.Gamepad TesterTest controller buttons, triggers, stick drift and vibration in your browser.What Is My Screen ResolutionSee your screen resolution, viewport, pixel ratio, colour depth and display features.Vibration TestTest your phone's vibration motor with short, long, SOS, heartbeat and custom patterns.Battery Status CheckerCheck your battery level, charging state and time to full or empty.What Are My GPS CoordinatesSee your latitude and longitude in decimal and DMS, with accuracy and maps.Online CompassUse your phone as a compass with heading in degrees and cardinal points.Bubble LevelTurn your phone into a spirit level with surface and bar modes.Screen FlashlightTurn your screen into a bright white or coloured light that stays awake.Ring LightTurn your screen into a ring light or fill light with adjustable color temperature.Online RulerAn actual-size on-screen ruler in cm, mm and inches, calibrated with a credit card.Online ProtractorMeasure any angle on screen or in a photo with a draggable 360° protractor.Device Pixel Ratio CheckerSee your device pixel ratio, CSS viewport, physical resolution and screen PPI live.Browser Feature CheckerTest which Web APIs, CSS features and JavaScript syntax your browser supports.Local Storage InspectorView, edit and clear the cookies, localStorage and other data this site stores in your browser.GPU TestSee your graphics card, WebGL and WebGPU support and limits, and run a quick GPU benchmark.Color Blindness TestQuick 14-plate dot test that screens for red-green and blue-yellow color vision deficiency.Number Memory TestRemember a number that grows one digit each level. Track your digit span and best score.