Skip to main content
Science & Math

Coefficient of Variation Calculator

Coefficient of variation calculator with steps. Enter data or a mean and SD to get CV%, standard deviation and variance, sample or population.

Created by Muhammad Asif Zaheer
Reviewed by CalculatorPlanet Editorial Team

Published

Last updated

The data
n = 8 values: 12, 15, 11, 14, 13, 17, 16, 12
Mean
Mean = sum / n = 110 / 8 = 13.75
Deviations from the mean, squared
12 − 13.75 = -1.75, squared = 3.0625 15 − 13.75 = 1.25, squared = 1.5625 11 − 13.75 = -2.75, squared = 7.5625 14 − 13.75 = 0.25, squared = 0.0625 13 − 13.75 = -0.75, squared = 0.5625 17 − 13.75 = 3.25, squared = 10.5625 16 − 13.75 = 2.25, squared = 5.0625 12 − 13.75 = -1.75, squared = 3.0625 Sum of squares = 31.5
Sample variance and standard deviation
Variance = 31.5 / (n − 1) = 31.5 / 7 = 4.5 Standard deviation = √(4.5) = 2.121320344
Coefficient of variation
CV = SD / |mean| = 2.121320344 / 13.75 = 0.1542778432 CV% = 15.4278%
Result
CV = 15.4278% (sample SD 2.121320344, mean 13.75, n = 8)
Coefficient of variation (CV%)
15.43%
Standard deviation
2.121
Variance
4.500
Mean
13.750
Number of values
8
Sum of squared deviations
31.500

How the Coefficient of Variation Calculator Formula Works

The coefficient of variation, CV, measures how large the spread of your data is compared with its average. It is the standard deviation divided by the mean, and it is usually shown as a percentage, CV% = SD / |mean| x 100. Because the units cancel, you can compare the variability of data measured in different units or at very different scales. In laboratories the same number is called the relative standard deviation, RSD or %RSD.

To get the standard deviation from raw data, the calculator first finds the mean, then the distance of each value from the mean, squares those distances and adds them. For a sample it divides that sum by n − 1 to get the variance, and for a whole population it divides by n. The standard deviation is the square root of the variance.

If you already know the mean and standard deviation, for example from a report, you can enter them directly and the calculator divides one by the other. A negative mean is handled with its absolute value so the CV stays positive, and a mean of zero is rejected because the CV is undefined there. The CV only makes sense for data measured on a ratio scale, where zero means none of the quantity.

CV = standard deviation / |mean|; CV% = CV × 100; sample SD = √( sum (x − mean)2 / (n − 1) )
What goes in, what comes out
  • meansame as data50The average of the values, sum divided by n.
  • SDsame as dataThe standard deviation, the square root of the variance.
  • ncountHow many values; the sample variance divides by n - 1.
  • CV%%Standard deviation as a percentage of the absolute mean.
Coefficient of variation (CV%)
15.43
Values shown are from the worked example below
mean
same as data
The average of the values, sum divided by n.
SD
same as data
The standard deviation, the square root of the variance.
n
count
How many values; the sample variance divides by n - 1.
CV%
%
Standard deviation as a percentage of the absolute mean.

Using the Coefficient of Variation Calculator

  1. Enter what do you have?

    Choose from A list of numbers, A mean and a standard deviation.

  2. Enter data (numbers separated by commas or spaces)

    Type the figure you already have, then press Calculate.

  3. Enter standard deviation type

    Choose from Sample (divide by n - 1), Population (divide by n).

  4. Enter mean

    Type the figure you already have, then press Calculate.

  5. Enter standard deviation

    Type the figure you already have, then press Calculate.

  6. Read the result

    Press Calculate to update the result. Until you do, the last result is dimmed and marked as out of date, so you always know which numbers belong to the values in the boxes.

A Real Worked Example

Take the eight values 12, 15, 11, 14, 13, 17, 16, 12 as a sample. The sum is 110, so the mean is 110 / 8 = 13.75. The squared deviations from the mean add up to 31.5.

The sample variance is 31.5 / 7 = 4.5 and the standard deviation is its square root, 2.121. The coefficient of variation is 2.121 / 13.75 = 0.1543, which is 15.43%.

1
mode
data
2
basis
sample
3
data
12, 15, 11, 14, 13, 17, 16, 12
4
mean
50
5
sd
4
This calculator returns15.43cv2.121sd4.5variance13.75mean8count31.5sumSquares

Population standard deviation

Use the same eight values but treat them as a whole population. The sum of squares is still 31.5 but now it is divided by n = 8, giving a variance of 3.9375.

The standard deviation is 1.984 and the CV is 1.984 / 13.75 = 14.43%. That is a little below the sample figure, 15.43%, because the divisor is larger.

mode: databasis: populationdata: 12, 15, 11, 14, 13, 17, 16, 12mean: 50sd: 414.43cv1.984sd3.938variance13.75mean8count31.5sumSquares

From a mean and standard deviation

A report gives a mean of 50 and a standard deviation of 4. Switch to the mean and SD option and enter them. The CV is 4 / 50 = 0.08, or 8%.

The variance is the square of the SD, 16. No raw data are needed, and no count or sum of squares is shown because they cannot be recovered from two numbers.

mode: summarybasis: sampledata: 12, 15, 11, 14, 13, 17, 16, 12mean: 50sd: 48cv4sd16variance50mean

Replicate measurements (RSD)

Six replicate assay readings are 98.2, 101.5, 99.8, 100.4, 97.9, 102.1. The mean is 99.983 and the sample standard deviation is 1.703.

The relative standard deviation is 1.703 / 99.983 × 100 = 1.7%. A value this low means the readings agree closely with each other compared with their size.

mode: databasis: sampledata: 98.2, 101.5, 99.8, 100.4, 97.9, 102.1mean: 50sd: 41.7cv1.703sd2.902variance99.983mean6count14.508sumSquares

A CV above 100 percent

Suppose the mean is 2.5 and the standard deviation is 3.1. The CV is 3.1 / 2.5 = 1.24, which is 124%.

The spread is larger than the average, which usually means a skewed set, with a few large values among many small ones. The variance is 9.61.

mode: summarybasis: sampledata: 12, 15, 11, 14, 13, 17, 16, 12mean: 2.5sd: 3.1124cv3.1sd9.61variance2.5mean

Ten test scores

Ten test scores are 85, 90, 78, 92, 88, 95, 70, 83, 91, 87. The mean is 85.9 and the sum of squared deviations is 492.9.

The sample variance is 492.9 / 9 = 54.767, the standard deviation is 7.4 and the CV is 8.62%. The scores are relatively tight around their average.

mode: databasis: sampledata: 85, 90, 78, 92, 88, 95, 70, 83, 91, 87mean: 50sd: 48.62cv7.4sd54.767variance85.9mean10count492.9sumSquares

What Else to Know

What the Coefficient of Variation Means

The coefficient of variation, or CV, tells you how big the variation in a data set is relative to its mean. It is the standard deviation divided by the mean, so it has no units, and it is often written as a percentage. A CV of 15.4% means the standard deviation is about 15.4 percent of the average.

Coefficient of variation formula diagram: mean 13.75, SD 2.121, divide to get 0.1543, times 100 for 15.43 percent

That unit-free property is the point. A standard deviation of 5 is huge on a mean of 10 and trivial on a mean of 500. The CV puts both on the same footing: 5% against 1%. It lets you compare the consistency of things measured in different units or on different scales.

What does the coefficient of variation mean in plain words? It is a measure of relative spread. Lower means more consistent, higher means more scattered.

How to Calculate the Coefficient of Variation

Follow five steps. First find the mean, the sum divided by n. Second subtract the mean from every value. Third square each difference and add them up. Fourth divide that sum by n − 1 for a sample, or by n for a population, to get the variance, and take the square root for the standard deviation. Fifth divide the standard deviation by the absolute mean, and multiply by 100 for a percentage.

Worked example flow: sum 110, mean 13.75, sum of squares 31.5, variance 4.5, SD 2.121 and CV 15.43 percent

For 12, 15, 11, 14, 13, 17, 16, 12, the mean is 13.75, the sum of squares is 31.5, the sample variance is 4.5, the SD is 2.1213 and CV% is 15.43.

The solution view in the calculator shows these steps for your own numbers, which makes it a handy way to check coefficient of variation solved examples from a textbook.

Dot plot of eight values with the mean 13.75 marked and green lines showing each deviation from the mean

Sample or Population: Which Standard Deviation?

If your numbers are a sample drawn from a larger group, use the sample standard deviation, which divides by n − 1. If your numbers are the whole group, use the population version, which divides by n. In Excel these are STDEV.S and STDEV.P.

Bar charts comparing sample and population CV, 15.43 and 14.43 percent, and standard deviation for the same data

The choice matters most for small data sets. With eight values the sample CV is 15.43% and the population CV is 14.43%. As n grows, the two converge. When in doubt, and your data came from measurements or a survey, use the sample.

If you only have a mean and standard deviation from a report, choose the mean and SD option. The calculator then uses the standard deviation exactly as you give it.

CV% and RSD in the Lab

In analytical chemistry and quality control, the same quantity is called the relative standard deviation, RSD or %RSD, and it is used to express the precision and repeatability of an assay. How do you calculate RSD? Exactly like the CV: standard deviation over mean, times 100.

Bar chart of CV for a standard deviation of 5 at means 10, 20, 50, 100 and 500

For six replicate readings 98.2, 101.5, 99.8, 100.4, 97.9, 102.1, the RSD is 1.7%. Whether that is good enough depends on the method and on the limit set by the standard or specification that applies to your work, not on this calculator.

Use the data mode and paste the replicate results. The standard deviation here uses n − 1 by default, which is the usual choice for replicates.

What Is a Good CV% and How to Interpret It

There is no universal good value. A CV is only meaningful against what is normal for the quantity you measure. Weights of manufactured parts can have a CV of a few percent, while strongly skewed quantities, such as waiting times, can have a much larger CV.

Colour scale of CV bands under 5, 5 to 15, 15 to 30 and over 30 percent with the page examples marked

The reading table on this page gives an informal guide: under 5 percent is very consistent, over 30 percent is large. That is a rule of thumb for reading examples, not a standard. If a method, regulator or client sets a limit, use that.

Use the CV mainly to compare. The ten test scores have a CV of 8.6% and the eight values have 15.4%, so the scores are relatively more consistent.

Table of CV for a mean of 50 with standard deviations from 1 to 75, from 2 percent to 150 percent

When the CV Works and When It Does Not

The CV needs a ratio scale, where zero really means none of the quantity. Weights, lengths, times, concentrations and prices qualify. Temperatures in Celsius or Fahrenheit do not, because zero is arbitrary: shifting the scale changes the mean but not the spread, and so changes the CV.

Two cards: data where the CV works, ratio scales, and where to use care, such as Celsius and means near zero

It also breaks down when the mean is near zero. The CV then explodes, and at exactly zero it is undefined. This calculator stops with a message instead of returning a misleading number. A negative mean is handled with its absolute value, though that usually signals data where the CV is the wrong tool.

For small samples the plain CV tends to run a little low. Wikipedia gives a correction for normal data, (1 + 1/(4n)), which is 1.0312 for n = 8. This calculator does not apply it.

Limits and Related Calculators

The calculator reads plain numbers and handles up to 10,000 values. It does not weight values, read grouped frequency tables or test whether a CV is significantly different from another. The CV also says nothing about the shape of the data, so two sets with the same CV can look very different.

It is a descriptive tool, not a substitute for the acceptance limits in a standard, protocol or regulation. Use the limit that applies to your field.

For related work, try the percentage calculator to convert ratios to percentages, the grade calculator for averages of scores, and the linear interpolation calculator for values between two measurements.

Limits of the CV calculator: ratio scale only, no zero mean, no bias correction and no significance test

Reference Tables

Working for the first example, 12, 15, 11, 14, 13, 17, 16, 12 (mean 13.75)
Value xDeviation x - meanSquared deviation
12-1.753.0625
151.251.5625
11-2.757.5625
140.250.0625
13-0.750.5625
173.2510.5625
162.255.0625
12-1.753.0625
Total031.5
Sample and population results for the same eight values
MeasureSample (divide by n - 1)Population (divide by n)
Sum of squares31.531.5
Divisor78
Variance4.53.9375
Standard deviation2.12131.9843
Mean13.7513.75
CV15.4278%14.4314%
CV for a mean of 50 at different standard deviations
MeanStandard deviationVarianceCV
50112%
50244%
5052510%
501010020%
502562550%
50502500100%
50755625150%
The same standard deviation of 5 means very different things at different means
MeanStandard deviationCVReading
10550%Very spread out
20525%Quite spread out
50510%Moderate
10055%Fairly tight
50051%Very tight
CV for the six worked examples
ExampleMeanSDCV
Eight values, sample13.752.121315.428%
Eight values, population13.751.984314.431%
Mean 50, SD 45048%
Six replicate measurements99.9831.70341.704%
Mean 2.5, SD 3.12.53.1124%
Ten test scores85.97.40058.615%
Informal reading aid for a CV (a rule of thumb for this page, not a standard: the right limit depends on the field)
CVPlain readingExample from this page
Under 5%Very consistent relative to the meanReplicate measurements: 1.7%
5% to 15%Fairly consistentTest scores: 8.62%, and mean 50 with SD 4: 8%
15% to 30%Noticeable variationEight values: 15.43%
Over 30%Large variationMean 50 with SD 25: 5%
Over 100%SD larger than the mean, often a skewed distributionMean 2.5, SD 3.1: 124%
Small-sample bias correction factor (1 + 1/(4n)) for normally distributed data, from the Wikipedia article on the coefficient of variation
nFactorExample: 15% CV becomes
31.083316.25%
51.0515.75%
101.02515.37%
201.012515.19%
301.008315.12%
1001.002515.04%
Terms you will meet around the coefficient of variation
TermMeaning
CVStandard deviation divided by the absolute mean
RSDRelative standard deviation, another name for CV
%RSD or CV%The CV written as a percentage
Standard deviationTypical distance of values from the mean, in the data's own units
VarianceThe standard deviation squared
SampleA subset of a larger group, divides by n − 1
PopulationThe whole group, divides by n
Ratio scaleMeasurements with a true zero, where the CV makes sense
Ways to get a CV
ToolFormula or steps
This calculatorPaste data or enter mean and SD, then Calculate
Excel, sample=STDEV.S(A1:A8)/AVERAGE(A1:A8), format as a percentage
Excel, population=STDEV.P(A1:A8)/AVERAGE(A1:A8)
By handMean, deviations, squares, variance, square root, divide by mean, times 100
Common mistakes with the coefficient of variation
MistakeWhy it mattersFix
Using it on temperatures in Celsius or FahrenheitZero is arbitrary, so the CV changes with the scaleUse ratio-scale data, or kelvin
Mixing sample and population SDThe CV shifts by a few percent for small nPick the one that matches your data
Using it when the mean is near zeroA tiny mean makes the CV huge and unstableUse SD alone or another measure
Comparing CVs from different methodsDifferent quartile or rounding rulesCompare like with like
Forgetting the percent sign0.15 and 15% are the same numberSay which one you report
Reading a CV from very few valuesSmall samples give shaky standard deviationsCollect more data

Frequently Asked Questions About the Coefficient of Variation Calculator

How to calculate a coefficient of variation?

Divide the standard deviation by the mean. For 12, 15, 11, 14, 13, 17, 16, 12 the mean is 13.75 and the sample standard deviation is 2.1213, so the CV is 2.1213 / 13.75 = 0.1543. Multiply by 100 to express it as a percentage.

How do you calculate CV%?

CV% = (standard deviation / mean) × 100. Using the sample standard deviation 2.1213 and mean 13.75, CV% = 2.1213 / 13.75 × 100 = 15.43%. Type your data into the calculator and it shows the CV in percent along with the mean, SD and variance.

What is a good CV% value?

There is no single good value, because the acceptable limit depends on the field and the measurement. A lower CV means the values are tightly grouped around the mean. Replicate readings in the example have a CV of 1.7%, while test scores have 8.62%. Check the standard or specification that applies to your work for a real limit.

How do you calculate RSD?

Relative standard deviation is the same as the coefficient of variation: RSD% = (SD / |mean|) × 100. For the six replicate readings 98.2, 101.5, 99.8, 100.4, 97.9, 102.1, the mean is 99.983, the sample SD is 1.7034 and the RSD is 1.704%. Choose the data mode and paste replicate results.

What is the difference between RSD and CV?

None in practice. Both are the standard deviation divided by the mean. Analytical chemistry usually says relative standard deviation or %RSD, while statistics and many other fields say coefficient of variation. Some sources write RSD as a percentage and CV as a ratio, so check which form is being reported.

What does the coefficient of variation mean?

It is the size of the typical spread expressed as a fraction of the mean. A CV of 8% means the standard deviation is 8 percent of the mean, as with a mean of 50 and SD of 4. Because it has no units, you can compare variability between data sets measured in different units.

Is the coefficient of variation a percentage?

It is a ratio, SD / mean, and it is very often written as a percentage by multiplying by 100. A ratio of 0.1543 and a percentage of 15.43% are the same thing. This calculator reports the percentage, which is the form most readers expect.

How do I interpret the coefficient of variation?

Compare it to what is normal for your measurement and use it to compare groups. A group with a CV of 8.6% is relatively more consistent than one with 15.4%. It does not say whether the values are good or bad, only how large the spread is next to the mean. The reading table gives an informal guide.

Can you show coefficient of variation solved examples?

Yes, there are six on this page. For 12, 15, 11, 14, 13, 17, 16, 12 the mean is 13.75, the sum of squared deviations is 31.5, the sample variance is 4.5, the SD is 2.1213 and the CV is 15.43%. The solution view shows each step for your own data.

How do I calculate CV in Excel?

For a sample use =STDEV.S(range)/AVERAGE(range), and for a whole population use =STDEV.P(range)/AVERAGE(range). Format the cell as a percentage or multiply by 100. For 12, 15, 11, 14, 13, 17, 16, 12 the sample formula gives 0.1543, which is 15.43%, matching this calculator in sample mode.

Is there a CV calculator app?

This page works as a CV calculator on any phone browser, with no download. Type or paste the numbers, choose sample or population and press Calculate. It also accepts a mean and standard deviation directly, which is handy when your data come from a report that gives only those two figures.

What is the coefficient of deviation formula?

People sometimes use coefficient of deviation to mean the coefficient of variation, which is SD / mean. A related measure, the coefficient of mean deviation, divides the mean absolute deviation by the mean instead. This calculator uses the standard deviation, so for 12, 15, 11, 14, 13, 17, 16, 12 it reports 15.43%.

Should I use the sample or population CV?

Use the sample version when your numbers are a sample from a larger group, which is the usual case, and the population version only when you have every member of the group. The difference is the divisor, n − 1 or n. For eight values it is 15.43% against 14.43%.

Can the coefficient of variation be negative?

Not here. If the mean is negative the calculator divides by its absolute value so the CV stays positive, which is a common convention. A negative mean often signals data where the CV is not meaningful. If the mean is zero, the CV is undefined and the calculator says so instead of returning a number.

Can the CV be greater than 100%?

Yes. When the standard deviation is larger than the mean, the CV is above 100%. A mean of 2.5 with an SD of 3.1 gives 124%. This typically happens with strongly skewed data, such as a few very large values among many small ones.

Why is the CV undefined when the mean is zero?

Because the formula divides by the mean, and division by zero has no value. Near zero the CV also becomes huge and unstable, since a tiny mean makes any spread look enormous. If your mean is zero or very close to it, the standard deviation alone describes the spread better.

When should I not use the coefficient of variation?

Avoid it for data without a true zero, such as temperatures in Celsius or Fahrenheit, where adding a constant changes the mean but not the spread. It also behaves badly when the mean is near zero or the data can be negative. It suits ratio-scale data like weights, times, concentrations and prices.

What is the difference between SD and CV?

The standard deviation is in the data's units, so 2.12 for the eight values. The CV divides by the mean and has no units, so it is 15.43%. A data set with a mean of 500 and SD of 5 has a smaller CV, 1%, than one with a mean of 10 and SD of 5, 50%.

How do I compare two data sets with CV?

Compute the CV of each and compare the percentages. The one with the smaller CV is more consistent relative to its own average, even if the units or sizes differ. The eight values have a CV of 15.4% and the ten test scores 8.6%, so the scores are relatively tighter.

Does this coefficient of variation calculator show steps?

Yes. The solution view lists the data, the mean, each deviation and its square, the sum of squares, the variance and standard deviation with the divisor you chose, and finally the CV and CV%. In mean and SD mode it shows the division and the conversion to percent. A button hides the steps if you only want the answer.

Is there a correction for small samples?

For normally distributed data, Wikipedia gives an approximately unbiased estimator that multiplies the sample CV by (1 + 1/(4n)). With n = 8 the factor is 1.0312, so 15.43% becomes 15.91%. This calculator reports the plain sample CV and does not apply that factor.

How many values do I need for a CV?

A sample standard deviation needs at least two values, a population one needs at least one, and the mean must not be zero. For a trustworthy CV you want many more. With only a handful of values the standard deviation is itself uncertain, so the CV can swing a lot with one new reading.

References

  1. [1] Wikipedia contributors. “Coefficient of variation.” Wikipedia. Accessed 2026-10-07.
  2. [2] Wikipedia contributors. “Standard deviation.” Wikipedia. Accessed 2026-10-07.
  3. [3] NIST/SEMATECH. “e-Handbook of Statistical Methods: Measures of Scale.” NIST. Accessed 2026-10-07.
  4. [4] Microsoft. “STDEV.P function (with STDEV.S for samples).” Microsoft Support. Accessed 2026-10-07.