Free tool aStat · Agriculture Statistics

Coefficient of Variation Calculator

Enter a list of numbers, or the mean and standard deviation, and get the coefficient of variation as a percentage. The same formula as in agricultural journals: CV = (SD / mean) × 100.

  • Free, no sign-up
  • Your data stay on your computer
  • Realtime R in your browser
  • R script included
How will you enter the numbers?

The example is four plot yields in t/ha, the same numbers as the CV chapter.

Coefficient of variation

16.33%

Mean

5

Standard deviation

0.8165

Sample SD, n = 4.

CV = ( 0.8165 / 5 ) × 100 = 16.33%

Quick answers

What is the coefficient of variation?
The standard deviation divided by the mean, usually shown as a percentage. It measures relative variability, so you can compare traits or trials with different units or different means.
How do you calculate it?
Work out the mean and the sample standard deviation, divide the SD by the absolute value of the mean, and multiply by 100. Mean 5 t/ha and SD 0.82 t/ha give CV = 16.3%.
Is a lower CV better?
For the precision of a trial, yes: a lower experiment CV means the plots or animals were more uniform. What counts as “low” depends on the trait.
Can I enter the mean and SD only?
Yes. Choose “Mean and standard deviation” if you already have those summaries and not the raw records.
On this page
  1. Quick answers
  2. Coefficient of variation formula
  3. What a good CV is in a trial
  4. When the CV is the wrong summary
  5. The experiment CV after ANOVA
  6. Questions people ask
  7. Sources

Coefficient of variation formula

CV (%) = ( SD / |mean| ) × 100

The calculator uses the sample standard deviation (n − 1 in the denominator) when you paste raw numbers. Four plot yields of 4, 5, 6 and 5 t/ha have mean 5 and SD 0.816 t/ha, so CV = 16.3%. The same identity is worked through, with advice on a “good” CV in field and animal trials, in the CV chapter.

What a good CV is in a trial

A widely used rule of thumb for field experiments classes the experimental CV as low below 10%, medium from 10 to 20%, high from 20 to 30%, and very high above 30% (Pimentel-Gomes, 1985). Treat it as a guide only. Disease scores, insect counts and some animal traits often run higher than grain yield. Compare with similar trials of the same trait, rather than with a single cut-off.

When the CV is the wrong summary

The mean must have a true zero (weights, yields, counts). A temperature in °C or a pH should not be given a CV, because the ratio changes if you shift the scale. The CV is also unhelpful when the mean is near zero, and it can exceed 100% for skewed counts. In those cases report the SD, or use a model suited to the distribution, as discussed in the CV chapter.

The experiment CV after ANOVA

Journals often print the experiment CV under a table of means: √MSE divided by the grand mean, times 100. That uses the residual mean square from the ANOVA, not the raw SD of every observation, so it already removes treatment (and block) differences. Run the analysis in the ANOVA calculator and compute that CV from the residual SD and the grand mean, or open the spreadsheet in aStat.

Questions people ask

Is CV the same as relative standard deviation?

Yes. Relative standard deviation (RSD), common in laboratory work, is the CV as a percentage.

Can the CV be over 100%?

Yes, when the SD is larger than the mean. That happens with skewed data, such as counts with many zeros.

Should I report the CV in a paper?

Agricultural journals often give the experiment CV under the table of means, so readers can judge the trial's precision.

Does this upload my data?

No. The calculation runs in your browser.

Sources

  • Pimentel-Gomes, F. (1985). Curso de Estatística Experimental (11th ed.). Nobel, Piracicaba.
  • Gomez, K. A., and Gomez, A. A. (1984). Statistical Procedures for Agricultural Research (2nd ed.). Wiley.