About Typing Speed Test

Measures typing speed in words per minute (WPM) and character-level accuracy against a reference prompt. Start the timer, type the displayed sentence, then stop to see results. Cycles through three built-in sample prompts. Accuracy is calculated by comparing each character position in your input against the expected text.

  • WPM calculated as word count divided by elapsed time in minutes
  • Accuracy: character-by-character comparison up to the shorter of typed vs. expected length, reported as a percentage
  • Three rotating sample prompts for varied practice
  • Timer uses Date.now() for millisecond-precision duration measurement
  • Results display WPM, accuracy percentage, and elapsed time in seconds

Frequently Asked Questions

How is WPM calculated?
Total words typed (split by whitespace) divided by elapsed minutes. This is gross WPM—it counts all words regardless of errors. Some typing tests use net WPM (subtracting errors); this one does not.
Why is accuracy based on characters, not words?
Character comparison catches individual typos within otherwise correct words. A word-level check would mark an entire word wrong for a single mistyped letter, which is less informative for improving your typing.