Root Mean Square Calculator
Welcome to the root mean square calculator! Use it if you want to know how to calculate the RMS (A.K.A. quadratic mean) of any data set. But what is the root mean square? What is the root mean square formula? Scroll down - besides an RMS calculator, we also give the root mean square equation and explain how to calculate root mean square by hand!
What is root mean square? Root mean square formula
The root mean square formula for a set of numbers is the following:
With the help of the summation sign we can rewrite it as:
We see that this expression is the square root of the arithmetic mean of the squares of the values in our set. This is where the name "root-mean-square", which is abbreviated as "RMS", comes from. Sometimes the root mean square is called the "quadratic mean".
How to calculate the root mean square by hand?
We now know what the root mean square is, so it's time to learn how to calculate RMS by hand.
Let be our dataset for which we want to apply the root mean square equation to. We need to perform the following steps:
-
The first step is to find the square or each number. The set of squared values is the following:
.
-
Sum those squared numbers:
.
-
Divide by the number of values contained in our dataset. We see that there are of them, so we obtain .
-
The last step we need to apply the root mean square equation is to compute the square root of the value obtained above. The quadratic mean of our dataset is .
How to use this RMS calculator?
To use our root mean square calculator, start by entering your values. At first, eight fields are visible, but more fields will appear as you go. You can enter up to 30 numbers.
The root mean square of your numbers will be displayed at the bottom of the RMS calculator. It will update as you enter more and more variables.
Weighted root mean square
Similar to other means, the root mean square has a weighted variant. It is used when we want some values to contribute more to the average than others (in the default version each value contributes the same, i.e., they all have the same weight).
Suppose that we have a list of numbers , along with an associated list of weights .
The weighted root mean square is given by the formula:
Generalized (power) means
For all you more advanced readers, it may be useful for you to know that the quadratic mean (and most other means, like the arithmetic, geometric, and harmonic are particular cases of a more general concept. Namely, we let and define the generalized mean with the exponent of the values as:
which can be rewritten as:
Clearly, for , we have the arithmetic mean. By setting , we obtain the quadratic mean, while would give the cubic mean, and so on. Also, note that for , we arrive at the harmonic mean:
Finally, it can be proved that the geometric mean is the limit value when approaches .
🔎 To learn more abut the different means mentioned above, visit our dedicated tools:
Applications
It is true that the root mean square is less popular than the arithmetic or geometric mean, but it does have several important applications:
-
In statistics, the population standard deviation is just the root mean square of the differences between data points and the population expected value. In fact, the root mean square can be used to determine the standard deviation via the following formula:
where:
-
is the root mean square;
-
is the population mean; and
-
is the squared standard deviation (i.e., variance).
-
-
In physics, the RMS appears, e.g., in electrical engineering, signal processing, and the physics of gas molecules.
Let us just discuss one example.
Imagine we have identical particles with mass , and the -th particle is moving at speed . We know that the kinetic energy of such a particle is equal to .
Go to our kinetic energy calculator if you need a refresher on this concept ;)
In total, they have the kinetic energy of
.
If we want to find one speed which, with respect to all these particles, would give the same total kinetic energy, we quickly conclude that this speed would be the root mean square of all the speeds .