This word error rate calculator works out the percentage of words that were incorrectly transcribed in a speech-to-text or manual transcription job. You enter the total number of words in the reference (the correct transcript) and the number of substitutions, deletions, and insertions the system made; the calculator returns the WER percentage and the corresponding accuracy. It also shows the number of words that were correct, so you can see the full picture at a glance.
Formula
The word error rate is the sum of all editing operations needed to turn the machine’s output into the reference text, divided by the number of words in the reference. In symbols:
WER = (S + D + I) / N × 100%
- S = substitutions – words that were replaced by a different word
- D = deletions – words that are missing from the output
- I = insertions – extra words that appear in the output but not in the reference
- N = total number of words in the reference transcript
Accuracy is simply the complement: Accuracy = 100% − WER. This is the standard formula used in speech recognition research and in commercial transcription tools.
Worked Example
Using the default values from the calculator above:
- Reference words (N) = 100
- Substitutions (S) = 5
- Deletions (D) = 3
- Insertions (I) = 2
First, add the errors: 5 + 3 + 2 = 10. Then divide by the reference length: 10 / 100 = 0.10. Multiply by 100 to get a percentage: WER = 10%. Accuracy = 100% − 10% = 90%. The number of correct words is 100 − 5 − 3 = 92 (note that insertions are not subtracted from correct words because they are extra, not replacements).
Why WER Matters and How to Read It
WER is the most widely used metric for evaluating speech-to-text systems. A lower WER means fewer errors. For context, human transcriptionists typically achieve a WER below 5% on clean audio; state-of-the-art automatic speech recognition (ASR) systems often report 5–15% on general speech. But the number only makes sense relative to the audio quality, the domain (e.g., medical terminology is harder), and the speaker’s accent. A WER of 10% on a clear podcast is poor, while 10% on a noisy courtroom recording might be excellent.
Reading the result: a WER of 10% means that, on average, one out of every ten words in the reference was either substituted, missing, or added. It does not mean that 10% of sentences were wrong – a single substitution can make an entire sentence unintelligible, so WER tends to understate the impact on meaning. For that reason, some evaluations also use a metric like “word information lost” or sentence error rate, but WER remains the standard.
How to Count Errors Correctly
Counting errors is the tricky part. The reference is the ground truth – the exact words that were spoken. The hypothesis is what the system produced. To count S, D, and I, you must align the two texts word by word. This is usually done with a dynamic programming algorithm (Levenshtein distance at the word level). For a manual count, follow these rules:
- A substitution is when one word in the hypothesis replaces one word in the reference at the same position (e.g., “their” instead of “there”).
- A deletion is a word in the reference that has no counterpart in the hypothesis.
- An insertion is a word in the hypothesis that has no counterpart in the reference.
- Case and punctuation are usually ignored; contractions are counted as written (“don’t” is one word).
- Numbers and abbreviations are normalized before comparing (e.g., “20” vs. “twenty” – decide which is canonical and stick to it).
If you are comparing a whole document, the alignment is not always obvious. A common mistake is to count a phrase that was reordered as both a deletion and an insertion, when it is actually just a substitution or a move. The algorithm minimizes the total operations, so the same word pair should not be double-counted.
Common Mistakes and Pitfalls
Several errors can throw off your WER calculation:
- Using the hypothesis length as the denominator. The denominator must be the reference word count, not the output word count. If the system omits many words, the denominator shrinks and the WER becomes misleadingly low.
- Counting insertions as part of accuracy. Insertions are errors, but they do not reduce the number of correct words. In the example above, the correct word count is 92, not 90.
- Ignoring the effect of long silences. If the audio has long pauses, the system may hallucinate words; these are insertions and should be counted.
- Rounding too early. WER is a ratio; round only at the end. For a 100-word reference, 1 error is exactly 1%, but for a 150-word reference it is 0.67%.
Also, WER can exceed 100% if the system produces many insertions. That is mathematically possible and just means the output is longer than the reference with many extra words.
How to Choose a WER Calculator
Most WER calculators you find online work the same way: you input the reference and hypothesis texts, and the tool aligns them automatically. The one on this page is a simple manual calculator – you count the errors yourself. Which should you use?
- If you have two full texts, use an automatic aligner (like the one in many ASR evaluation libraries). It will compute S, D, I, and WER for you.
- If you already have the error counts (e.g., from a tool that gives you S, D, I), a manual calculator like this one is quick and transparent.
- If you are testing a small sample (e.g., 100 words) by hand, this calculator is ideal.
When choosing a tool, check whether it normalizes punctuation and case, and whether it treats numbers as words or as digits. Different tools may give slightly different WER values for the same pair of texts because of these normalization rules.
Alternatives and Related Metrics
WER is not the only way to measure transcription quality. Depending on your goal, you might consider:
- Character error rate (CER) – works at the character level, useful for languages with complex morphology or when spelling matters.
- Match error rate (MER) – similar to WER but uses the hypothesis length in the denominator, giving a different perspective on the error density.
- Word information lost (WIL) – a newer metric that better reflects how much meaning is lost, especially when there are many insertions.
- Sentence error rate (SER) – the percentage of sentences that contain at least one error; simple but harsh.
- Human evaluation – for subjective quality (e.g., readability, tone), a human rating scale is often more useful than an automated metric.
For a quick check of a single transcript, WER is usually sufficient. For research or benchmarking, you may want to report several metrics.
Frequently Asked Questions
What is a good word error rate?
There is no universal threshold. For clean, read speech, a WER below 5% is considered excellent; for conversational speech with background noise, 10–20% is common. The key is to compare WER values only within the same domain and audio conditions. A WER of 15% on a medical dictation is worse than 15% on a noisy interview because the cost of a mistake is higher.
Can WER be negative?
No. WER is the sum of non-negative errors divided by a positive reference length, so it is always zero or positive. Accuracy (100 − WER) can be negative if WER exceeds 100%, which happens when there are many insertions. That just means the output has more errors than the reference has words.
How do I count words in the reference?
Count every word as it appears in the reference transcript, ignoring punctuation and case. Contractions like “don’t” count as one word. Numbers written as digits (e.g., “20”) count as one word; if they are spelled out (“twenty”), that is also one word. Be consistent between the reference and the hypothesis.
Does WER treat punctuation as errors?
Usually not. Standard WER ignores punctuation and capitalization. If you care about punctuation accuracy, you need a separate metric. Some tools offer a “punctuation-aware” mode, but it is not the standard.
Why is my WER different from another tool’s result?
Different tools may normalize the text differently (e.g., expanding numbers, handling abbreviations, or splitting contractions). Also, the alignment algorithm might choose a different set of operations when there are ties. To get consistent results, use the same tool and the same preprocessing for all your comparisons.
Is WER the same as accuracy?
No. WER is the error rate; accuracy is 100% minus WER. They are complements, but they are not interchangeable in reporting. Saying “90% accuracy” is the same as saying “10% WER,” but the latter is more precise because it clarifies that the metric is word-level.
Related
Formula used
in ref | Reference words | words | 100 | 1 | 1000000 in sub | Substitutions | words | 5 | 0 | 1000000 in del | Deletions | words | 3 | 0 | 1000000 in ins | Insertions | words | 2 | 0 | 1000000 out wer | Word error rate | % | (sub + del + ins) / ref * 100 | 2 out acc | Accuracy | % | 100 - (sub + del + ins) / ref * 100 | 2 out corr | Correct words | words | ref - sub - del | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Measuring Light Speed & Wavelength: How It Works
- Draco Race Blox Fruits: How to Get It
- ES File Explorer Tips & Tricks That Actually Work
- Remove Google FRP Lock on Oppo: Step-by-Step
- Forza Horizon 6: Unlock Legend Island & Earn Horizon Legend
- Clean Hair Dryer Filter: Improve Airflow