standarddeviationcalculator.net

Coefficient of variation calculator

The coefficient of variation expresses spread relative to the mean, which makes variability comparable across datasets measured in different units or at very different magnitudes.

Separate values with commas, spaces, tabs or new lines — paste a column straight from a spreadsheet and it will parse. Decimals and negatives are fine.

Treat the data as
Coefficient of variation 0.191768
Count (n)8
Mean (x̄)15.875
Standard deviation3.04432
Variance9.26786
Sum127
Σ(x − x̄)²64.875
Standard error1.07633
Coefficient of variation0.191768
Relative SD (%RSD)19.1768%
Minimum12
Maximum21
Range9
Median (Q2)15.5
Q113.75
Q317.5
IQR3.75
x̄ = 15.88 −1σ +1σ 6.742 25.01

The shaded bands are one, two and three standard deviations either side of the mean. 5 of 8 values — 63% — fall inside the innermost band.

Show the working, step by step

The formula

CV = s / x̄ %CV = 100 × s / |x̄|

Because both numerator and denominator carry the units of the data, they cancel — a CV is a dimensionless ratio. That is the entire point of the statistic, and also the source of its limitations.

Why relative spread is sometimes the only fair comparison

Suppose you are comparing the consistency of two production lines. Line A makes components with a mean mass of 2 g and an SD of 0.1 g. Line B makes components with a mean mass of 500 g and an SD of 5 g.

LineMeanSDCV%CV
A2 g0.1 g0.0505.0%
B500 g5 g0.0101.0%

Line B's standard deviation is fifty times larger, and Line B is nonetheless five times more consistent in the sense that matters — its parts deviate far less as a proportion of their intended size. Only the CV surfaces that.

Where the CV misleads

CV in Excel

There is no built-in function; construct it from the two you have:

=STDEV.S(A1:A20)/AVERAGE(A1:A20) ratio =STDEV.S(A1:A20)/AVERAGE(A1:A20)*100 percentage

Use STDEV.P if the values are a complete population, and wrap the AVERAGE in ABS() if the mean might be negative — although if it might be negative, the CV is probably the wrong statistic. More Excel formulas here.

Related calculators

Common questions

What is the coefficient of variation?

The standard deviation divided by the mean: CV = s / x̄. Because the units cancel it is a pure number, which lets you compare variability between datasets measured on different scales.

Is CV the same as relative standard deviation?

Yes — the same calculation under two names. %RSD is the convention in analytical chemistry and quality control and is always given as a percentage; CV is the statistics and finance convention and is often left as a decimal. The RSD page covers the laboratory context.

What is a good coefficient of variation?

Entirely field-dependent. In analytical chemistry a CV above 2% may fail a method specification; in ecology or economics a CV of 50% can be unremarkable. There is no universal threshold — compare against typical values for your own domain.

When should I not use CV?

When the mean is near zero, when the data can be negative, or when the measurement scale has an arbitrary zero point such as Celsius. In all three cases dividing by the mean produces a number that looks meaningful and is not.

Written and reviewed by our editorial team. Last updated . Method and sources: how these numbers are computed.