CCalclabhub

Statistics

Root mean square

Square every value, average those squares, then take the square root. The result is in the same units as the original values.

Last updated

The Formula

RMS = sqrt((v1^2 + v2^2 + ... + vn^2) / n)

Square every value, average those squares, then take the square root. The result is in the same units as the original values.

SymbolMeaning
RMSRoot mean square
viEach value in the set
nNumber of values

What Each Symbol Means

RMSsame as the data

Root mean square

About 4.04145 for the three worked values 2, 3 and 6.

visame as the data

Each value in the set

Squaring removes the sign, so positive and negative values contribute alike.

ncount

Number of values

Three for the fixed set used by this calculator, dividing the sum of squares of 49.

See It Worked With Real Numbers

A formula on its own does not tell you which number goes where. The how to calculate the root mean square page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.

Where This Formula Appears

This equation is the working core of How To Calculate The Root Mean Square, filed under Math. Every number the guide produces comes from substituting into this one line.

Common Questions

What is the formula for Root mean square?

The formula for Root mean square is RMS = sqrt((v1^2 + v2^2 + ... + vn^2) / n). Square every value, average those squares, then take the square root. The result is in the same units as the original values.

What does each symbol in Root mean square stand for?

RMS is root mean square; vi is each value in the set; n is number of values.

What units should I use with Root mean square?

Substitute RMS in same as the data, vi in same as the data, n as a plain count. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.

What is a common mistake when using Root mean square?

Taking the square root before averaging. Averaging the square roots of the values is a different calculation and gives the wrong answer. The order is square, then average, then root. For 2, 3 and 6 the correct mean square is 49 / 3 before the root is taken.