Westgard Rules Calculator (Two Control Levels)
Last reviewed Nov 1, 2026 · Sound Lab Consultants
This Westgard rules calculator plots a Levey-Jennings chart for two control levels and flags every rule violation. Enter each level's mean and SD, paste results in run order, and choose your rules. It checks 1-2s (warning), 1-3s, 2-2s, R-4s, 4-1s, 10x and optional 8x/12x, both within each level and across levels in the same or consecutive runs.
Westgard rules calculator
Interactive Levey-Jennings chart and Westgard rule checker
Enter each control level's established mean and SD, then paste results in run order (one value per run, separated by spaces, commas or new lines). Run n on each level is treated as the same analytical run. Leave a level blank to skip it.
How the calculator applies each rule
- z-score: z = (result − mean) / SD for each point.
- 1-2s / 1-3s: |z| > 2 or > 3 on any single point.
- 2-2s: two consecutive z beyond the same ±2 limit, either on one level across two runs, or on both levels in one run.
- R-4s: in one run, one level z > +2 and another z < −2. Not applied across runs.
- 4-1s: four consecutive z beyond the same ±1, on one level or across both levels over two runs.
- 10x / 8x / 12x: that many consecutive results on the same side of the mean, counted within a level and across levels.
Worked example
Level 1 mean 100, SD 2; Level 2 mean 250, SD 5. Run 5: L1 = 104.5 (z = +2.25), L2 = 258 (z = +1.6). Only L1 is beyond 2SD, so 1-2s warning. Run 6: L1 = 104.8 (z = +2.4): two consecutive L1 points beyond +2SD = 2-2s reject (systematic). Run 10: L1 = 95.2 (z = −2.4) while L2 = 261 (z = +2.2): opposite 2SD violations in one run = R-4s reject (random). Run 8: L2 = 263 (z = +2.6) with L1 = 98.7 (z = −0.65): warning only, since R-4s needs opposite 2SD violations in the same run. Runs 11 to 14: L1 at z = +1.05, +1.2, +1.4, +1.1 = 4-1s reject.
Choosing rules for your method
Use more rules only when the method needs them. The Sigma Metric Calculator for the Clinical Lab converts TEa, bias and CV into a sigma value and a rule set. For background on each rule see Levey-Jennings Charts and Westgard Rules, and for what to do after a failure see Corrective Action for Westgard Rule Violations. Configuring rules in software: Bio-Rad Unity QC consulting, Unity Real Time Westgard rules setup and building an IQCP from Unity QC data.
Frequently asked questions
How do I use a Westgard rules calculator?
Enter the established mean and SD for each control level, paste results in run order, select the rules your laboratory uses, and read the flagged runs and rules.
Does the calculator check rules across control levels?
Yes. 2-2s, 4-1s and the mean rules are checked within each level and across both levels; R-4s is checked across levels within a single run only.
What does REJECT vs WARNING mean in the results?
REJECT means at least one enabled rejection rule was violated; WARNING means only a 1-2s was seen.
Why is R-4s only applied within a run?
R-4s is meant to detect random error in a single run. Opposite 2SD results in different runs can reflect normal variation plus a between-run shift, which other rules handle.
Can I use this for three control levels?
The hub page checker on the Levey-Jennings and Westgard rules guide accepts three levels and supports 2of3-2s, 3-1s, 6x and 9x.
Is my data stored?
No. All calculations run in your browser and nothing is sent anywhere.
Should I use 10x or 8x?
Pick the mean rule that fits your control count: with 2 levels, 8x spans 4 runs and 10x spans 5. Lower-sigma methods benefit from shorter windows.
Want a second set of eyes on your QC rules, limits or survey preparation?
Book a free consultationRelated tools and guides
- Levey-Jennings Charts and Westgard Rules
- QC Mean, SD and CV% Calculator
- Sigma Metric Calculator for the Clinical Lab
- Total Allowable Error and Bias Calculator
- Corrective Action for Westgard Rule Violations
- Setting Up a New QC Lot Mean and SD
- Bio-Rad Unity QC consulting
- Unity Real Time Westgard rules setup
- IQCP using Unity QC data
Sources and standards
- 42 CFR §493.1256 Standard: Control procedures (eCFR)
- 42 CFR §493.1282 Standard: Corrective actions (eCFR)
- 42 CFR Part 493, Subpart I, Proficiency testing acceptance limits (eCFR)
- CMS: Clinical Laboratory Improvement Amendments (CLIA)
- CDC: CLIA program
- CLSI C24, Statistical Quality Control for Quantitative Measurement Procedures: Principles and Definitions (consult the current edition)
Sound Lab Consultants is an independent consulting firm and is not affiliated with Westgard QC, Bio-Rad, CLSI, CMS, CDC or any accrediting organization. Rule names are used descriptively. Calculators are educational aids; confirm results against your laboratory's approved QC procedures.
