Which dataset is more consistent? Standard deviation alone can’t say — a big mean inflates it. The coefficient of variation (CV) divides the spread by the mean, giving a unit-free percentage you can compare across very different scales.
The example
Two products’ monthly sales — same average, different consistency.
| A | B | C | |
|---|---|---|---|
| 1 | Measure | Product A | Product B |
| 2 | Average | 100 | 100 |
| 3 | Std dev | 12 | 34 |
| 4 | CV | 12% | 34% |
The formula
Relative spread as a percentage:
How it works
CV normalizes the spread so scales don’t matter:
- Compute the standard deviation with STDEV (sample) — the absolute spread of the data.
- Divide by the mean from AVERAGE. This strips out the units and the scale.
- The result is a ratio; format it as a percentage. 12% means the typical deviation is 12% of the average.
- Because it’s unit-free, you can compare a CV across datasets with totally different magnitudes — sales in dollars vs counts in units.
Sample vs population: use STDEV (or STDEV.S) when your data is a sample, and STDEVP (STDEV.P) when it’s the entire population. The CV formula is the same — just swap the standard-deviation function.
Try it: interactive demo
Enter values (one per line); see the CV.
Variations
Population CV
Whole population, not a sample:
As a clean percentage
Round for reporting:
Inverse (consistency ratio)
Higher = steadier:
Pitfalls & errors
Mean near zero breaks it. Dividing by a tiny or zero average produces a huge or #DIV/0! result. CV is only meaningful for data with a positive, non-trivial mean.
Not for data with negatives. CV assumes positive values (like the ratio scale of sales or measurements). Mixed-sign data makes it meaningless.
Sample vs population. STDEV and STDEVP differ; small samples especially. Pick the one that matches your data.
Practice workbook
Frequently asked questions
How do I calculate the coefficient of variation in Excel?
When should I use CV instead of standard deviation?
Should I use STDEV or STDEVP?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class