Coefficient of Variation Calculator (CV in %)
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free coefficient of variation calculator. Paste your numbers to get the CV as a percentage, with the mean and sample and population standard deviation.
- Mean
- 0
- Standard deviation
- 0
- Count
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the coefficient of variation calculator
- Paste or type your numbers, separated by commas, spaces or new lines.
- Choose sample or population. Use sample (n − 1) when your data is a sample from a larger group, which is the usual case. Use population (n) when your data covers every member of the group.
The coefficient of variation calculator shows the coefficient of variation (CV) as a percentage, along with the mean, the standard deviation and the number of values.
What is the coefficient of variation?
The coefficient of variation is the standard deviation divided by the mean, usually expressed as a percentage:
CV = standard deviation ÷ mean × 100
It measures how spread out data is relative to its average. The standard deviation on its own tells you the spread in the data's units, such as 5 kg or 12 seconds. The CV turns that into a proportion of the mean, so you can compare variability between data sets with different units or very different averages.
For example, a standard deviation of 5 means very different things for data with a mean of 10 and data with a mean of 1,000. In the first case, the CV is 50%, which is a lot of variation. In the second, it's 0.5%, which is very little.
The coefficient of variation is also called the relative standard deviation (RSD), especially in chemistry and laboratory work.
How the coefficient of variation calculator works
- Mean: add all the values and divide by how many there are.
- Standard deviation: for a sample, take the square root of the sum of squared differences from the mean divided by n − 1. For a population, divide by n instead.
- CV: divide the standard deviation by the mean and multiply by 100.
With the default numbers, 10, 12, 23, 23, 16, 23, 21 and 16, the mean is 18. The sample standard deviation is about 5.237, so the CV is 5.237 ÷ 18 × 100 ≈ 29.10%. Using the population standard deviation of about 4.899, the CV is about 27.22%.
A worked example: comparing consistency
Two machines fill bags of product. Machine A's last five bags weighed 50, 52, 48, 51 and 49 grams. Machine B is a smaller machine whose bags weighed 5, 8, 3, 7 and 2 grams.
- Machine A: mean 50 g, sample standard deviation about 1.581 g, CV about 3.16%.
- Machine B: mean 5 g, sample standard deviation about 2.550 g, CV about 50.99%.
Even though the standard deviations are similar in size, Machine B is far less consistent relative to the amount it fills. Enter each set of numbers in the coefficient of variation calculator to check.
When to use the coefficient of variation
The CV is most useful when:
- Comparing variability across different scales, such as the consistency of heights and weights, or of prices for cheap and expensive items.
- Comparing variability across different units, because the CV has no units.
- Assessing the precision of measurements, such as repeated laboratory assays, where a low CV shows good repeatability.
- Comparing risk and return, where the CV of returns shows the risk per unit of average return.
When not to use it
The coefficient of variation only makes sense for data measured on a ratio scale, which has a true zero, such as weight, length, time, money or counts. It isn't meaningful for data on an interval scale with an arbitrary zero, such as temperature in degrees Celsius or Fahrenheit. A temperature series with a mean of 1 °C would have an enormous CV, but converting the same temperatures to Fahrenheit would give a completely different CV, even though nothing has changed.
The CV also becomes unstable when the mean is close to zero, because dividing by a small number makes the result very large. And if the data includes both positive and negative values, such as profits and losses, the CV can be misleading. The coefficient of variation calculator warns you if the mean is negative or the data includes negative values.
What is a good coefficient of variation?
There's no universal threshold; it depends on the field. In analytical chemistry, a CV below a few percent is often expected for repeated measurements of the same sample. In biological and clinical studies, CVs of 10% to 20% are common. In manufacturing, the acceptable CV depends on the tolerances of the product. In finance, a lower CV of returns means less risk per unit of return. The most useful comparison is usually between processes, methods or groups measured the same way.
Who uses a coefficient of variation calculator
Laboratory scientists use it to check the precision of assays and instruments. Quality engineers use it to compare the consistency of machines and processes. Researchers use it to compare variability between groups or studies. Investors use it to compare the risk of investments with different average returns. Students use it in statistics, biology and business courses.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.
Sample or population?
The choice between sample and population standard deviation matters most for small data sets. With 8 values, the sample standard deviation is about 7% larger than the population one, because it divides by 7 instead of 8. With 100 values, the difference is only about 0.5%. In most practical situations, your data is a sample: a few measurements, a survey or a period of time from a longer history. Use the sample option unless you genuinely have every member of the group. The standard deviation calculator shows both versions in more detail.
CV in finance
In investing, the coefficient of variation of returns compares how much an investment's returns vary with how much it returns on average. An investment with an average return of 8% and a standard deviation of 12% has a CV of 150%; one with an average return of 5% and a standard deviation of 5% has a CV of 100%. The second gives more return per unit of risk by this measure. The Sharpe ratio calculator offers a related measure that also accounts for the risk-free rate, which is more commonly used by professionals.
CV in laboratory work
Laboratories often report intra-assay CV (variation within one run) and inter-assay CV (variation between runs on different days). Running the same control sample several times and entering the results into the coefficient of variation calculator shows how repeatable a method is. Many laboratories set acceptance limits on these CVs as part of their quality control.
Outliers
Because the standard deviation squares the differences from the mean, a single extreme value can raise the CV dramatically. Before relying on a CV, check your data for errors and outliers. If outliers are genuine and important, consider reporting a more robust measure alongside the CV, such as the interquartile range divided by the median.
Common mistakes
- Using the CV for temperatures in Celsius or Fahrenheit, or other data without a true zero.
- Calculating the CV when the mean is near zero, which makes it unstable.
- Mixing up sample and population standard deviations.
- Comparing CVs from data measured with different methods without checking that they're comparable.
Comparing groups of different sizes
The coefficient of variation is handy for comparing consistency across groups that differ in size as well as scale. A sales team might compare the monthly variability of a small region, averaging 20 sales a month, with a large one averaging 500. The standard deviations would be very different, but the CVs show which region's sales are more predictable relative to its average. Paste each region's monthly figures into the coefficient of variation calculator in turn. If the CVs differ a lot, ask why: seasonality, a few large one-off orders or changes in staffing can all raise variability.
Sources and further reading
- Coefficient of variation on Wikipedia: definition, uses and limitations.
- NIST/SEMATECH e-Handbook of Statistical Methods: Measures of scale, standard deviation and related measures.
- Standard deviation on Wikipedia: sample and population formulas.
Frequently asked questions
How is the coefficient of variation calculated?
Divide the standard deviation by the mean and multiply by 100 to get a percentage.
What does a high CV mean?
The data is very spread out relative to its average.
Should I use sample or population?
Use sample (n − 1) unless your data includes every member of the group.
Can I use the CV for temperatures?
Not in Celsius or Fahrenheit, because those scales have no true zero. It works for Kelvin.
Is CV the same as relative standard deviation?
Yes. Relative standard deviation is another name for the coefficient of variation.
Is the coefficient of variation calculator free?
Yes. It's free, needs no sign-up, and works in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.