Home / Science / Health and medicine / Nursing and lab medicine / Westgard rules QC checkerTool #503

Westgard rules checker with Levey-Jennings chart, CV and sigma metric (free)

Paste quality control results for one or more control levels and check them run by run against the Westgard multirules (1-2s, 1-3s, 2-2s, R-4s, 4-1s, 10x and more), with Levey-Jennings charts, flagged runs, CV, bias and the sigma metric.

Keep it one tap away for everyday use.

Bookmark Westgard rules QC checker?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. QC results
  2. Targets
  3. Rules
  4. LJ chart
Nothing is uploadedWorks offline once open

For study and teaching, not medical advice. Check with a qualified professional.

Control results

The sample is made-up control data with planted errors, for practice.

Rules

Sigma metric

TEa is a quality goal for the test (from a regulator, a proficiency scheme or biological variation). Sigma = (TEa − |bias|) ÷ CV; 6 or more is world class, under 3 is poor. The TEa shown is only an example: check the official source for your test.

What it does

Every analytical run in a clinical lab includes control samples with known values. Westgard rules decide, from where those control results fall against their target mean and SD, whether the run can be reported or must be rejected and investigated. This tool checks a whole series of runs at once, in your browser: it flags each run as in control, warning or rejected, names the rule that was broken, draws a Levey-Jennings chart for each control level, and works out the CV, bias and sigma metric.

How to use it

  1. Paste the control results: one run per line (oldest first), one column per control level. A first column named Run, Date or Day, or holding text, becomes the run label. Blank cells are fine when a level was not run.
  2. Give the target mean and SD for each level, separated by commas, or let the tool work them out from all results or from the first runs (for example the first 20, as when a new lot is set up).
  3. Pick the rules. Classic set is 1-2s (warning), 1-3s, 2-2s, R-4s, 4-1s and 10x.
  4. For the sigma metric, type the allowable total error (TEa) for the test and, if you know it, the bias from a proficiency scheme.
  5. Read the flagged runs, the level table and the charts; download the runs as CSV or a report.

The rules

All rules use z = (result − target mean) ÷ target SD; “beyond 2 SD” means more than 2 SD from the mean, on one side.

  • 1-2s: one result beyond 2 SD. A warning to look closer; used as a rejection rule it rejects about 1 run in 20 for no reason (5 % per result), so it is a warning here unless you tick the box.
  • 1-3s: one result beyond 3 SD (random error).
  • 2-2s: two results beyond 2 SD on the same side, either two levels in the same run or the same level in two runs in a row (systematic error).
  • R-4s: in one run, one level beyond +2 SD and another beyond −2 SD (random error). Checked within a run only.
  • 4-1s, 3-1s: four (three) results in a row beyond 1 SD on the same side, within one level or across levels in time order (so two levels in two runs count for 4-1s).
  • 2of3-2s: two of the last three results beyond 2 SD on the same side, for labs with three levels.
  • 10x, 6x, 8x, 9x, 12x: that many results in a row on the same side of the mean, within a level or across levels (a shift).
  • 7T: seven results of one level in a row, each higher (or each lower) than the one before (a trend).

With Check the other rules only after a 1-2s warning, a run with no result beyond 2 SD is accepted without checking the rest, as in the 1981 flowchart. Modern practice usually checks every rule on every run.

Worked example

The sample has 30 runs of two made-up control levels with targets 5.00 ± 0.20 and 15.00 ± 0.50 mmol/L. With the classic set the page shows 5 runs rejected, 1 warning, 24 in control (of 30): run 6 is a warning (Level 1 at +2.30 SD); run 9 breaks 1-3s (Level 1 at +3.40 SD); run 12 breaks 2-2s (both levels above +2 SD); run 15 breaks R-4s (+2.30 and −2.20 SD); run 18 breaks 4-1s across levels (runs 17 and 18, all four above +1 SD); and run 30 breaks 10x within Level 2, which sat above its mean from run 21 on. Level 1 has a CV of 4.16 % and a bias of 1.69 % against its target, so with a TEa of 10 % its sigma is 2; Level 2 has a CV of 2.94 %, bias 0.922 % and sigma 3.08 (NumPy gives the same). Both are poor, which is why the full multirule is needed. The 10 % TEa is only an example: check the official source for your test.

Every rule was tested on hand-made sequences (each side, boundaries, missing results, within and across levels), and the classic rules agree run by run with an independent Python version on 60 random series.

Tips

  • Set the target mean and SD from at least 20 runs of the control lot in your own lab, not from the manufacturer’s range, which is usually much wider.
  • Choose rules by sigma: with sigma 6 or more a single 1-3s rule is enough; below 4 use the full multirule and more controls per run.
  • A rejected run means investigate and fix before repeating; do not just rerun the control until it passes.

FAQ

Why is 1-2s only a warning? With two levels per run, about 1 run in 10 breaks 1-2s by chance alone.

Is my data uploaded? No. Everything stays in your browser, and the page works offline.

Where the numbers come from

  • Multirules: Westgard JO, Barry PL, Hunt MR and Groth T (1981), A multi-rule Shewhart chart for quality control in clinical chemistry, Clinical Chemistry 27:493-501.
  • Control chart: Levey S and Jennings ER (1950), American Journal of Clinical Pathology 20:1059-1066.
  • Sigma metric (TEa − |bias|) / CV: Westgard JO and Westgard SA (2006), American Journal of Clinical Pathology 125:343-354.
  • Sample data and the example TEa: made up for this page.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Method validation statistics #87 Paste replicate results by day, analyst or instrument: mean, SD, RSD and confidence interval, the Grubbs outlier test, bias and recovery against a true value, repeatability and intermediate precision by ANOVA, and the Horwitz ratio. Calibration curve with LOD and LOQ #28 Paste your standards and get the calibration line, R², limits of detection and quantitation (ICH Q2), and the concentration of each unknown with a 95 % interval. Uncertainty propagation calculator #25 Type your formula and your measurements with their uncertainties, or paste repeated readings. Get the result with its uncertainty, which input matters most, and a Monte Carlo check. Bland-Altman agreement plot #471 Paste paired results from two methods and get the Bland-Altman plot, the bias and limits of agreement with exact or approximate confidence intervals, a proportional bias test, percentage or ratio scales, and Lin's concordance correlation coefficient. Reference interval calculator #502 Paste results from healthy reference people and get the central 95 % reference interval by the CLSI rank method with 90 % confidence intervals, a parametric interval on the raw, log or Box-Cox scale, Tukey or Dixon outlier screens, a Harris-Boyd check for subgroups and a histogram. Lab unit converter #501 Convert lab results between conventional and SI units for glucose, cholesterol, triglycerides, creatinine, urea and BUN, uric acid, calcium, magnesium, phosphate, bilirubin and HbA1c, with the molar mass and factor shown. Paste a column to convert many at once.