Coefficient of Variation Calculator

The coefficient of variation shows how large the spread of your data is compared with its average. Enter a list of numbers and the calculator returns the coefficient of variation as a percent, using both the sample and the population standard deviation, along with the mean and the standard deviations it is built from. Separate numbers with commas, spaces or new lines; the math runs in your browser.

Inputs

Separate numbers with commas, spaces or new lines.

Result

Coefficient of variation (sample)
12.16%
Coefficient of variation (population)
10.88%
Mean
13
Sample standard deviation
1.58114
Population standard deviation
1.41421

How it is calculated

  1. Coefficient of variation = s ÷ |mean| × 100%
  2. Coefficient of variation = σ ÷ |mean| × 100%
  3. Mean = Σx ÷ n
  4. Sample standard deviation s = √(Σ(x − mean)² ÷ (n − 1))
  5. Population standard deviation σ = √(Σ(x − mean)² ÷ n)

Resources for your next step

Helpful downloads

View all statistics & probability downloads
Store coming soon

We are preparing practical spreadsheets, planners, and guides. Explore the store page for what is next.

What the coefficient of variation tells you

The coefficient of variation, or CV, is the standard deviation divided by the mean, written as a percent. Because it is relative, it lets you compare variability between data sets with different units or very different averages, such as the consistency of two machines, two investments or two lab methods.

For the example 12, 15, 11, 14 and 13, the mean is 13. The sample standard deviation is about 1.581, so the sample CV is 1.581 ÷ 13 × 100 ≈ 12.16%. Using the population standard deviation of about 1.414 gives a CV of about 10.88%.

Sample or population

Use the sample CV when your numbers are a sample from a larger group, which is the usual case for measurements and experiments. Use the population CV when your list is the complete group. The only difference is whether the standard deviation divides the squared deviations by n − 1 or by n.

For long lists the two versions are almost equal. For short lists, such as the five values in the example, the sample version is noticeably larger, so state which one you report.

When the CV makes sense

The coefficient of variation is meaningful for data measured on a ratio scale, where zero means none of the quantity, such as weights, prices, times and counts. It is not meaningful for values like temperatures in Celsius or Fahrenheit, where zero is an arbitrary point, because the same spread would give very different CVs on the two scales.

When the mean is zero the CV is undefined, and the calculator shows no result. When the mean is close to zero, the CV becomes very large and unstable, so a small change in the data can change it a lot. Negative means are handled by dividing by the mean's absolute value.

Reading the result

Lower percentages mean more consistent data relative to its size. What counts as low depends on the field: precise lab measurements may have a CV of a few percent, while sales or biological data can easily exceed 30%. Compare CVs only between data sets that measure similar things.

At least two numbers are needed. Results show the CV to two decimal places and the other values to six significant digits, while the calculation keeps full precision.

Frequently asked questions

How do I calculate the coefficient of variation?

Divide the standard deviation by the mean and multiply by 100. For 12, 15, 11, 14 and 13 the sample CV is about 12.16%.

Should I use the sample or population CV?

Use the sample CV for a sample from a larger group and the population CV when your list is the whole group.

Why is there no result when the mean is zero?

The CV divides by the mean, and dividing by zero has no answer.

Can I compare data with different units?

Yes. The CV is unitless, which is its main advantage over the standard deviation.

Is a CV above 100% possible?

Yes. It means the standard deviation is larger than the mean, which happens with very spread-out data.

Can I use it for temperatures?

Not on Celsius or Fahrenheit scales, because their zero points are arbitrary. It works for data where zero means none.

Sources

Results are calculated in your browser from the numbers you enter and rounded for display. Check that the data and the sample or population choice fit your task.

All statistics & probability tools