Coefficient of Variation Calculator
Compute CV = (SD / mean) × 100% from a raw dataset or from mean + SD, compare two datasets head-to-head, or invert CV back to SD — with sample/population SD convention clearly labeled and validity guardrails built in.
CV from a dataset
CV from mean and standard deviation
Compare two datasets — which is more consistent?
Reverse: from CV and mean back to SD
The formula
CV = ( σ / μ ) × 100%Divide the standard deviation by the mean and multiply by 100 to express it as a percentage. For the dataset 2, 4, 4, 4, 5, 5, 7, 9: mean μ = 5, population SD σ = 2, so CV = (2 / 5) × 100% = 40.00%. Using the sample SD (÷ n−1) instead: σ = 2.1381, CV = 42.76%. Both numbers are shown by this tool with the convention labeled.
The reverse formula: σ = (CV / 100) × μ. With CV = 15% and mean = 200, σ = 30.
When CV is valid — and when it is not
| Situation | Verdict | Why |
|---|---|---|
| Positive mean, ratio-scale data (length, weight, money, counts) | Valid | True zero point; relative dispersion is meaningful |
| Comparing datasets with different means or units | Valid — ideal use | CV is dimensionless, so scales cancel out |
| Mean close to zero | Misleading | Tiny mean changes swing the CV wildly |
| Mean exactly zero | Undefined | Division by zero — this tool refuses and explains |
| Negative mean | Caution | This tool uses |mean| and flags it explicitly |
| Interval scales (temperature in °C / °F) | Misleading | Arbitrary zero makes the ratio meaningless |
Scope boundary
This tool answers relative dispersion questions: "how variable is this data compared to its own average?" (CV = σ/μ × 100%), "which of two datasets is more consistent?", and "what SD corresponds to this CV?". It does not do:
- Standard error / inference about the mean — "how precise is my sample mean?" (SEM = s/√n) and confidence intervals are the job of the standard error of the mean calculator (#1352), not this one.
- Pooling variances across groups — combining SDs from several groups is the job of the pooled standard deviation calculator, not this one.
- Plain descriptive SD without CV — the average and standard deviation calculator covers basic SD; this tool's purpose is the relative measure and the comparisons it enables.
Worked example
Quality control measures two production lines. Line A: 100, 102, 98, 101, 99 (mean 100, SD 1.4142). Line B: 10, 12, 8, 11, 9 (mean 10, SD 1.4142). Both have the same standard deviation — yet CV(A) = 1.41% and CV(B) = 14.14%. The relative measure reveals that line A is far more consistent, which the raw SD cannot tell you.
Frequently asked questions
What is the coefficient of variation?
What is the formula for the coefficient of variation?
Should I use the sample or population standard deviation for CV?
When is the coefficient of variation valid?
When is the coefficient of variation misleading?
What is the difference between standard deviation and coefficient of variation?
What is a good coefficient of variation value?
How do I calculate the coefficient of variation in Excel or Google Sheets?
Can the coefficient of variation be greater than 100%?
Is the coefficient of variation the same as relative standard deviation (RSD)?
Why is the coefficient of variation undefined when the mean is zero?
How do I compare the consistency of two datasets with CV?
How do I find the standard deviation from CV and mean?
Does the coefficient of variation depend on units?
Can I use CV with negative values in my data?
Related statistics tools
Free tool by NRTechStudio