Mouse Test Browser diagnostics

03 / Calibration bench

Mouse DPI Analyzer

Use the mouse DPI analyzer to estimate sensitivity over a measured distance, compare repeated runs, and learn how to check your mouse DPI setting.

Calibration bench · Desktop mouse Checking Pointer Lock…

Mark a straight horizontal distance on your mouse pad. Choose or enter the distance, start a run, slide straight across without lifting, then press Enter to finish or Escape to cancel.

Waiting to start. Requires browser support for Pointer Lock with unadjusted movement.

  1. No runs recorded yet.

This tool does not read your mouse’s stored DPI firmware setting. If unadjusted pointer movement is denied or unsupported, it refuses to substitute visible cursor pixels.

Measure over a known distance

Place a physical ruler along your mouse pad and mark a straight horizontal start and end point—10 cm or 20 cm works well if you have space to keep the mouse flat without lifting. Choose a quick distance preset (5, 10, 15, or 20 cm) or type any exact length from 1 to 100 cm.

Click Start measurement and grant Pointer Lock when prompted. Wait for the status bar to show Recording, slide the mouse smoothly in one straight horizontal line between your two marks without lifting or backtracking, then press Enter. Press Escape at any time to cancel a run without recording an estimate.

To check repeatability, run three to five identical passes without changing mouse DPI steps, pad surface, or ruler distance. The tool logs each pass and reports the min–max DPI range and spread percentage across recent runs. A tight spread shows that your hand sweeps and browser reporting were consistent; it does not replace a manufacturer calibration readout.

How to check your mouse DPI

Most gaming and productivity mice store DPI stages inside onboard memory or companion software. Open your manufacturer utility to read the exact active stage and polling rate. If your mouse uses a physical DPI button under or behind the scroll wheel without software, check the manual for its preset color codes or step table.

A browser measurement answers a narrower question: how many horizontal counts the browser reports per inch (2.54 cm) of physical travel:

  • Formula used: Estimated DPI = round(|horizontal counts| × 2.54 / distance in cm)
  • Straightness validation: Passes with fewer than 10 horizontal counts, excessive vertical drift (> 20%), or back-and-forth reversals (> 120% total travel) are rejected automatically so crooked sweeps do not pollute your run list.
  • No pixel fallback: If requestPointerLock({ unadjustedMovement: true }) is unsupported, denied, or blocked inside an embedded preview frame, the bench stops cleanly instead of estimating from screen pixels.

If your browser cannot start a run

Make sure you are using a physical desktop mouse in a modern browser tab that supports unadjusted Pointer Lock (standard browser tabs on Windows, macOS, or Linux work best; sandboxed preview iframes or mobile browsers often block Pointer Lock). If you just want to verify basic clicks or check for unwanted double clicks, return to the Mouse Button Test or open the Mouse Double Click Test.

Frequently asked questions

Does this DPI analyzer read my mouse’s saved hardware setting?

No. Web browsers do not have access to your mouse firmware or vendor profiles. The tool estimates counts per inch by dividing unadjusted horizontal pointer movement by the physical distance you entered.

Why does it ask for Pointer Lock with unadjusted movement?

Unadjusted Pointer Lock asks the browser to skip operating-system pointer acceleration and cursor scaling. If the browser denies or does not support that mode, this tool refuses to fall back to cursor pixels.

Why can two runs give slightly different DPI estimates?

Small variations in hand path, lifting the mouse, moving diagonally, or stopping slightly past your ruler mark directly change the total count. Compare several straight runs and watch the spread percentage.

Do Windows pointer speed or macOS tracking speed change hardware DPI?

They change how far the desktop cursor moves per mouse count, not the optical sensor’s native DPI. That is why raw unadjusted movement is needed for any browser-based estimate.