QC Mean, SD and CV% Calculator
Last reviewed Nov 1, 2026 · Sound Lab Consultants
To set QC limits, collect at least 20 control results, then calculate the mean (Σx / n), the sample standard deviation SD = √[Σ(x − mean)² / (n − 1)], and the coefficient of variation CV% = SD / mean × 100. Control limits are mean ±1SD, ±2SD and ±3SD. Paste your values below to calculate them instantly.
QC mean, SD and CV calculator
Formulas
Worked example
Data (mg/dL): 200, 202, 198, 201, 199, 203, 197, 200, 204, 196, 200, 201, 199, 202, 198, 200, 203, 197, 201, 199.
Adding four more results (205, 195, 200, 210) to the lot-to-date figures gives n = 24, mean = 200.42, SD = 3.202, CV = 1.60%. The SD rose because the new points scatter more widely.
The 20-point rule
Fewer than 20 points tends to underestimate the SD, which makes limits too tight and inflates false rejections. Spread collection over at least 10, preferably 20, operating days so the estimate includes different operators, reagent bottles, calibrations and maintenance events. Until then, treat limits as provisional (see Setting Up a New QC Lot Mean and SD).
Cumulative vs rolling statistics
| Cumulative (lot-to-date) | Rolling (last N points) | |
|---|---|---|
| Definition | All acceptable results since the lot started | Only the most recent N results |
| Strength | Best long-term estimate of imprecision; stable limits | Shows recent change quickly |
| Risk | Slow to reflect a real change | Limits can drift with a developing bias, hiding it |
| Common use | Setting control limits | Monitoring and monthly review |
Exclude results from rejected runs when recalculating limits, and document any exclusions.
Sample SD (n−1) vs population SD (n)
QC results are a sample of the method's long-run behavior, so the sample SD (divide by n−1) is standard. Dividing by n gives a slightly smaller SD; with 20 points the difference is about 2.6%.
Significant figures
Carry at least one more decimal place in control results and SD than in patient reports, and round only after the limits are calculated.
Plot the limits with the Levey-Jennings Charts and Westgard Rules checker. Laboratories using peer software may also want Bio-Rad Unity QC consulting, Unity Real Time Westgard rules setup and building an IQCP from Unity QC data.
Frequently asked questions
How do you calculate the SD for QC?
Subtract the mean from each value, square each difference, add them, divide by n − 1, and take the square root.
What is a good CV% for QC?
It depends on the analyte and the allowable total error. Compare CV against TEa with the sigma metric; a CV that leaves 6 or more SDs inside TEa is world-class, and below 3 is poor.
How many QC results do I need to set a mean and SD?
At least 20 results over at least 10 operating days is the common minimum; 20 days is preferred.
Should I use cumulative or monthly SD for limits?
Cumulative (lot-to-date) statistics usually give the most representative limits; monthly figures are useful for review and trend spotting.
Do I include outliers?
Exclude results from runs that were rejected for a documented cause. Do not remove points just because they are far from the mean.
What is the 2SD range?
Mean minus 2SD to mean plus 2SD. About 95% of in-control results fall inside it.
Is SD in Excel STDEV.S or STDEV.P?
Use STDEV.S, the sample standard deviation, which matches the n−1 formula.
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
- Westgard Rules Calculator (Two Control Levels)
- 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.
