Free hardware diagnostics · 100% browser local · zero uploads

Keyboard Delay Test: Key Dwell Time, Inter-Key Latency & OS Repeat Rate

Measure exact keydown-to-keyup dwell duration (Min, Median, P95, Max ms), inter-keystroke latency, and operating-system auto-repeat delay and rate.

Min / Median / P95 / Max msInter-key gap trackingOS Repeat Delay & HzTouch Tap & Hold Pad

Interactive keyboard workbench

Stored only in your browser and optional #k= share links (up to 80 graphemes).

Tap keys for Dwell Time (keydown→keyup), or hold a key for 1.5s to measure OS Repeat Delay & Rate.

Keyboard diagnostics and live telemetry

Input Delay (ANSI 104)

0.0 ms median dwell (0 samples)

—Min Dwell
—Median Dwell
—P95 Dwell
—Max Dwell
—Avg Inter-Key
—OS Repeat Delay
—OS Repeat Rate
#CodeDwellInter-keyType
Tap or hold keys (or use the Tap & Hold Pad) to measure dwell and OS repeat timing.

All KeyboardEvent captures, performance.now timings, Web Audio switch synthesis, CSV exports, and 1-page print reports run locally inside this tab. Share links keep settings strictly after the hash.

What keyboard input delay metrics tell you in practice

A single millisecond number cannot capture how responsive a keyboard feels under real fingers. Every physical stroke spans at least two distinct phases: Dwell Time (the duration from keydown actuation until keyup release) and Inter-Key Latency (the time elapsed between consecutive key presses across words or rapid rhythm sequences).

For competitive rhythm games, movement counter-strafing, and mechanical switch evaluation, consistent low dwell times (often 35 ms to 95 ms on light linear switches) indicate crisp actuation and clean spring return. Large spikes in the 95th percentile (P95) or Max dwell readout frequently point to overlubed stabilizers, sticky keycaps, or worn rubber domes lagging on rebound.

Measuring OS Repeat Delay and Repeat Rate separately

Hold any single letter or arrow key down for one second without releasing it. Your operating system waits through a fixed Repeat Delay (commonly 250 ms to 500 ms on Windows and macOS) before firing steady synthetic repeat events (typically 25 to 33 keys per second). This page separates initial physical actuations from OS repeat bursts automatically so hold tests never skew your physical dwell percentiles.

On mobile screens or when verifying behavior without a physical keyboard, press and hold the Tap & Hold Pad (supports pointerdown to pointerup timing) or click Run sample delay trace to populate realistic dwell and repeat telemetry ready for CSV export.

Frequently asked questions

Does this page measure physical electrical latency inside USB cables?

No browser page can directly measure external wire or MCU scan latency without an external hardware photodiode or logic analyzer, because the browser only sees timestamps when events enter Chrome or Safari. Instead, this keyboard delay test accurately measures keydown-to-keyup dwell time, inter-key cadence, P95 hold variance, and OS auto-repeat timing.

Why does my P95 dwell time jump higher than my median?

The 95th percentile captures your slowest 5 percent of key releases, which commonly occur on heavier stabilized keys such as Space, Shift, or Enter—or when a sticky switch stem hesitates on the upstroke.

How do I test OS Repeat Delay and Repeat Rate here?

Press and hold any alphanumeric key for about 1.5 seconds inside the test workbench. The first repeat event calculates your OS Repeat Delay in milliseconds, and continued repeats update the Repeat Rate in keys per second.

Every tool shares the same local KeyboardEvent engine, zero-upload privacy boundary, CSV diagnostic exporter, and single-page print stylesheet.

Specifications & engineering notes

All key codes, rollover classes, dwell percentiles, and switch debounce rules follow public browser and USB HID standards.

All keyboard events, polling intervals, audio synthesis, and diagnostic metrics are processed strictly inside your local browser tab with zero keystroke logging or external API calls.

Put this calculator on your site

Embed this calculator

Copy the snippet into any page. The widget is free, needs no key and sends nothing until a visitor interacts with it.

Open widget view