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.

Last updated:

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.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

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.Hand-Eye Coordination TestKeep your cursor or finger on a moving target for 30 seconds and get your % time on target.Mouse Sensitivity Calculatorcm/360, inches/360 and eDPI from DPI and sensitivity, and convert sens between games.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.Spacebar CounterHow fast can you press space? Timed spacebar clicker test.Keyboard TesterTest every key and check for ghosting.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.MIDI Keyboard TesterTest a MIDI keyboard or controller: see notes, velocity, CC knobs and pedals live.Pen Pressure TestTest drawing tablet and stylus pressure, tilt and twist live, with a pressure graph.Chimp TestMemorize where the numbers are, then click them in order after they hide. 3 strikes.Input Lag TestMeasure keyboard, mouse and touch to screen latency in ms with average, min and jitter stats.Rhythm TestTap along to a beat and measure your timing offset, consistency and tempo drift in ms.Audio Reaction Time TestReact to a random beep instead of a light. Average your trials and compare to visual reactions.10 Key Typing TestNumeric keypad data-entry test: measure your KPH and accuracy on 1, 3 or 5 minute drills.Code Typing TestTyping test with real code in JavaScript, Python, HTML, CSS and more: WPM, accuracy and symbol errors.Controller Stick Drift TestMeasure analog stick drift, resting offset and circularity, and get a recommended deadzone.Controller Vibration TestTest gamepad rumble motors: strong/weak sliders, duration, presets and trigger rumble.F1 Reaction Time TestFive red start lights go out at a random moment: launch as fast as you can and get your time in ms.Keyboard Chatter TestCatch double-typing keys: logs press intervals and flags chatter per key on a keyboard map.Draw a Perfect Circle TestDraw a circle freehand and get a roundness score with a heatmap of where you went off.Typing Practice LessonsFree touch-typing lessons from the home row to the full keyboard, with finger-color keyboard.Keyboard CleanerLock your keyboard in full screen so you can wipe it clean; hold Esc or click to unlock.MIDI MonitorLog every MIDI message from all inputs: notes, CC, pitch bend, clock and SysEx in hex.Typing Test with CertificateTake a timed typing test and download a printable certificate with your net WPM and accuracy.Typing Test for KidsBig, friendly typing test for ages 6–12 with simple words, a key helper, stars, WPM and accuracy.Words Per Minute CalculatorWork out typing WPM (gross, net, CPM, accuracy) or your reading and speaking speed.Ghost Touch TestLeave your screen untouched and log every phantom touch with a heatmap and timeline.Keyboard Layout DetectorFind out if your keyboard is QWERTY, AZERTY, QWERTZ, Dvorak or Colemak and see its key map.Mouse Acceleration TestMove the same distance slowly and quickly to detect OS mouse acceleration with raw input.Trackpad Gesture TestTest pinch zoom, two-finger scroll, swipes, force click and wheel delta modes live.
See all 32 Keyboard, Mouse & Controller Tests →