Coefficient of Variation Calculator
Spread expressed relative to the mean, so data sets in different units can be compared.
The formula
Dividing the standard deviation by the mean cancels the units. What is left is relative spread — a number you can compare between data sets measured in entirely different things.
What it is for
A standard deviation of 15 tells you nothing until you know the scale. Fifteen grams is enormous variability for a pharmaceutical dose and invisible for a shipment of gravel. The CV makes the comparison possible: 15 on a mean of 20 is a CV of 75%; 15 on a mean of 3000 is 0.5%.
It is used routinely in laboratory quality control, where an assay's CV measures its precision, and in finance, where it compares the risk of investments with different expected returns.
When it does not apply
The CV needs a meaningful zero — a ratio scale, where "twice as much" is a sensible sentence. Three situations break it:
- The mean is zero. The calculation divides by it, so there is no answer. The calculator says so rather than printing a number.
- The mean is near zero. Small changes in the mean swing the CV wildly. A tiny denominator makes the ratio unstable and untrustworthy.
- The data is on an interval scale. Temperature in Celsius is the standard example: 0 °C is a convention, not an absence of temperature, so the CV of a set of Celsius readings changes if you convert them to Fahrenheit. The number computes; it just does not mean anything.
Worked example
Comparing two measurements on different scales
The weights have twice the standard deviation, but they are also measured on a different scale.
- Heights: CV = 4.7 ÷ 171.6 ≈ 2.7%
- Weights: CV = 9.4 ÷ 68.2 ≈ 13.8%
Relative to their own averages, the weights vary about five times as much — a conclusion the raw standard deviations understate.