Enter the number of substitutions, deletions, and insertions, along with the total number of words, into the calculator to determine the Word Error Rate (WER) in percentage.

Word Error Rate Formula

The following formula is used to calculate the Word Error Rate (WER):

WER = ((S + D + I) / N) * 100

Variables:

  • S is the number of substitutions
  • D is the number of deletions
  • I is the number of insertions
  • N is the total number of words

To calculate the Word Error Rate, sum the number of substitutions, deletions, and insertions, then divide by the total number of words, and multiply by 100 to get the percentage.

What is Word Error Rate?

Word Error Rate (WER) is a common metric used in speech recognition and transcription to measure the performance of an automatic speech recognition (ASR) system. It compares a transcribed text produced by the ASR system with a reference or correct version of the text. The WER is calculated by counting the number of substitutions, deletions, and insertions that are needed to make the transcribed text match the reference text, then dividing by the number of words in the reference text, and expressing the result as a percentage.

How to Calculate Word Error Rate?

The following steps outline how to calculate the Word Error Rate.


  1. First, determine the number of substitutions (S).
  2. Next, determine the number of deletions (D).
  3. Then, determine the number of insertions (I).
  4. Determine the total number of words (N) in the reference text.
  5. Use the formula WER = ((S + D + I) / N) * 100 to calculate the Word Error Rate.
  6. After inserting the variables and calculating the result, check your answer with the calculator above.

Example Problem : 

Use the following variables as an example problem to test your knowledge.

Substitutions (S) = 5

Deletions (D) = 3

Insertions (I) = 2

Total Words (N) = 100