Descriptive Statistics Variability Data Analysis 18 min read Sep 6, 2026
BY: Statistics Fundamentals Team
Reviewed By: Minsa A (Senior Statistics Editor)

Coefficient of Variation: Formula, Examples, and Interpretation

Two datasets can have the same standard deviation yet differ enormously in how variable they are. A daily price fluctuation of $10 means something very different when the average price is $20 versus $2,000. The coefficient of variation solves that problem by expressing the standard deviation as a fraction of the mean — giving a single, unitless number that makes fair comparisons possible across different scales.

This guide covers the formula for both population and sample data, walks through two complete worked examples, explains how to interpret CV correctly (including what happens when the mean is zero), compares CV to standard deviation, and covers real-world applications in finance, quality control, and laboratory research. A built-in calculator is included.

What You'll Learn
  • ✓ What the coefficient of variation measures and why it differs from standard deviation
  • ✓ The population and sample formulas with every symbol defined
  • ✓ A 4-step calculation procedure with two fully worked examples
  • ✓ How to interpret CV — and why universal thresholds are misleading
  • ✓ When CV breaks down: zero means, negative values, and outliers
  • ✓ Real-world applications in finance, quality control, and lab research
  • ✓ How to calculate CV in Excel, R, and Python

What Is the Coefficient of Variation?

Definition — Coefficient of Variation (CV)
The coefficient of variation is a measure of relative variability. It expresses the standard deviation as a percentage of the mean, producing a unitless ratio that allows fair comparison of spread across datasets with different scales or units.
CV = (Standard Deviation / Mean) × 100%

Standard deviation tells you how far individual observations typically lie from the mean — a useful figure, but one that depends entirely on the scale of the data. Consider two manufacturing lines: Line A produces bolts with a mean diameter of 5 mm and a standard deviation of 0.5 mm; Line B produces pipes with a mean diameter of 100 mm and a standard deviation of 4 mm. Line A has a smaller absolute spread, but it is far less consistent relative to its target size. CV makes that visible immediately.

The measure traces back to Karl Pearson's work in the late nineteenth century. It is also called the relative standard deviation (RSD) in laboratory and analytical chemistry contexts, where the two terms are fully interchangeable.

⚡ Quick Reference — Coefficient of Variation Key Facts
  • What it measures: Variability relative to the mean — not absolute spread
  • Population formula: CV = (σ / μ) × 100%
  • Sample formula: CV = (s / x̄) × 100%
  • Units: Dimensionless — the original units cancel in the ratio
  • Also called: Relative standard deviation (RSD) in lab settings
  • Higher CV: Greater variability relative to the mean
  • Lower CV: Tighter clustering relative to the mean
  • Undefined when: The mean equals zero — division by zero is not possible

Coefficient of Variation Formula

There are two versions — one for a complete population, one for a sample. In practice, data almost always come from a sample, so the sample formula is what you will use most often.

Population CV

Population Coefficient of Variation
CV = (σ / μ) × 100%
σ = population standard deviation μ = population mean

Sample CV

Sample Coefficient of Variation
CV = (s / x̄) × 100%
s = sample standard deviation (divisor: n − 1) = sample mean

The sample standard deviation uses n − 1 in its denominator (Bessel's correction), which corrects for the fact that a sample mean underestimates how spread out the full population is. In Excel: STDEV.S gives the sample version; STDEV.P gives the population version.

SymbolNameUsed in
σPopulation standard deviationPopulation CV
μPopulation meanPopulation CV
sSample standard deviation (n − 1)Sample CV
Sample meanSample CV
CVCoefficient of variationBoth

Why CV Is Unitless

Dividing standard deviation by the mean cancels the original units. If measurements are in kilograms:

s = 10 kg    x̄ = 100 kg
CV = (10 kg / 100 kg) × 100% = 10%
— the "kg" cancels, leaving a pure percentage

This is exactly why CV can compare a dataset measured in kilograms with one measured in seconds or dollars — the units are gone.

How to Calculate the Coefficient of Variation

📋
4-Step Summary

Step 1: Calculate the mean. Step 2: Calculate the standard deviation. Step 3: Divide SD by the mean. Step 4: Multiply by 100 to express as a percentage.

1

Calculate the mean

Add all values and divide by the count: x̄ = Σx / n. For population data use N; for sample data use n. Verify the mean is not zero or extremely close to zero before continuing — if it is, CV cannot be computed reliably.

2

Calculate the standard deviation

For sample data: s = √[Σ(xᵢ − x̄)² / (n − 1)]. In Excel: =STDEV.S(range). In R: sd(x). In Python: np.std(x, ddof=1). Use the population formula only when you have data from the entire population.

3

Divide SD by the mean

Compute s / x̄. The result is a decimal ratio — for example, 0.18 means the standard deviation is 18% of the mean. This ratio is CV in its decimal form.

4

Multiply by 100

Convert to percentage: CV = (s / x̄) × 100%. Report this alongside the mean and SD so readers can verify the calculation. When writing up results, state whether you used the sample or population formula.

Worked Example 1 — Sample CV

Worked Example 1 — Sample CV

Problem: Five delivery times (in days) are recorded: 8, 10, 11, 13, 18. Calculate the sample coefficient of variation and interpret it.

1

Calculate the sample mean:
x̄ = (8 + 10 + 11 + 13 + 18) / 5 = 60 / 5 = 12 days

2

Calculate deviations and squared deviations:

xᵢxᵢ − x̄(xᵢ − x̄)²
8−416
10−24
11−11
13+11
18+636
Σ = 600Σ = 58
3

Calculate sample variance and standard deviation:
s² = 58 / (5 − 1) = 58 / 4 = 14.5
s = √14.5 = 3.808 days

4

Apply the CV formula:
CV = (3.808 / 12) × 100% = 31.7%

✅ Conclusion: The delivery times have a sample CV of 31.7%. The standard deviation equals about 32% of the average delivery time — indicating moderate-to-high relative variability. Whether that is acceptable depends on the service-level expectations of the business.

Calculation uses the sample standard deviation formula with Bessel's correction (divisor n − 1), following the convention in Moore, D.S. & McCabe, G.P. Introduction to the Practice of Statistics, W.H. Freeman.

Worked Example 2 — Comparing Two Datasets

This is where CV earns its place. Standard deviation alone can give the wrong impression when the two groups have different means.

Worked Example 2 — Supplier Comparison

Problem: A procurement team evaluates two suppliers on delivery consistency. Supplier A averages 10 days with SD = 1.5 days. Supplier B averages 25 days with SD = 2.5 days. Which supplier is more consistent relative to their own speed?

1

Compare by SD alone: Supplier B has larger SD (2.5 vs 1.5). At first glance, Supplier B appears less consistent.

2

Calculate CV for each supplier:
Supplier A: CV = (1.5 / 10) × 100% = 15.0%
Supplier B: CV = (2.5 / 25) × 100% = 10.0%

✅ Conclusion: Supplier B is actually more consistent relative to its own delivery pace. Its larger absolute fluctuation represents only 10% of its mean, versus 15% for Supplier A. This is the type of insight that standard deviation cannot provide when means differ substantially.

SupplierMean (days)SD (days)CVMore consistent?
Supplier A101.515.0%No
Supplier B252.510.0%Yes

How to Interpret the Coefficient of Variation

CV = 20% means the standard deviation equals 20% of the mean. That single sentence is the interpretation. The ratio is always between the spread and the center — a larger ratio signals more relative spread.

CVPlain-language meaning
CV = 5%SD is 5% of the mean — data cluster tightly around the average
CV = 15%SD is 15% of the mean — moderate relative spread
CV = 35%SD is 35% of the mean — considerable spread proportionally
CV = 75%SD is three-quarters of the mean — high relative variability
CV = 100%SD equals the mean — extreme spread
CV > 100%SD exceeds the mean — possible with right-skewed data or very small means
⚠️
No universal thresholds exist

Statements like "CV below 10% is acceptable" are field-specific rules of thumb — not statistical laws. A CV of 30% is completely routine in ecology, where biological variability is inherent. The same figure would indicate a poorly calibrated instrument in analytical chemistry. Always compare against standards specific to your field.

Is a Higher or Lower CV Better?

It depends on the question. In manufacturing and clinical diagnostics, a lower CV signals precision — the process or assay delivers consistent results. In ecology or market research, high CV may simply reflect genuine diversity in the population being studied, which the researcher wants to document rather than eliminate. The measure is descriptive; "better" is determined by context.

When to Use CV

🔬

Laboratory Precision

Measuring how consistent repeated assay readings are relative to their mean — essential in method validation and instrument qualification.

💰

Finance

Comparing return variability across assets with different average returns, where raw SD alone is not informative.

🏭

Quality Control

Evaluating process consistency across production lines operating at different output levels.

🌿

Biological Research

Describing natural variability in species measurements, growth rates, or physiological parameters across populations.

📦

Business Operations

Assessing demand variability, delivery reliability, or revenue consistency across product lines with different volumes.

📊

Cross-Scale Comparison

Any situation where two datasets are measured in different units or at different orders of magnitude.

When Not to Use CV

When the Mean Is Zero

🚫
CV is undefined when the mean = 0

The formula divides by the mean. Division by zero is not defined. If the mean is exactly zero — or very close to zero — CV cannot be calculated or interpreted meaningfully. Use standard deviation or IQR instead.

Near-zero means cause a related problem. Suppose a dataset of temperature deviations has a mean of 0.2°C and a standard deviation of 3°C. CV = 1500% — a number that conveys nothing useful because the denominator is too small to anchor the ratio. The mean must be substantively non-zero for CV to be interpretable.

When Values Are Negative or the Mean Is Negative

CV is most naturally meaningful for ratio-scale variables — those where zero has genuine meaning and negative values do not arise (lengths, weights, concentrations, counts). When data include meaningful negative values, or when the mean crosses below zero, the formula can produce negative or sign-changing CV values that carry no clear interpretation of "relative variability." Some practitioners take the absolute value of the mean in these cases, but this requires explicit justification in the research write-up.

When Data Are Heavily Skewed or Have Outliers

Both the mean and standard deviation react strongly to extreme values. One outlier can simultaneously pull the mean upward and inflate the SD, causing CV to jump far beyond what a typical observation would suggest. Always inspect a histogram or box plot before reporting CV for skewed data — the median and interquartile range may give a clearer picture.

CV vs. Standard Deviation

These two measures answer different questions. Standard deviation asks: "How far do values typically lie from the mean, in the original units?" CV asks: "How large is that spread as a fraction of the mean?"

Feature Standard Deviation Coefficient of Variation
What it measuresAbsolute variabilityRelative variability
UnitsSame as the dataUnitless (percentage)
Scale-dependentYesNo (scale-invariant under multiplication)
Cross-dataset comparisonLimited when means differMore informative
Defined when mean = 0YesNo
Formula√[Σ(xᵢ − x̄)² / (n−1)](s / x̄) × 100%

Neither measure is universally superior. Use standard deviation when you need spread in the original units — to build a confidence interval, for example, or to describe variability in a context where the scale carries meaning. Use CV when the question is about relative consistency, or when comparing datasets that differ in mean or unit.

CV vs. Relative Standard Deviation (RSD)

The formulas are identical: RSD = (SD / Mean) × 100%. The difference is purely terminological. "RSD" is preferred in analytical chemistry, pharmaceutical validation, clinical lab settings, and regulatory submissions (FDA, EMA, ICH). "CV" is standard in statistics, biology, economics, and most other quantitative fields. If you are writing for a specific discipline, use its preferred term — the math does not change.

Scale Invariance

Multiplying every observation in a dataset by a positive constant leaves CV unchanged. Converting meters to centimeters — multiplying every value by 100 — scales both the mean and the SD by 100, so their ratio stays the same:

UnitMeanSDCV
Meters8 m2 m25%
Centimeters (× 100)800 cm200 cm25%
Millimeters (× 1000)8,000 mm2,000 mm25%

However, adding a constant changes CV. Adding a fixed number to every value shifts the mean without changing the SD, so the ratio shifts too. This is why temperature data in Celsius and Kelvin — which differ by an additive shift of 273.15 — will produce different CVs. Neither is wrong; they are describing the same variability from different reference points.

Real-World Applications

Finance and Investment

Finance Example

Comparing risk-adjusted variability of two funds

Fund A: Mean annual return = 6%, SD = 3% → CV = 50%

Fund B: Mean annual return = 12%, SD = 7% → CV = 58.3%

Fund B offers a higher mean return, but its return variability is proportionally larger. Fund A delivers lower but relatively more consistent returns. This comparison — which raw SD alone cannot provide — informs the risk-reward decision. Note that CV is one input into that analysis, not the whole picture; investors also consider time horizon, correlation with other assets, and many other factors.

Quality Control

Two machines produce the same product at different throughput rates. Standard deviation alone penalizes the higher-output machine for having larger absolute fluctuations. CV normalizes for that:

MachineMean output (units/hr)SDCVVerdict
Machine A1,000606.0%More consistent
Machine B400328.0%Less consistent

Laboratory and Clinical Research

Labs use CV (called RSD in this context) to report assay precision. A CV of 5% means repeated measurements of the same sample vary by 5% of their average — a standard figure regulators and auditors review directly. Labs typically measure two types:

  • Within-run CV (repeatability): Measurements made in the same analytical run under identical conditions. Usually the smaller figure.
  • Between-run CV (reproducibility): Measurements across different days or analysts — typically higher, and the more meaningful measure of real-world precision.

Coefficient of Variation Calculator

Calculate CV from Mean and Standard Deviation

To calculate CV from raw data, first find the mean and standard deviation using the descriptive statistics calculator, then enter the values above.

Calculating CV in Excel, R, and Python

Excel

Excel has no built-in CV function. Build it from AVERAGE and STDEV:

Excel — raw data in A2:A20
Sample CV (uses n−1): =STDEV.S(A2:A20)/AVERAGE(A2:A20)*100 Population CV (uses N): =STDEV.P(A2:A20)/AVERAGE(A2:A20)*100

Use STDEV.S for sample data (almost always the right choice). Use STDEV.P only if your data represent the entire population.

R

R
x <- c(8, 10, 11, 13, 18) # Sample CV — sd() uses n-1 by default cv <- sd(x) / mean(x) * 100 cat("Sample CV:", round(cv, 2), "%\n")

Python

Python (NumPy)
import numpy as np x = np.array([8, 10, 11, 13, 18]) # ddof=1 for sample standard deviation cv = np.std(x, ddof=1) / np.mean(x) * 100 print(f"Sample CV: {cv:.2f}%")

Common Mistakes

MistakeWhat goes wrongCorrect approach
Using variance instead of SD Reports CV² instead of CV Take the square root of variance first to get SD
Forgetting to multiply by 100 Reports 0.18 instead of 18% CV = (SD / Mean) × 100%
Using STDEV.P for sample data in Excel Slightly underestimates variability Use STDEV.S for sample data
Applying CV when mean ≈ 0 CV of thousands of percent — meaningless Report SD or IQR instead
Claiming a universal "good" CV threshold Misleads readers in different fields Compare against field-specific norms
Ignoring outliers before reporting CV One extreme value distorts both mean and SD Inspect the distribution first; consider robust measures
Confusing CV with standard error Mixes spread of data with uncertainty in the mean SE = SD / √n; it measures precision of the mean estimate

Frequently Asked Questions

FAQ — Coefficient of Variation

What is the difference between CV and standard deviation?

Standard deviation measures absolute spread in the original units. CV expresses that spread as a percentage of the mean, making it dimensionless. Use SD when you need spread in context-specific units. Use CV when comparing relative consistency across datasets with different means.

FAQ — Coefficient of Variation

Can CV be greater than 100%?

Yes. If the standard deviation exceeds the mean — which can occur with right-skewed data or when the mean is small — CV will exceed 100%. This is mathematically valid. It often signals that the mean alone gives a poor summary of the data, and additional description (median, IQR) would help.

FAQ — Coefficient of Variation

Can CV be negative?

Standard deviation is always non-negative, so CV is negative only if the mean is negative. In that case the sign changes but carries no useful meaning as "relative variability." For datasets with negative means, CV is generally not an appropriate measure without careful redefinition.

FAQ — Coefficient of Variation

Does CV require normally distributed data?

No. CV is a descriptive ratio that can be computed for any dataset with a non-zero mean, regardless of distribution shape. With heavily skewed data, interpretation becomes trickier because both the mean and SD are sensitive to extreme values — but the formula itself imposes no distributional requirement.

FAQ — Coefficient of Variation

What is the difference between CV and RSD?

They are the same formula: (SD / Mean) × 100%. The terminology differs by discipline. "RSD" is standard in analytical chemistry and regulatory sciences. "CV" is used in statistics, biology, and most other fields. Match the term to your audience.

Sources

Moore, D.S. & McCabe, G.P. Introduction to the Practice of Statistics. W.H. Freeman. Standard reference for sample vs. population SD distinction.
NIST/SEMATECH. e-Handbook of Statistical Methods. itl.nist.gov. Coefficient of variation definition and usage guidance.
Pearson, K. (1896). Mathematical contributions to the theory of evolution. Philosophical Transactions of the Royal Society, 187, 253–318. Original formalization of the CV.
ICH Harmonised Guideline Q2(R2). Validation of Analytical Procedures. International Council for Harmonisation, 2023. RSD/CV thresholds in pharmaceutical method validation.