Root Mean Square Calculator
Calculate the root mean square of a set of values, plus the RMS of a sine wave from its peak amplitude.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Root Mean Square Calculator does
The root mean square calculator on this page will calculate the root mean square of a set of values, plus the RMS of a sine wave from its peak amplitude. Fill in all 2 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for converting a sine-wave peak voltage to its RMS equivalent. We run a second free tools site as well — FreeToolsWorld.org.
How to use it
- Paste your values — signs are fine and are exactly what RMS is designed to handle.
- Read the root mean square and the mean of the squares it came from.
- For a sine wave, put the peak amplitude in the second field and read the RMS beneath.
- Compare the RMS with the arithmetic mean: for a symmetrical set the mean will be near zero while the RMS is not.
How it works
The root mean square squares every value, averages the squares, then takes the square root. Squaring removes the signs, which is the whole point: a set of values that swings between +7 and −7 has an arithmetic mean near zero but is plainly not "nothing happening". The RMS captures the magnitude of the variation regardless of direction, which is why it is the standard measure for alternating quantities.
In electrical work the RMS voltage is the one that matters, because it is the DC voltage that would deliver the same heating power into the same resistor. European mains at 230 V RMS has a peak of about 325 V, and 120 V mains peaks near 170 V — insulation has to survive the peak while the power calculation uses the RMS. For a pure sine wave the relationship is exactly peak ÷ √2; for a square wave RMS equals the peak, and for other waveforms the factor differs, so the sine-wave rows here apply only to sine waves.
The same statistic appears under other names elsewhere. It is the quadratic mean in the family of Pythagorean means, where it sits above the arithmetic mean. In machine learning it becomes root-mean-square error, the square root of the average squared residual, which is why RMSE punishes a few large misses far more than many small ones. In audio it describes sustained loudness rather than instantaneous peaks.
When to use it
- Converting a sine-wave peak voltage to its RMS equivalent.
- Calculating root-mean-square error for a set of residuals.
- Measuring the magnitude of a signal that swings either side of zero.
- Finding the quadratic mean for a statistics exercise.
Common mistakes to avoid
- Applying peak ÷ √2 to a waveform that is not a sine. Square, triangular and distorted waves have different crest factors.
- Reporting an arithmetic mean for an alternating quantity, which comes out near zero and tells you nothing.
- Confusing RMS with the average of absolute values. They are different statistics and RMS is always the larger.
Frequently asked questions
Why is mains electricity quoted as an RMS voltage?
Because RMS is the figure that predicts power. 230 V RMS heats a resistor exactly as much as 230 V DC would, while the actual waveform peaks around 325 V. Quoting the peak would make power calculations wrong by a factor of two.
What is the difference between RMS and standard deviation?
Standard deviation is the RMS of the deviations from the mean. If your data already has a mean of zero, the two are the same number; otherwise the standard deviation is smaller.
Can the RMS be negative?
No. Every squared value is positive and the square root is taken as positive, so the RMS is always zero or more. It is zero only when every input is zero.