Root mean square in Excel is the square root of the average of squared values, written as =SQRT(AVERAGE(values^2)) for a contiguous range, which collapses positive and negative deviations into a single magnitude. The formula implements the textbook definition directly: Excel squares every cell, AVERAGE averages those squares, and SQRT pulls out the principal nonnegative square root. In Excel 365 and Excel 2021 the formula evaluates as a dynamic array, so most users type it as a regular formula and press Enter. In older Excel builds the same expression needs Ctrl+Shift+Enter to commit as an array formula, otherwise Excel returns only the first squared value. For quick work the alternative =SQRT(SUMSQ(A2:A11)/COUNT(A2:A11)) gives the same numeric result without array semantics, because SUMSQ already sums the squares. Because RMS ends with a square root, the displayed result is always nonnegative. Squaring inside the average makes the measure indifferent to the sign of every input, which is exactly the property that makes RMS useful for alternating signals, signed residuals, and any series where positive and negative swings would otherwise cancel.

What Root Mean Square Actually Measures
Root mean square is a magnitude measure, not a typical central tendency. The procedure is mechanical: square every value to remove sign, average the squares, then take the square root. Take the four readings 2, 4, 6, and 8 as a concrete worked example. The squared values are 4, 16, 36, and 64. Their average is (4 + 16 + 36 + 64) ÷ 4 = 30. The square root of 30 is approximately 5.477225575. Squaring before averaging is what gives RMS its special behavior: a value of minus 10 contributes 100 to the average, the same as a value of plus 10, so signed deviations cannot cancel the way they would in a regular AVERAGE. This property is why RMS is the standard magnitude metric in alternating-current electrical engineering, vibration analysis, audio loudness, and any setting where the underlying quantity oscillates around zero. It is also why the population standard deviation of a zero-mean series equals its RMS exactly. STDEV.P and the RMS formula return the same number whenever the AVERAGE of the range is zero.
The Excel Formula for Root Mean Square
In a modern Excel sheet, the fastest way to compute RMS for the values in cells A2 through A11 is to click an empty cell and type:
=SQRT(AVERAGE(A2:A11^2))
Press Enter. Excel 365 and Excel 2021 broadcast the exponent across the range, square each cell, feed the squares to AVERAGE, and pass the result to SQRT. In Excel 2019 and earlier, the same expression evaluates only the first cell unless you commit it as an array formula: type the formula, then press Ctrl+Shift+Enter instead of just Enter. Excel wraps the formula in curly braces to flag the array entry, and SQRT receives the full vector of squared values.
For users who prefer non-array syntax, the equivalent formula using documented Excel functions is:
=SQRT(SUMSQ(A2:A11)/COUNT(A2:A11))
SUMSQ squares each cell and sums them in one step, COUNT returns the number of numeric cells, and the division happens before SQRT. This form is portable across every Excel version and never requires array entry. Both formulas produce the same numeric answer on the same input range.
| Metric | Excel formula | Notes |
|---|---|---|
| Root mean square | =SQRT(AVERAGE(A2:A11^2)) | Direct textbook form; needs array entry in pre-365 Excel |
| Root mean square (portable) | =SQRT(SUMSQ(A2:A11)/COUNT(A2:A11)) | No array entry; identical numeric result |
| Population standard deviation | =STDEV.P(A2:A11) | Equals RMS only when the range mean is zero |
| Mean absolute deviation | =AVERAGE(ABS(A2:A11)) | Less sensitive to extreme outliers than RMS |
The table is useful when you need to choose between magnitude metrics. Use RMS for signed oscillating data, use STDEV.P for spread around a non-zero mean, and use mean absolute deviation when a single outlier should not dominate the result. SQRT, AVERAGE, SUMSQ, COUNT, ABS, and STDEV.P are all part of Excel's documented function library, so the formulas above work in Excel for Windows, Excel for Mac, and Excel for the web without add-ins.
Verify the Root Step with the Root Calculator
The square root in any RMS formula is the step most likely to surprise you with floating-point drift, especially when the average of squares is irrational or when the dataset is long. A quick way to confirm Excel's SQRT result is to compute the same root independently in your browser with the Root Calculator. It returns the principal real nth root for any whole-number degree from 2 through 100 and shows an inverse check that raises the answer back to the chosen power, so you can compare the inverse result against your original radicand.
- Open the Root Calculator in a browser tab.
- Enter the radicand. For an RMS check this is the average of the squared values from your Excel range. You can paste a number like 30, type a fraction such as 5.4772, or use scientific notation like 1.5e2.
- Set the root degree to 2, because SQRT is the second root. The tool accepts integer degrees from 2 through 100, so 2 is the natural choice for this kind of verification.
- Read the displayed result. The calculator formats the answer to twelve significant digits, strips trailing zeros, and updates immediately. You will see something close to 5.4772255.
- Compare the inverse check line. The calculator raises the displayed result back to the second power and reports a relative error in scientific notation. A relative error on the order of 1e-16 confirms that Excel's SQRT and the calculator agree to double-precision limits.
- Copy the formatted root if you want to paste it back into a notes cell. If clipboard access is blocked, the value remains visible and selectable in the page.
Verification like this catches the rare cases where Excel's array evaluation misses a blank cell, where a text entry sneaks into the range and produces #VALUE!, or where the column sum has lost precision because the series is very long. For a deeper walkthrough of the underlying root math, the step-by-step root calculation guide walks through the same exponentiation logic the calculator uses internally.
Limits of Excel's Built-In Approach for RMS
Excel is fast and ubiquitous, but the SQRT and AVERAGE combination has a few boundaries worth knowing. First, the result is approximate: IEEE 754 double-precision arithmetic can represent about fifteen significant decimal digits, and very long series can accumulate rounding that the final SQRT does not undo. Second, the formula breaks the moment a non-numeric cell appears in the range, because Excel cannot square text or logical values inside an array. Third, Excel's SQRT is the nonnegative principal square root, so an RMS formula cannot return a negative number even if your data is uniformly negative; squaring removes the sign, and SQRT pins the sign to positive. Fourth, if you are tempted to swap SQRT for a cube root or higher root inside a magnitude metric, Excel has no built-in cube root symbol beyond the caret operator; the third root of a number requires =number^(1/3), and a negative base raised to a fractional exponent returns #NUM!, so odd roots of negative values need a sign-flip workaround. The Root Calculator handles that distinction automatically because it separates magnitude and sign before raising the magnitude to a reciprocal exponent.
When a Dedicated Root Calculator Beats Excel for Roots
Excel is the right tool for full-column RMS calculations that live inside a larger workbook, but a browser-based root tool wins in a few narrow situations. If you only need a one-off square root outside a spreadsheet — confirming a published statistic, checking a textbook answer, or sanity-testing a colleague's number — typing =SQRT(value) in Excel costs an entire workbook. If you need a cube root, fourth root, or any higher-degree root of a single number, the calculator lets you pick the degree from a menu rather than writing =A1^(1/5) and worrying about the negative-base trap. If you need to be certain about the even-versus-odd real-domain rule — for example, knowing that the fourth root of minus 16 has no real value — the tool returns a clear domain error instead of #NUM! or a misleading positive result. And if you want an independent double-check on Excel's SQRT output, the inverse relative-error line tells you whether the two computations agree to within rounding noise. OpenStax's college algebra chapter on radicals and rational exponents is a good reminder that the radical symbol by convention denotes the principal nonnegative root, which is exactly what Excel's SQRT and the Root Calculator both return.
For a deeper look, see Calculate Timesheet in Excel: Hours, Breaks, and Pay.