Coefficient of Variation Calculator

Paste your data, or type a mean and standard deviation from a paper, to get the coefficient of variation (CV = SD / mean × 100%). With raw data you also get the sample and population SD, the variance, standard error and the deviation of each value from the mean, so the CV can be checked by hand.

Enter

Paste numbers separated by spaces, commas or new lines, for example a column copied from Excel.

These values are

Sample SD divides by n − 1. Use it when the data are a sample from a larger group, which is almost always the case in research.

Confidence level

Load a worked example

Coefficient of variation (sample SD)

5.97%

CV = 0.819 / 13.730 × 100, from 10 values.

Count (n)
10
Mean
13.730
Median
13.800
Sample SD (s)
0.819
Population SD (σ)
0.777
Sample variance (s²)
0.671
Population variance (σ²)
0.604
Standard error (SEM)
0.259
95% CI for the mean
13.144 to 14.316
Coefficient of variation
5.97%
sample SD / mean
Minimum to maximum
12.500 to 15.000
range 2.500
Q1 to Q3
13.125 to 14.325
IQR 1.200
Sum
137.300
Sum of squares Σ(x − x̄)²
6.041
Step by step: deviations from the mean
Deviation of each value from the mean
#xx − x̄(x − x̄)²
113.200−0.5300.281
214.1000.3700.137
312.800−0.9300.865
415.0001.2701.613
513.700−0.0300.001
612.500−1.2301.513
714.4000.6700.449
813.9000.1700.029
913.100−0.6300.397
1014.6000.8700.757

Σ(x − x̄)² = 6.041. Sample variance = 6.041 / 9 = 0.671, so s = √0.671 = 0.819. Population variance = 6.041 / 10 = 0.604, so σ = 0.777.

Report it like this

The 10 values had a mean of 13.730 (SD = 0.819, SEM = 0.259; 95% CI 13.144 to 14.316); the coefficient of variation was 6.0%.

How to use the calculator

  1. Choose what you have. Paste the raw values (spaces, commas or new lines all work), or switch to “Mean and SD” to convert a mean and standard deviation reported in a paper.
  2. Choose sample or population for raw data. The sample SD is the usual choice and matches Excel’s STDEV.S.
  3. Read the CV as a percentage, and copy the report sentence.

Coefficient of variation formula

CV = s / x̄ × 100%

The coefficient of variation is the standard deviation divided by the mean. It has no units, so it can compare the spread of measurements taken on different scales, such as body weight in kilograms and height in centimetres, or an assay run at a low and a high concentration. In analytical chemistry it is often called the relative standard deviation (RSD).

In Excel, the CV is =STDEV.S(A1:A10)/AVERAGE(A1:A10), formatted as a percentage. This calculator divides by the absolute value of the mean, so a negative mean still gives a positive CV, but see the warnings below before reporting one.

Worked examples

  • Hemoglobin of 10 patients (the default): mean 13.73 g/dL, sample SD 0.819 g/dL, so CV = 0.819 / 13.73 × 100 = 5.97%.
  • Lab precision: one sample assayed 6 times gives 101.2, 99.8, 100.5, 98.9, 100.9 and 99.6. The mean is 100.15 and the SD 0.869, so the intra-assay CV is 0.87%.
  • From a paper: a reported mean of 13.73 and SD of 0.82 give a CV of 5.97%. Switch to “Mean and SD” to do this without the raw data.

What is a good coefficient of variation?

It depends on the field. For laboratory assays, kit makers commonly quote intra-assay CVs below 10% and inter-assay CVs below 15%, and the FDA’s bioanalytical method validation guidance accepts precision up to 15% CV (20% at the lower limit of quantification). Biological measurements between people usually vary far more than repeated measurements of one sample.

The CV is only meaningful for data on a ratio scale with a true zero, such as concentrations, weights, counts or times. It should not be used for temperatures in °C, change scores, z-scores or any variable that can be negative, and it becomes unstable when the mean is close to zero. In those cases report the standard deviation itself, which the standard deviation calculator gives with each step.

How to report the coefficient of variation

Give the CV as a percentage, say whether it is within-run (intra-assay) or between-run (inter-assay) for lab data, and state how many replicates it was based on:

The intra-assay coefficient of variation was 0.9% (6 replicates of one control sample).

For agreement between two methods or two raters on a continuous measure, the CV is not enough on its own; Bland-Altman limits of agreement or the intraclass correlation coefficient are usually expected. For two raters assigning categories, use the Cohen’s kappa calculator.

Questions

How do you calculate the coefficient of variation?
Divide the standard deviation by the mean and multiply by 100 to express it as a percentage. With a mean of 13.73 and an SD of 0.819, the CV is 0.819 / 13.73 × 100 = 5.97%.
What is a good coefficient of variation?
For laboratory assays, an intra-assay CV under 10% and an inter-assay CV under 15% are common targets. In other fields there is no fixed threshold; a lower CV simply means the values are more consistent relative to their mean.
Is the coefficient of variation the same as the relative standard deviation?
Yes. The relative standard deviation (RSD or %RSD) used in chemistry and pharmaceutical analysis is the coefficient of variation expressed as a percentage.
Should I use the sample or population SD for the CV?
Use the sample SD (n − 1) in almost all cases, including assay precision from replicates. The population SD gives a slightly smaller CV and is only appropriate when the values are the entire population of interest.
Can the coefficient of variation be more than 100%?
Yes. A CV above 100% means the standard deviation is larger than the mean, which is common for skewed data such as hospital stay lengths, costs or counts with many zeros. For such data the median and interquartile range are often better summaries.
When should I not use the coefficient of variation?
Do not use it for data that can be negative or that lack a true zero, such as temperatures in °C or change from baseline, and avoid it when the mean is near zero, because the CV then becomes very large and unstable.

Sources