Root Mean Square Calculator workspace
- Values
- 2
- Sum of squares
- 25
- Precision
- Exact
Step-by-step calculation
- 1
Square each of the 2 values and add the squares: Σxᵢ² = 25.
- 2
Divide by the number of values: mean square = 25 ÷ 2 = 12.5.
- 3
Take the nonnegative square root: RMS = √(12.5) = 3.5355339059327376220042218105242.
View transformed values 2 rows
| i | xi | xᵢ² |
|---|---|---|
| 1 | 3 | 9 |
| 2 | 4 | 16 |
What is a root mean square calculator?
The root mean square (RMS), also called the quadratic mean, is the square root of the arithmetic mean of squared observations. Squaring makes negative and positive values contribute through their magnitude; the final RMS is always nonnegative.
Important terms
- Root mean square
- The square root of the average of the squared observations.
- Mean square
- The arithmetic mean of xᵢ² before taking the square root.
- Magnitude
- The nonnegative size of a value, regardless of its sign.
- Quadratic mean
- Another name for RMS, corresponding to the power mean with exponent 2.
When this method is useful
- Summarize the effective magnitude of alternating or signed signals.
- Compare measurement magnitudes when signs represent direction.
- Calculate RMS voltage or current from sampled values when the sampling assumptions are appropriate.
- Measure typical magnitude while giving larger absolute values more influence than smaller ones.
Formula and variables
- xᵢ
- ith real observation
- n
- number of observations
- RMS
- nonnegative root mean square
Square each value, average the squares, and take the nonnegative square root. The calculator displays the squared-value table and labels nonterminating decimal results as approximate.
Domain note: At least one finite real value is required. Positive, zero, and negative values are supported. RMS is not the same as standard deviation: it does not subtract the data mean first.
How to use this calculator
- 1
Enter the signed or nonnegative observations.
- 2
Square each value; the sign no longer affects its squared magnitude.
- 3
Add the squares and divide by n to find the mean square.
- 4
Take the nonnegative square root of the mean square.
Step-by-step examples
Example 1
Problem: Find the RMS of 3 and 4.
Substitution: RMS = √((3² + 4²)/2) = √(25/2)
Result: 5/√2 ≈ 3.5355339
The RMS is the square root of the average squared magnitude.
Example 2
Problem: Find the RMS of −3 and 4.
Substitution: √((9 + 16)/2)
Result: ≈ 3.5355339
The negative sign disappears after squaring.
Example 3
Problem: Find the RMS of −2, 0, and 2.
Substitution: √((4 + 0 + 4)/3)
Result: √(8/3) ≈ 1.632993
Zero contributes a zero square and still counts as an observation.
Rules, edge cases, and related ideas
Sign-independent magnitude
Values −a and a contribute the same square a².
Large values matter more
A value twice as large contributes four times the squared amount.
Not standard deviation
Standard deviation first measures deviations from the mean; RMS squares the original observations unless the inputs are already deviations.
Edge cases and limitations
- A single input returns its absolute value.
- All-zero data produce RMS 0.
- Negative values are valid and are squared.
- The result can be irrational even when every input is an integer.
How this differs from a related concept
The arithmetic mean preserves signed balance. The mean absolute value averages magnitudes linearly. RMS also averages magnitudes but weights large absolute values more heavily.
Understand the result
RMS measures a typical magnitude, not a signed center. It is at least as large as the absolute value of the arithmetic mean, and large-magnitude observations influence it strongly because they are squared.
Common mistakes
- Taking the square root before averaging the squares.
- Dividing by n − 1; RMS uses n, while some sample variance formulas use n − 1.
- Calling RMS standard deviation without first centering the values.
- Dropping negative measurements even though their magnitudes are meaningful.
Frequently asked questions
What does RMS stand for?
RMS means root mean square: take the square root of the mean of the squared values.
Can RMS values be negative?
No. The square root is the nonnegative root, so RMS is always zero or positive.
Is RMS the same as standard deviation?
No. Standard deviation measures spread around the mean. RMS measures the original values’ magnitude unless those values are already centered deviations.
Can I use negative inputs?
Yes. Negative values are squared, so they contribute according to their magnitude.
Why can RMS exceed the arithmetic mean?
Squaring emphasizes large magnitudes and removes signs; RMS is a measure of magnitude rather than signed balance.