The coefficient of variation (CV) measures how spread out a set of values is compared with its average. A standard deviation of 4 means little on its own: it is large for values around 10 and tiny for values around 1,000. Dividing by the mean puts the spread on a relative scale, so you can compare data sets measured in different units or at very different levels. This calculator gives the CV of two data sets and shows how they compare.
How the calculation works
- CV = standard deviation ÷ mean × 100, in percent
- Comparison = CV of B ÷ CV of A
The calculator uses the absolute value of the mean, but the CV is only meaningful for ratio-scale data with a positive mean, such as weights, durations and prices.
Example
Data set A has a mean of 50 and a standard deviation of 4, so its CV is 8%. Data set B has a mean of 12 and a standard deviation of 3.6, which gives 30%. B has the smaller standard deviation but is 3.75 times more variable in relative terms, since its spread is a large share of its average.
Where the CV is used
- Laboratories use it to express the precision of an assay, where a CV under 5% to 10% is typical.
- Finance compares the risk per unit of return of different investments.
- Manufacturing checks the consistency of a process, such as the weight of filled packages.
- Biology and agriculture compare variation between traits or crops measured in different units.
Things to watch
The CV is sensitive to small means: when the mean approaches zero, the ratio grows without limit. It also assumes the standard deviation is a good summary of the spread, which is less true for very skewed data. For small samples the sample standard deviation is a biased estimate, so treat the CV as an approximation and report the sample size alongside it.