How is a typing test scored?
A typing test counts your keystrokes, treats every five keystrokes as one word, and divides by the minutes to get words per minute. Gross speed counts everything you typed; net speed takes off a word for each mistake you did not correct. Accuracy is the share of keystrokes that were right.
Why a word is five keystrokes
Real words differ in length, so counting them would reward easy passages. Tests use a standard word of five keystrokes, and spaces and punctuation count as keystrokes.
That means 300 keystrokes in one minute is 60 words per minute, whatever the words were.
Gross speed and net speed
Gross WPM is all keystrokes, divided by five, divided by the minutes.
Net WPM first takes one word off for every uncorrected mistake. Type 250 keystrokes in a minute with 5 mistakes left in, and the gross speed is 50 WPM but the net speed is 45.
Employers nearly always mean net speed.
Accuracy
Accuracy is correct keystrokes divided by all keystrokes, as a percentage. 245 correct out of 250 is 98 percent.
A mistake you go back and fix does not count against your net speed, but it costs you the time it took to fix.
Why two tests give different results
The passage matters: common words are faster than names, numbers and punctuation. The length matters: most people are slower over ten minutes than over one.
Rules differ too. Some tests stop you at a mistake, some let you carry on, and some count a wrong word as one mistake and others count every wrong keystroke. Compare results only from the same test.