Skip to the test
KeyboardTest

Keyboard Latency Test: Measure Input Lag in ms

Click the box, press Space to arm it, wait for the colour change, then press Space as fast as you can. Five rounds give an average that combines your reflexes with the delay of your keyboard, USB or wireless link and operating system. Run the keyboard test to see your result in seconds, right in your browser.

Reaction box

Space to arm, Space on amber

--

Click here, then press Space to arm the test

Session results

Average
--
Best
--
Round
0 / 5
Event lag
--
    Live keyboard

    Use this keyboard latency test to see how many milliseconds pass between your key press and the moment your browser registers it. Press any key and the tool logs your keyboard latency, your input lag and an estimated scan rate, so you can tell a sluggish board from a sharp one in seconds. The readout also tracks your response time across presses, which matters most for gaming and fast typing.

    How to Use This Keyboard Latency Test to Check Input Lag

    This online keyboard latency test runs entirely in your browser, so there is nothing to install. It records live telemetry for every key press, including processing lag and event timing, and plots the results as a histogram. Any keyboard latency checker works on the same principle: you generate key events and read how long each one took.

    Steps for This Keyboard Latency Test

    Run this keyboard delay test in a few quick moves. The Key Latency view shows how long the browser takes to process each press, while the Event Timing view graphs the gap between consecutive key events. Lower, steadier values mean less input lag. The test is free and needs no signup. Plug the keyboard straight into a USB port on the computer, because a USB hub can add its own wait.

    1. Close heavy programs so background activity doesn't distort the reading.
    2. Click the test area and press any key, then repeat with a mix of letters, Space and Shift.
    3. Watch the live telemetry, then switch views to compare the histogram with the event timing graph.

    Reading Key Press History and Scan Rate

    Every press adds a row to the key press history. The shortest key press in that list gives your estimated keyboard scan rate, and the same list yields your minimum latency, maximum latency and average latency. Trust the average, because a single spike usually comes from system activity rather than the board.

    $$\text{Scan rate (Hz)} = \frac{1000}{\text{shortest key press (ms)}}$$

    A shortest press of 3 ms works out to 1000 ÷ 3, or roughly 333 Hz.

    When a Keyboard Latency Tester Matters

    A keyboard latency tester is most useful when something changed or something feels off:

    • Competitive gaming: your character moves a beat after you tap W, or an ability fires late.
    • Fast typing: letters seem to trail your fingers when your typing speed climbs.
    • Rhythm games, where a few milliseconds decide whether a note counts.
    • A new mechanical keyboard, new switches or a firmware flash you want to verify.
    • A switch from a cable to wireless, or a driver update, where you want a before-and-after number.

    Pair the result with a separate reaction time test if you want to see how much of your delay is the board and how much is you.

    What Is Keyboard Latency? Measuring Input Delay in Milliseconds

    Keyboard latency is the total delay between physically pressing a key and your computer acting on it. Lab measurements run end-to-end, from the key starting to move to the screen updating (keypress-to-screen), using a logic analyzer or a high-speed camera. A browser tool samples only the software side of that chain. Keyboard input latency is stated in milliseconds, and system latency from the operating system adds to whatever the hardware contributes. The mac keyboard test runs entirely in your browser, so nothing you press is stored or sent anywhere.

    Keyboard Response Time vs Keyboard Latency

    People use keyboard response time and latency as if they were the same thing. Response time describes the complete trip from press to visible output, so it includes the scan, the report to the PC and the on-screen update. Key response time is simply that figure for one press, and a higher response time always means a more sluggish feel.

    Keyboard Latency Formula and Worked Example

    Total keyboard latency is the sum of four delays:

    $$\text{Latency} = t_{\text{debounce}} + t_{\text{scan}} + t_{\text{polling}} + t_{\text{system}}$$

    The average wait for the polling interval is half the interval, so a keyboard reporting at 500 Hz (a 2 ms interval) adds 1 ms on average. Say a board needs a 4 ms debounce, a 1 ms scan, that 1 ms polling wait and 7 ms of operating system and browser processing: 4 + 1 + 1 + 7 = 13 ms. That lands in the typical band in the benchmark table below.

    Waterfall chart of a keyboard latency test example: 4 ms debounce, 1 ms scan, 1 ms polling wait and 7 ms system delay add up to 13 ms
    How the four delays in the worked example add up to 13 ms of keyboard latency.

    What Affects Keyboard Delay: Polling Rate, Scan Rate and Connection Type

    Four things set most of your keyboard latency, and together they shape keyboard performance: how often the board reports to the PC, how often it scans its keys, how it connects, and how busy your computer is. Each one has a different fix, so it helps to separate them. Run the rapid trigger test to see your result in seconds, right in your browser.

    Keyboard Polling Rate and Report Rate

    The keyboard polling rate is how often the keyboard reports its state to the computer, also called the report rate. Over USB, a 125Hz board reports every 8 ms, a 1000Hz board every 1 ms, and some gaming boards reach 8000Hz. The polling rate is measured in hertz while latency is measured in milliseconds, so the two are related but not interchangeable. A higher polling rate improves performance only by trimming the waiting time; going from 125Hz to 500Hz cuts the average wait from 4 ms to 1 ms.

    Bar chart of average keyboard polling rate wait: 4 ms at 125Hz, 1 ms at 500Hz, 0.5 ms at 1000Hz and 0.06 ms at 8000Hz
    Average wait for the next report at each polling rate.

    Keyboard Scan Rate and Debounce Time

    The scan rate is how many times per second the firmware checks every key. After a switch actuation, the board waits out the debounce time so one press isn't counted twice, and that pause is baked into the latency. A mechanical keyboard often has a short actuation distance, while a membrane keyboard usually needs a deeper press. Features such as key rollover (NKRO) and anti-ghosting share the same matrix scan, so they matter when you hold several keys at once.

    Wired Connection vs Wireless Keyboard Latency

    Your connection type changes both the average latency and how much it varies. A wired USB connection is the steadiest, while a wireless keyboard trades some consistency for freedom of movement.

    Wired Connection vs Wireless Keyboard Latency
    ConnectionTypical latencyNote
    Wired USB 2.0Low and stableFine for most gaming
    Wired USB 3.0Low and stableUse a direct port, not a hub
    2.4GHz wireless dongleClose to wiredThe wireless dongle sits in a USB port
    BluetoothHigher and more variableBest for office work and travel

    Drivers, Firmware and System Load

    Software around the keyboard can add delay even when the hardware is fast:

    • Outdated or corrupted keyboard, USB and chipset drivers slow the way input reaches the operating system.
    • Old firmware can hurt key scanning and wireless processing, so update it from the maker's software.
    • A busy CPU and too many background processes delay input handling. Open Task Manager and close what you don't need.
    • Windows settings such as filter keys, sticky keys and power-saving options can interfere with input.

    Tracking Down Input Lag on a New 1000Hz Keyboard

    I just moved to a 75% board that advertises a 1000Hz polling rate, and my first-person shooter flicks feel a touch late. The question is simple: is the delay the board or my setup, and does it clear the 8 ms I want for shooters? I plug it straight into a rear USB port, close the browser tabs, and tap twenty mixed keys.

    The history shows a shortest key press of 2.5 ms, so the scan rate is 1000 ÷ 2.5 = 400 Hz. The average over the twenty presses comes out at 9.6 ms, which is typical but not strong. Before blaming anything, I rebuild the number by hand: a 3 ms debounce, half of the 2.5 ms scan interval (1.25 ms), 0.5 ms of average polling wait at 1000Hz and roughly 5 ms of browser and system time gives 9.75 ms. That is within 0.2 ms of the measured figure, so I trust the test.

    What stands out is the debounce setting, not the polling rate. The vendor software lets me cut it, so I rerun the sums with one input changed at a time:

    Tracking Down Input Lag on a New 1000Hz Keyboard
    ChangeEstimated averageVerdict
    As shipped9.75 msTypical band
    Debounce 3 ms to 1 ms7.75 msUnder my 8 ms goal
    Polling dropped to 125Hz13.25 msWrong direction

    The debounce cut wins by 2 ms, while the polling rate is already past the point of diminishing returns. I make that change, rerun the test and get an average of 7.9 ms, just inside the band. The edge case I watch for: a lower debounce can double-register a worn switch, so I type a paragraph afterwards to make sure no letters repeat. If they do, I raise it to 2 ms rather than trust the lower number.

    One caveat keeps me honest. A single 31 ms spike appeared while a background update ran, so I judge the board on the average rather than the worst press, and the browser can't see the keyboard's internal scan time anyway. If the shooter still feels late, I would test the monitor next, because this reading covers only the keyboard side of the chain.

    Keyboard Latency Benchmarks: Good Response Time for Gaming

    What counts as good depends on what you do. Gamers chasing a competitive edge want the lowest numbers, while office users rarely notice anything under about 10 ms.

    Latency Benchmarks by Rating

    Use these latency benchmarks to rate your average from the test. One 60 Hz display frame lasts about 16.7 ms, which makes a convenient yardstick.

    Zone bar of keyboard latency ratings from elite under 3 ms to laggy over 16 ms with 13 ms marked as typical
    Where the 13 ms example sits among the average latency bands.
    Latency Benchmarks by Rating
    Average latencyRatingGood for
    Under 3 msEliteEsports and rhythm games
    3 to 8 msStrongAny gaming keyboard use
    8 to 16 msTypicalEveryday gaming and typing
    Over 16 msLaggyCheck drivers and connection

    Recommended Latency for Valorant, CS2 and Fortnite

    • FPS shooters such as Valorant and CS2: stay under 8 ms.
    • Fortnite: under 10 ms is plenty.
    • MMO and MOBA play: up to 16 ms is rarely noticeable.

    Are Gaming Keyboards Faster Than Other Keyboards?

    Not automatically. Independent measurements of keyboards show tens of milliseconds of spread between models, and gaming-branded boards weren't consistently the quickest. Marketing claims about polling rate rarely mention that debounce and firmware often dominate the total, so judge a board by measured latency rather than the box. Even a high USB polling rate can be undone by a slow connection.

    Keyboard Latency Test Accuracy and Browser Limits

    A browser measures what the web page sees, which is the browser's event processing rather than the full hardware chain. Results shift with the browser, system load and open tabs, and the test can't see the keyboard's internal scanning. Treat the output as a dependable way to compare the same keyboard's latency before and after a change, not as a lab-grade benchmark. For exact accuracy, a dedicated hardware tool is the right instrument, and the responsiveness you feel in games is the final judge of performance.

    Does Keyboard Input Lag Matter for Typing?

    For everyday typing, a few milliseconds are invisible, even at a high typing speed. People do notice small delays on simple tasks, though, and errors creep in as delay grows. Run a keyboard input lag test if letters seem to trail your hands, then compare the result with the table above.

    How to Reduce Keyboard Input Lag and Delay

    If your average sits above where you want it, work through these fixes in order and re-run the test after each one to see which actually helped:

    • Switch to a wired or 2.4GHz connection and plug it directly into a USB port.
    • Raise the polling rate in the keyboard's own software, for example from 125Hz to 1000Hz.
    • Update the firmware and every driver the keyboard relies on.
    • Close background applications to free up the CPU.
    • Turn off filter keys and sticky keys if you don't need them.

    Fixing the cause of keyboard lag is usually a matter of one setting or one cable, so measure before you spend money on a new board.

    Frequently asked questions

    How do I check keyboard latency?

    Open a keyboard latency test and press any key. Each press is timed and listed in a key press history, and the shortest press gives an estimated scan rate. Repeat with several keys and compare the average.

    What is a good keyboard latency for gaming?

    Under 5 ms is excellent for competitive play, 5 to 10 ms is acceptable for most users, and anything above about 10 to 20 ms can feel laggy in fast games. Latency above 20 ms may affect rhythm games and fast typing.

    What is the difference between latency and scan rate?

    Scan rate is how often the keyboard checks its keys, measured in hertz. Latency is the total delay from the press to the computer registering it, measured in milliseconds.

    How is keyboard latency calculated?

    Add the debounce time, the polling interval (1000 divided by the polling rate in Hz) and the system latency. The calculator uses that sum as the maximum latency, and estimates scan rate as 1000 divided by the shortest key press time.

    Can an online test measure my keyboard's real hardware latency?

    Not fully. A browser test measures event processing inside the browser, so results vary with system load and cannot include the keyboard's own internal processing. Dedicated hardware tools give exact totals.

    What causes high keyboard latency?

    Common causes are a Bluetooth or other wireless connection, outdated drivers or firmware, high CPU load and background processes, USB hubs, and Windows settings such as Filter Keys, Sticky Keys and power saving.

    How can I reduce keyboard latency?

    Use a wired or 2.4GHz connection plugged directly into a USB port, raise the polling rate in the keyboard software, update firmware and drivers, and close unneeded background applications.

    Is 100 ms keyboard latency good?

    No. 100 ms is very high and makes input feel noticeably delayed, especially in fast-paced games. Aim for 10 ms or less, with 5 ms or lower being the most responsive range.

    Comments and feedback