About the RMS Calculator
The root mean square, or RMS, is a way of measuring the typical size of a set of values when some are positive and some negative. It appears whenever magnitude matters more than sign: AC voltages and currents, sound pressure, vibration, signal noise and the errors of a forecast or a fitted model. Unlike the ordinary mean, which lets positive and negative values cancel, RMS squares every value first, so all of them count.
This RMS calculator works two ways. From data, it finds the RMS of any list of numbers and compares it with the mean. From a waveform, it converts the peak or peak-to-peak value of a sine, square, triangle or sawtooth wave into its RMS value, along with the average rectified value, the crest factor and the form factor.
How to Use the RMS Calculator
Choose from data or from a waveform.
For data, enter the values, separated by commas, spaces or new lines.
For a waveform, choose the waveform, enter the amplitude and say whether it is the peak or the peak-to-peak value.
The Formulas
data: RMS = √( (x1² + x2² + … + xn²) / n )
sine: RMS = Vp / √2 ≈ 0.7071 Vp average rectified = 2Vp/π ≈ 0.6366 Vp
square: RMS = Vp
triangle: RMS = Vp / √3 ≈ 0.5774 Vp
sawtooth: RMS = Vp / √3
identity: RMS² = mean² + population variance
Step-by-Step Example
The RMS of 1, 2, 3, 4 and 5.
squares: 1 + 4 + 9 + 16 + 25 = 55
mean of squares: 55 / 5 = 11
RMS = √11 ≈ 3.31662
check: mean 3, population variance 2, and 3² + 2 = 11
A sine wave with a 170 V peak. RMS = 170 / √2 ≈ 120.2 V. This is the North American mains supply, called 120 V because that is its RMS value.
Why RMS Matters for AC Power
The power delivered to a resistor depends on the square of the voltage, P = V²/R. For a changing voltage, the average power depends on the average of V², and the RMS voltage is the steady DC voltage that delivers that same average power. That is why AC voltages and currents are almost always quoted as RMS: a 230 V RMS supply heats a kettle element exactly as 230 V DC would.
The peak voltage is higher than the RMS figure: about 325 V for 230 V mains and about 170 V for 120 V mains. Insulation, capacitors and diodes must be rated for the peak, not the RMS value, which is a common design trap.
Different Waveforms
The ratio between peak and RMS depends on the shape of the wave. A square wave spends all its time at full amplitude, so its RMS equals its peak. A sine wave spends part of each cycle near zero, so its RMS is about 71% of the peak. A triangle or sawtooth wave spends even more time at low values, giving about 58%.
The crest factor, peak divided by RMS, describes how spiky a signal is: 1 for a square wave, 1.414 for a sine and 1.732 for a triangle. Audio and measurement equipment needs headroom for high crest factors. The form factor, RMS divided by the average of the rectified wave, is about 1.11 for a sine wave. Cheap "average-responding" meters measure the rectified average and multiply by 1.11, so they read correctly only for pure sine waves; true-RMS meters are needed for distorted waveforms.
RMS in Statistics and Data Analysis
In statistics the RMS is also called the quadratic mean. It is always at least as large as the mean of the absolute values, and it weights large values more heavily. The root mean square error, RMSE, applies the same formula to the differences between predictions and actual values, and is one of the most common ways to report forecast and model accuracy.
The identity RMS² = mean² + variance links RMS to standard deviation. When data are centred on zero, as errors and AC signals often are, the RMS equals the population standard deviation. For the list −3, 3, −3, 3, the mean is 0 but the RMS is 3, which describes the size of the values far better.
RMS of Mixed Signals
When a signal has a DC offset plus an AC part, their effects combine in the same way as mean and variance: RMS² = DC² + AC RMS². A signal with a 3 V DC level and a 4 V RMS sine ripple has a total RMS of √(9 + 16) = 5 V. The same rule adds the RMS values of independent noise sources: they combine as the square root of the sum of squares, not by simple addition.
Understanding Your Result
The headline gives the RMS value.
For data, the working line shows the mean of the squares, the comparison line gives the arithmetic mean and the mean of the absolute values, and the mean and variance line checks the identity.
For a waveform, the formula line gives the shape's RMS rule, the values line gives the peak, peak-to-peak and rectified average, and the crest and form factor line gives both ratios.
When Should You Use This Calculator?
Use it to convert between peak and RMS voltage or current.
Use it to find the RMS of measurements, errors or signal samples.
Use it to compare waveforms by their effective value.
Common Mistakes
Using the mean of a symmetric AC wave. It is zero; use RMS.
Confusing peak and peak-to-peak. Peak-to-peak is twice the peak.
Applying the sine factor to other shapes. Square and triangle waves have different ratios.
Rating parts for RMS instead of peak. Components must withstand the peak.