Keyboard Latency Test
Measure how quickly your keypresses reach the page and how soon the browser can draw. Reports event handling delay, key-to-frame time, and consistency.
Press a key to record your first sample.
What this actually measures
This measures your browser’s input pipeline, not the keyboard’s hardware latency. Event handling delay is the gap between the browser creating the key event and this page receiving it. Key to next frame is how long until the browser could next draw. True switch-to-photon latency needs external hardware such as a high-speed camera, and no website can measure it.
See how fast your keypresses reach the page
Every keypress travels through the keyboard firmware, USB polling, the operating system, and the browser before any code can react to it. This test times the last part of that journey and, just as usefully, shows how consistent it is — steady numbers feel responsive, scattered ones feel laggy even when the average looks fine.
How this Keyboard Latency Test works
This test times the part of a keypress that a browser is actually able to observe, and it is careful not to claim more than that. When you press a key, the browser creates an event and stamps it with the moment it was generated. This page then compares that stamp against the clock at the instant its own code runs, and the difference is the event handling delay — how long the keypress spent queued between the browser and the page.
The second figure is key to next frame. As soon as the keypress arrives, the page asks the browser to call it back before the next repaint, and times how long that takes. This is bounded by your refresh rate: on a 60 Hz screen the answer can be anything from almost nothing to about sixteen milliseconds, depending purely on where in the refresh cycle your press happened to land. On a 144 Hz screen the ceiling drops to roughly seven. Together the two numbers describe how quickly anything you type can possibly show up.
Pay as much attention to the spread as to the average. A machine that answers in two milliseconds every single time feels crisp, while one that averages the same figure but swings between one and twenty feels unreliable, because your hands notice inconsistency more readily than a slightly higher constant delay. Background compilation, busy tabs, browser extensions, and aggressive CPU power saving all widen that spread.
What this cannot tell you is your keyboard's hardware latency — the time from the physical switch closing to light changing on the display. That measurement requires instrumenting the hardware, typically with a high-speed camera or a microcontroller wired to the switch, and it is genuinely out of reach for any web page. If you are comparing keyboards rather than software, published measurements from reviewers with that equipment are the right source.
Everything is measured and kept in your browser. No keystroke data is transmitted, and the tool records only timings and the name of the key.
How to use this Keyboard Latency Test
Focus the test area
Click the panel so it starts listening for key events.
Press keys steadily
Tap any key twenty or thirty times at a comfortable pace. Avoid holding a key down.
Compare the spread
Look at the gap between best and worst as much as the average — consistency is what you feel.
Example Usage
A typical desktop result with little running in the background:
Frequently Asked Questions
Does this measure my keyboard’s real latency?
What is a normal result?
Why do my numbers jump around?
Why is key to next frame sometimes near zero?
Does a higher refresh rate reduce this?
Can I compare browsers with this?
How do I actually reduce keyboard latency?
Related Tools
Reaction Time Test
Take a free online reaction time test. Wait for the green signal, react as fast as you can, and compare your average across five attempts.
Typing Speed Test
Take a free online typing speed test. Measure your words per minute (WPM), accuracy, and typing errors with a live, no sign-up typing test.
Mouse DPI Checker
Measure your mouse's real DPI in the browser. Move the mouse a distance you measure with a ruler and the tool counts the pixels to work out your true DPI.
Online Keyboard Test
Test every key on your keyboard for stuck keys, dead keys, and ghosting. Press keys and see them light up on a live on-screen keyboard.
Test Refresh Rate
Test your monitor refresh rate online for free. See your detected Hz reading live, match it against common presets like 60Hz, 144Hz, and 240Hz, and confirm it with a moving visual check.
Mouse Polling Rate Test
Measure how often your mouse reports its position. Counts incoming pointer reports to estimate your polling rate in hertz and compares it to standard rates.
The Keyboard Latency Test is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.

