Yes, Excel can calculate RSD (relative standard deviation, also called the coefficient of variation) in seconds. There is no single built-in "RSD" function, but you get it by combining STDEV.S, AVERAGE and simple division: RSD equals the standard deviation of your data divided by its mean, usually multiplied by 100 to express it as a percentage. This guide walks through the exact formulas.
What You'll Need
- A spreadsheet with your data values in a column or row (at least two numbers, ideally more)
- Excel on desktop, or Excel for the web, Mac, or mobile. The steps below are written for desktop Excel; the same functions work everywhere, though menu labels can differ slightly between versions and platforms
- Basic familiarity with typing formulas into cells
Step-by-Step
Enter your data. Put your values in a single column, for example cells A2 through A11, with a header such as "Value" in A1. Avoid blank cells or text inside the range, as they will break or distort the calculation.
Calculate the mean. In an empty cell, such as B2, type:
=AVERAGE(A2:A11)Press Enter. This gives the average of your data set.
Calculate the standard deviation. In another empty cell, such as B3, type:
=STDEV.S(A2:A11)Press Enter. STDEV.S is the sample standard deviation, which is what you want in most real-world cases. If your data represents an entire population rather than a sample, use
STDEV.Pinstead.Divide the standard deviation by the mean. In a third cell, such as B4, type:
=B3/B2Press Enter. This decimal value is your RSD.
Convert it to a percentage. Either multiply by 100 in the formula (
=B3/B2*100), or select the cell and press Ctrl+Shift+% (Cmd+Shift+% on Mac) to format it as a percentage. An RSD of 0.05 displays as 5%.Optional: do it all in one cell. If you prefer a single formula, type:
=STDEV.S(A2:A11)/AVERAGE(A2:A11)*100This returns RSD as a percentage directly, with no helper cells.
Label your results. Add text labels next to the formula cells ("Mean", "Std Dev", "RSD %") so anyone reading the sheet understands what each number represents.
Save your work. Press Ctrl+S (Cmd+S on Mac). The formulas will recalculate automatically if you edit the underlying data.
Common Mistakes
- Using STDEV.P when you mean STDEV.P versus STDEV.S incorrectly. STDEV.P assumes your data is the whole population; STDEV.S assumes it is a sample. For lab measurements, quality control runs and most experimental data, use STDEV.S. Using the wrong one gives a slightly different, less conservative figure.
- Including the header row in the range. If you select A1:A11 instead of A2:A11, Excel ignores the text header in AVERAGE and STDEV, but it is cleaner and safer to exclude it, especially if other text or notes sit near the data.
- Dividing by the wrong value. RSD is standard deviation divided by the mean, not the other way around. Double-check cell references if you are getting values like 40,000 instead of 4.
- Forgetting to multiply by 100. A raw result of 0.032 is an RSD of 3.2%. Reporting "0.032%" when you mean 3.2% is a classic reporting error.
- Empty cells and text in the data range. Blank cells and text entries are silently skipped by AVERAGE and STDEV.S, which changes your result without any warning. Clean the range first.
Tips
- If your mean is negative, RSD can be misleading because the sign flips. Some fields use the absolute value of the mean:
=STDEV.S(A2:A11)/ABS(AVERAGE(A2:A11))*100. - An RSD of 0 means all values are identical. Lower RSD generally means more consistent data; what counts as "good" depends entirely on your field and application.
- To calculate RSD for several groups at once, put each group in its own column and drag the formulas across, using relative references.
- Round the final result for reporting with
ROUND(...,2), for example=ROUND(STDEV.S(A2:A11)/AVERAGE(A2:A11)*100,2), to show two decimal places. - If you use the same calculation often, save a template sheet with the formulas in place and just paste new data in.
Troubleshooting
- #DIV/0! error: Your mean is zero, so the division is impossible. Either your data range is empty or wrong, or the average genuinely equals zero, in which case RSD is undefined for that data set.
- #VALUE! or #NAME? error: The function name is misspelled, or the range contains text that Excel cannot ignore. Check the spelling of STDEV.S and AVERAGE, and remove any stray text from the data column.
- #REF! error: A cell reference in your formula points to a deleted cell. Re-enter the formula with the correct ranges.
- The result looks far too large or small: You probably divided mean by standard deviation instead of the reverse, or forgot the *100. Recheck the order of operations in your formula.
- The result does not change when you edit data: Automatic calculation may be off. Go to Formulas > Calculation Options and make sure Automatic is selected, then press F9 to force a recalculation.
- STDEV.S is not recognised in very old Excel versions: Use
STDEVinstead; it is the older name for the same sample standard deviation function.
Frequently Asked Questions
What does RSD stand for and what does it tell me?
RSD stands for relative standard deviation. It expresses the spread of your data as a percentage of the mean, which makes it easy to compare variability between data sets that have different units or scales.
Is there a dedicated RSD function in Excel?
No. Excel has no RSD or coefficient of variation function, but the combination =STDEV.S(range)/AVERAGE(range)*100 does exactly the same job in one formula.
Should I use STDEV.S or STDEV.P?
Use STDEV.S when your data is a sample from a larger population, which covers most lab, testing and measurement scenarios. Use STDEV.P only when your data set includes every possible value you care about.
Can I calculate RSD for a row instead of a column?
Yes. The formulas work identically with horizontal ranges, for example =STDEV.S(B2:F2)/AVERAGE(B2:F2)*100.
Does this work in Google Sheets too?
Yes. Google Sheets supports AVERAGE, STDEV.S and STDEV.P with identical syntax, so the same formulas work without changes.
What is a good RSD value?
There is no universal threshold. In many analytical chemistry contexts, lower is better and targets are often set in the low single-digit percentages, but acceptable values vary widely by field, instrument and method, so always compare against the specification relevant to your work.