Keyboardtest Logo
⏱️

Keyboard Latency Test — Browser Key Timing

Measure browser-observed key hold times and intervals between presses. This page cannot measure physical switch latency, USB polling rate, or end-to-end input lag.

★ 4.9/5 RatingVerified Diagnostic Utility (2,847 Reviews)

Free to use · Browser based · How we test

Press a physical key to start — no click needed. Tab moves between controls, and browser shortcuts remain available.

What this isBrowser event timing — how long you hold keys and how long you leave between them. It is not physical actuation latency, which ordinary browser key events cannot establish.

Dwell time — how long you hold each key

Median

—

Average

—

95th percentile

—

Samples

0

Flight time — the gap between presses

Median

—

Fastest

—

95th percentile

—

Implied WPM

—

Start typing

Ordinary sentences, not random mashing — dwell time only means something on real text.

Browser key timing is not hardware latency

True end-to-end input lag starts with a physical action and ends with a visible response. A web page has no independent timestamp for when your finger actuated the switch, so subtracting browser key events cannot measure that delay.

This tool measures dwell time: the interval between a keydown and its matching keyup. It also measures consecutive keydown intervals, sometimes called down-to-down flight time. Both are browser observations of your typing behavior, affected by the input path and timestamp precision.

The median describes the middle sample; the 95th percentile describes a high value in the retained sample. Small samples make percentiles unstable. A key held for a long time can simply reflect the passage, finger movement, or an intentional pause; it does not identify a slow switch.

Timing summaries use the latest 600 events. Incomplete press/release pairs and time across focus loss are excluded from paired measurements. Repeat keydowns are excluded. Keep the page focused and use the same passage and test conditions for comparisons.

Keyboard polling rate is how often the host checks for device reports. Keydown spacing is governed by your presses and the input stack, so its inverse is not a valid USB polling-rate measurement. Hardware probes, controlled actuation and high-speed recordings are more suitable for physical latency studies.

Read how our browser tests work for event handling, measurement limits, and privacy details.

Key Capabilities & Features

Dwell time

How long a received key press remained down until its received release.

Inter-key interval

Time between successive non-repeat keydowns. Overlapping key holds are allowed.

Per-key samples

A typing comparison for keys with multiple paired observations, not a switch-speed ranking.

No polling-rate result

This test does not convert keypress spacing into a hardware frequency.

How to Perform This Test

  1. Focus: select the test area and type an ordinary sentence with normal releases.
  2. Build a sample: repeat the same passage several times, avoiding deliberate long holds.
  3. Read the labels: dwell is keydown-to-keyup; inter-key interval is one keydown to the next.
  4. Compare conditions: keep the passage, browser and connection constant. Treat changes as observations rather than a hardware diagnosis.
  5. Investigate perceived lag: compare another application and a direct wired connection before changing device settings.

Troubleshooting Common Hardware Issues

  • Lag in one application only: compare a plain text editor and check that application for extensions or heavy processing.
  • Wireless input feels inconsistent: check battery and connection, then compare with a direct USB cable if the device supports it.
  • High dwell values on one key: inspect whether you intentionally hold that key or reach for it differently in the passage.
  • Sub-millisecond values vary: browsers may reduce timestamp precision. Do not infer hardware differences from tiny changes.

Frequently Asked Questions

Can this measure my keyboard's input latency in milliseconds?
It measures event intervals in milliseconds, not physical actuation-to-response latency. The starting physical event is not independently observable to this page.
Can I measure 1000 Hz or 8000 Hz keyboard polling here?
No. Human keypress intervals and browser key events do not expose the device polling schedule.
Is a shorter hold time always better?
No. It depends on your typing, the text and the intended action. It is not a manufacturer quality score.

Further Reading

Start again with the full keyboard test, compare the keyboard event reference, or choose the next test in the diagnostic tools hub.

Related Tools