Root Mean Square Calculator
Calculate the root mean square of any dataset — or find RMS voltage from peak voltage.
√ What is Root Mean Square (RMS)?
The root mean square (RMS), also called the quadratic mean, is the square root of the mean of the squares of a set of values. The formula is: RMS = √((x12 + x22 + … + xn2) / n). The three-step process — square, mean, root — ensures that negative values contribute positively (since they are squared), making RMS particularly useful for alternating quantities like AC voltage and current.
In electrical engineering, RMS is the fundamental measure for AC circuits. The 230V or 120V rating on your wall outlet is the RMS voltage, not the peak voltage. The peak voltage of a 230V RMS supply is 230 × √2 ≈ 325V. RMS voltage is used because it equals the DC voltage that would dissipate the same power in a resistive load — a 230V RMS AC supply heats a resistor exactly as much as a 230V DC supply. This is known as the equivalent DC voltage interpretation of RMS.
A key mathematical identity connects RMS to more familiar statistics: RMS2 = Mean2 + Variance. This follows from the variance formula: Var = E[x2] − (E[x])2, rearranged as E[x2] = Mean2 + Variance. Since RMS2 = E[x2], the identity follows. Practically, this means a dataset's RMS increases when either its mean or its spread (variance) increases.
Beyond electricity, RMS is ubiquitous in engineering and data science. Root Mean Square Error (RMSE) measures prediction accuracy in machine learning. Acoustic engineers use RMS sound pressure level. Vibration analysts use RMS acceleration to assess machine health. Audio engineers reference RMS signal levels in dBu and dBV. In all these applications, the same principle applies: RMS captures "how large the values are on average" in a way that treats positive and negative deviations symmetrically.