Coefficient of Variation: Formula, Examples and How to Calculate It
Standard deviation tells you how spread out data is, but it cannot easily compare datasets with different units or very different averages. The coefficient of variation (CV) solves this. It shows variation relative to the mean, so you can compare the consistency of almost any two sets of positive, ratio-scale data. This guide explains the coefficient of variation formula, works through coefficient of variation examples step by step, shows how to calculate it in Excel, and explains how to interpret the result.
You might also find these useful: random sampling and parameter vs statistic.
What is the coefficient of variation?
The coefficient of variation is the ratio of the standard deviation to the mean. It is also called relative standard deviation (RSD). Because the units cancel out, the CV has no units and is usually shown as a percentage.
A lower CV means the data is more consistent relative to its average. A higher CV means more relative variability.
The coefficient of variation formula
| Version | Formula | Use when |
|---|---|---|
| Sample CV | CV = (s ÷ x̄) × 100% | Your data is a sample from a larger population (most common) |
| Population CV | CV = (σ ÷ μ) × 100% | You have data for every item in the population |
Here s is the sample standard deviation, x̄ is the sample mean, σ is the population standard deviation and μ is the population mean.
How to calculate the coefficient of variation step by step
A quality manager wants to compare the consistency of two production lines making the same product. The data below is illustrative.
Line A (units per hour): 45, 48, 46, 50, 47, 49, 48, 46, 51, 48
Line B (units per hour): 38, 52, 41, 55, 39, 54, 40, 53, 42, 51
Step 1: Calculate the mean
Line A: 478 ÷ 10 = 47.8 units per hour.
Line B: 465 ÷ 10 = 46.5 units per hour.
Step 2: Find each deviation from the mean and square it
| Line A value | Deviation (x − 47.8) | Squared |
|---|---|---|
| 45 | −2.8 | 7.84 |
| 48 | 0.2 | 0.04 |
| 46 | −1.8 | 3.24 |
| 50 | 2.2 | 4.84 |
| 47 | −0.8 | 0.64 |
| 49 | 1.2 | 1.44 |
| 48 | 0.2 | 0.04 |
| 46 | −1.8 | 3.24 |
| 51 | 3.2 | 10.24 |
| 48 | 0.2 | 0.04 |
| Sum | 0 | 31.60 |
For Line B, the sum of squared deviations from 46.5 is 442.50.
Step 3: Calculate the sample standard deviation
Divide the sum of squares by n − 1 = 9, then take the square root.
Line A: √(31.60 ÷ 9) = √3.511 = 1.87 units per hour.
Line B: √(442.50 ÷ 9) = √49.167 = 7.01 units per hour.
Step 4: Apply the CV formula
Line A: CV = (1.87 ÷ 47.8) × 100% = 3.92%.
Line B: CV = (7.01 ÷ 46.5) × 100% = 15.08%.
Interpreting the result
Both lines have similar average output (47.8 and 46.5 units per hour). Line A has a CV of 3.92% and Line B has a CV of 15.08%. Line B varies almost four times as much relative to its mean. Line A is far more predictable, so it is easier to plan staffing, materials and delivery around it.
There is no single "good" CV. A CV that is fine for monthly sales may be far too high for a machined part dimension. Compare CVs for similar processes, or track the CV of one process over time.
Coefficient of variation examples from different fields
| Field | Example (illustrative) | Mean | SD | CV |
|---|---|---|---|---|
| Supply chain | Supplier delivery time (days) | 5.3 | 0.48 | 9.1% |
| Customer service | Call handling time (minutes) | 8.0 | 2.0 | 25.0% |
| Finance | Annual return of a fund (%) | 8.0 | 12.0 | 150.0% |
| Laboratory | Repeat measurements of a control sample (mg/L) | 100.0 | 2.5 | 2.5% |
| Manufacturing | Fill weight of a bottle (g) | 500.0 | 4.0 | 0.8% |
Worked example: supplier selection
A procurement manager compares three suppliers on delivery time consistency. The data is illustrative, and the CVs use the sample standard deviation.
| Supplier | Delivery times (days) | Mean | SD | CV |
|---|---|---|---|---|
| X | 3, 3, 4, 3, 4, 3, 5, 3, 4, 3 | 3.5 | 0.71 | 20.20% |
| Y | 7, 6, 8, 7, 7, 6, 9, 7, 8, 7 | 7.2 | 0.92 | 12.76% |
| Z | 5, 5, 6, 5, 5, 6, 5, 6, 5, 5 | 5.3 | 0.48 | 9.11% |
Supplier X is fastest on average, but Supplier Z is the most consistent. If reliable planning matters more than speed, Supplier Z is the better choice. The CV makes this trade-off clear.
How to calculate the coefficient of variation in Excel
- Enter your data in one column, for example A2:A11.
- For a sample, type
=STDEV.S(A2:A11)/AVERAGE(A2:A11). - For a population, type
=STDEV.P(A2:A11)/AVERAGE(A2:A11). - Format the cell as a percentage.
For Line A above, the sample formula returns 3.92%.
Coefficient of variation vs standard deviation vs variance
| Measure | Units | What it tells you | Compare different units? |
|---|---|---|---|
| Variance | Squared units | Average squared distance from the mean | No |
| Standard deviation | Same units as the data | Typical distance from the mean | No |
| Coefficient of variation | None (percentage) | Spread relative to the mean | Yes |
Limitations of the coefficient of variation
- Means near zero: the CV becomes very large and unstable.
- Interval scales: the CV is not meaningful for data without a true zero, such as temperature in degrees Celsius.
- Negative values: the CV is hard to interpret when data can be negative.
- Outliers: both the mean and the standard deviation are sensitive to extreme values. Check for outliers first.
- Small samples: the CV from a few data points is uncertain. Report the sample size.
How the coefficient of variation links to process improvement
Reducing variation is at the heart of Six Sigma. The CV is a quick way to compare the consistency of lines, shifts, suppliers or sites, and to show whether an improvement made a process more stable. It works well alongside process capability and statistical process control.
For example, after a team standardises a changeover method, it can compare the CV of cycle time before and after the change. A clear drop in CV is evidence that the new standard reduced variation.
Our Lean Six Sigma Yellow Belt online training introduces these measures. The Green Belt teaches you to use them to lead full improvement projects.
Frequently asked questions
What is the coefficient of variation?
The coefficient of variation (CV) is the standard deviation divided by the mean, usually shown as a percentage: CV = (s / x̄) × 100%. It measures variability relative to the size of the average.
What is an example of the coefficient of variation?
Process A averages 50 minutes with a standard deviation of 5 minutes, so its CV is 10%. Process B averages 200 minutes with a standard deviation of 10 minutes, so its CV is 5%. Process B varies more in minutes, but Process A is more variable relative to its average.
What is the difference between variance and the coefficient of variation?
Variance is the average squared deviation from the mean and is expressed in squared units. The CV has no units and is relative to the mean, so it can compare datasets with different units or very different averages. Variance cannot.
What does the coefficient of variation tell you?
It tells you how consistent a dataset or process is relative to its typical value. A lower CV means more consistent results; a higher CV means more relative variation.
When should you not use the coefficient of variation?
Use it only for ratio data with a true zero and a mean well above zero. It becomes unreliable when the mean is close to zero, and it is meaningless for scales such as temperature in degrees Celsius.