QC Mean, SD and CV Calculator
Paste a control's results and get its mean, standard deviation, coefficient of variation and the ±1, 2 and 3 SD limits the Westgard rules use, for up to three levels at once. Use it to set limits on a new control lot or to close out a month of QC, with last month's lot-to-date figures carried forward. It prints as a one-page QC summary for the binder; to keep these figures in software instead, compare lab QC software.
QC statistics — assaydeck.com
Potassium QC statistics
Pre-filled with made-up potassium controls from a new lot. Change any value or paste your own results.
One result per line, up to 120. A pasted spreadsheet column works.
One result per line, up to 120. A pasted spreadsheet column works.
(Bio-Rad's seven potassium results)
CV by level
0.75, 0.86%
| Statistic | Level 1 | Level 2 |
|---|---|---|
| Results (n) | 20 | 20 |
| Mean | 3.803 | 6.200 |
| SD (n − 1) | 0.0287 | 0.0533 |
| CV | 0.75 % | 0.86 % |
| ±1s range | 3.774 to 3.832 | 6.146 to 6.253 |
| ±2s range | 3.746 to 3.860 | 6.093 to 6.306 |
| ±3s range | 3.717 to 3.889 | 6.040 to 6.359 |
| Lowest to highest | 3.75 to 3.86 | 6.09 to 6.30 |
Reviewed by ____________________ Date ____________

Bench sheet
- Summary ofa new lot
- SD divides byn − 1
- Level 1 results20
- Level 1 CV0.75 %
- Level 2 results20
- Level 2 CV0.86 %
How to use it
The tool covers the two times a bench works these numbers out by hand.
- A new control lot. Run the new lot alongside the old one and paste its results, one per line, a column per level. Westgard's rule of thumb is at least 20 measurements over at least 10 working days, and preferably 20 working days, before you set limits. With fewer than 20 the tool says so and the limits are provisional.
- A monthly summary. Paste the month's results for each level. To carry the lot forward, enter last month's lot-to-date n, mean and SD: the tool adds this month to them and gives the lot-to-date statistics, which Westgard calls “a better representation of long term test performance” than one month alone.
- Print the summary for the QC binder (it carries a reviewed-by line), or copy it as tab-separated text into a spreadsheet. Then draw the limits on a Levey-Jennings chart.
Everything runs in this browser tab. Nothing you paste is sent to AssayDeck or stored.
What it calculates
For each control level, from its n results x₁ … xₙ:
mean = Σx ÷ nSD = √( Σ(x − mean)² ÷ (n − 1) )CV = SD ÷ mean × 100limits = mean ± 1 SD, ± 2 SD, ± 3 SD
The SD divides by n − 1. That is the sample standard deviation, the one Westgard's QC calculations lesson and Bio-Rad's statistics workbook both use, and the one QC software reports: twenty control results are a sample of everything the method will ever produce, not the whole population. In Excel that is STDEV.S, which “assumes that its arguments are a sample of the population”; STDEV.P treats the results as the entire population, divides by n, and comes out slightly smaller, more so when n is small.
Means and limits show one more decimal place than your results, and the SD two more. Westgard advises carrying extra figures and rounding at the end, after the limits are worked out.
For the lot to date, the previous summary and this period are pooled as if every result had been kept: Westgard totals the n, Σx and Σx² of each month, and the tool does the same algebra from the n, mean and SD you enter.
What the coefficient of variation means
The coefficient of variation (CV) is the standard deviation written as a percentage of the mean. An SD on its own is in the test's units, and it tends to grow as the concentration grows, so SDs at different levels or on different methods cannot be compared directly. The CV can.
Bio-Rad's workbook gives the classic case. One glucose method has an SD of 4.8, another 4.0, so the second looks more precise. But their means are 120 and 100, and 4.8 ÷ 120 and 4.0 ÷ 100 are both 4 %: they are equally precise.
Outside the lab the idea is the same. A CV of 2 % says the results scatter by about 2 % of their average; a CV of 20 % says they scatter ten times as widely.
Takeaway
Worked example
Bio-Rad's Basic Statistics in Laboratory Quality Control workbook works one control level by hand: a normal potassium control run once a day for a week, November 1 to 7, with results 4.0, 4.1, 4.0, 4.2, 4.1, 4.1 and 4.2 mmol/L. The button above the result loads those seven numbers. The “This tool” columns below are computed by the calculator's own code when the page is built.
| Statistic | Bio-Rad workbook | This tool | This tool, rounded to 0.1 |
|---|---|---|---|
| Sum of results | 28.7 | 28.7 | – |
| n | 7 | 7 | – |
| Mean | 4.1 | 4.10 | 4.1 |
| SD (n − 1) | 0.082 (0.1 rounded) | 0.082 | 0.1 |
| CV | Not worked | 1.99 % | – |
| ±1s range | 4.0 to 4.2 | 4.02 to 4.18 | 4.0 to 4.2 |
| ±2s range | 3.9 to 4.3 | 3.94 to 4.26 | 3.9 to 4.3 |
| ±3s range | 3.8 to 4.4 | 3.86 to 4.34 | 3.8 to 4.4 |
The mean and SD agree. The limits differ only because the workbook rounds the mean and SD to the nearest tenth before drawing them (potassium is reported to tenths, it explains); rounded the same way, the tool gives the workbook's 4.0 to 4.2, 3.9 to 4.3 and 3.8 to 4.4. Westgard's lesson checks the rest: the mean of 100, 105 and 98 is 303 ÷ 3 = 101, and a cholesterol control with a mean of 200 mg/dL and an SD of 4 has 2s limits of 192 and 208 and 3s limits of 188 and 212.
Seven results are a teaching set. They are fine for one week's review and too few to set a lot's limits.
Is my CV good enough?
There is no single number. Bio-Rad's workbook lists where to look for the precision to expect: the assay reagent insert or instrument manual, interlaboratory comparison programs, proficiency surveys, published method evaluations, and regulatory proficiency limits such as CLIA's.
The CLIA limit gives a sense of scale. Proficiency testing accepts a potassium result within ±0.3 mmol/L of the target (§ 493.931). The default level 1 control here has an SD under 0.03 mmol/L, so its random error uses a small part of that allowance. If the SD were a third of the limit, the ordinary ±3 SD scatter alone would fill it, with nothing left for bias. The sigma metric calculator puts that margin into one number.
Peer programs put a number on it. Your CV divided by the peer group's CV is the CV ratio; in Bio-Rad's guidance “Ratios greater than 1.5 indicate a need to investigate the cause of imprecision and any ratio greater than 2.0 indicates need for troubleshooting and corrective action”. The QC peer programs compared page sets out who offers that data.
Takeaway
What 42 CFR 493 says
CLIA does not name a formula or a CV target. It requires the numbers this tool produces and leaves the acceptability criteria to the lab:
- Statistical parameters “(for example, mean and standard deviation) for each batch and lot number of control materials must be defined and available” (§ 493.1256(d)(10)(i)).
- An assayed control's stated value may be used if it is for your method and instrument “and is verified by the laboratory” ((d)(10)(ii)); an unassayed control's parameters “must be established over time by the laboratory” ((d)(10)(iii)).
- Each quantitative procedure needs two control materials of different concentrations at least once each day patient specimens are assayed (§ 493.1256(d)(3)), unless the lab follows an approved individualized quality control plan; see how often to run QC.
- QC records are kept “for at least 2 years” (§ 493.1105(a)(3)), so keep each monthly summary with its charts.
The laboratory must document all control procedures performed.
Takeaway