Quality Control Calculator
Paste a month of control values; get a Levey-Jennings chart, the statistics and every Westgard rule that fires.
Westgard check
How to use the QC calculator
- Enter the analyst, the control (for example “Glucose level 1, lot 4521”) and the month. They appear in the chart title and on the printed report.
- Paste the month's control values in run order, separated by commas, and press Delimit & Calculate.
- If the control insert or your laboratory has an established mean and SD, enter them as targets; otherwise the rules are judged against this batch's own mean and SD.
- Read the chart, then press Show Violations for the list of rules that fired and the samples involved.
- Note what you did about any violation, then use Print Chart for the QC file.
Reading a Levey-Jennings chart
Each control result is plotted in run order. The green centre line is the mean, and the lines above and below mark ±1, ±2 and ±3 SD. In a stable method about 95% of results fall within ±2 SD and about 99.7% within ±3 SD, so roughly one result in twenty outside 2 SD is expected by chance alone. Patterns matter as much as single points: a run of results sitting on one side of the mean points to a shift, such as a new reagent or calibrator lot, while results climbing or falling steadily point to a trend, such as a deteriorating reagent, an ageing lamp or evaporation.
The Westgard rules it checks
- 1-2s (warning) — one result beyond ±2 SD. Not a reason to reject on its own; it is the signal to check the other rules.
- 1-3s — one result beyond ±3 SD. Reject; usually random error.
- 2-2s — two consecutive results beyond 2 SD on the same side. Systematic error.
- 2of3-2s — two of three consecutive results beyond 2 SD on the same side. Systematic error.
- R-4s — one result beyond +2 SD and the next beyond −2 SD, or the reverse. Random error.
- 3-1s and 4-1s — three or four consecutive results beyond 1 SD on the same side. Systematic error.
- 7T — seven consecutive results rising or falling. A trend.
- 8x, 10x and 12x — eight, ten or twelve consecutive results on the same side of the mean. A shift; a result exactly on the mean breaks the run.
Which rules lead to rejection is a decision for your laboratory's QC policy. A common choice is 1-3s, 2-2s, R-4s, 4-1s and 10x, with 1-2s as the warning.
After a violation
Don't simply rerun the control until it passes. Random errors point to things like bubbles, a pipetting slip or a mix-up in sample position; systematic errors point to calibration, reagent or control lot changes, storage temperature or instrument maintenance. Fix the cause, rerun the affected patient samples if your policy says so, and write down what was done so the printed report shows it.