Saved

Press the star next to a tool's name to save it.

All my tools

Root Mean Square Calculator

Use this root mean square calculator to find the RMS of a list of numbers, or of a sine, square, triangle, sawtooth or pulse wave from its peak, with an optional DC level.

Restored your last values ·

Enter a list of numbers to get their root mean square, or choose a waveform and enter its peak amplitude to get the RMS value. Add a DC level to get the total RMS of a signal with an offset.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Choose what you want and fill in the boxes, then press Calculate.

A root mean square calculator finds the RMS value of a set of numbers or of a waveform. The RMS is the square root of the mean of the squares, and it is the figure that gives the heating power of an alternating current. Enter a list of values, or a waveform and its peak, and it gives the RMS.

How to use the root mean square calculator

  1. Choose a list or a waveform.
  2. Enter the values, or the peak and the shape.
  3. Press Calculate.

The formula

For n values, the root mean square is x_RMS = √((x₁² + x₂² + … + xₙ²) ÷ n) [1]. You square each value, take the average of the squares and then the square root. For the numbers 1, 2, 3 and 4, the squares are 1, 4, 9 and 16, which add up to 30, the mean is 7.5 and the RMS is 2.7386. The calculator does this for any list. The page gives the continuous version for a function over an interval [1].

RMS and standard deviation

The page shows the link with the standard deviation: σ² is the mean of (x − x̄)², which equals the square of the RMS minus the square of the mean [1]. So the RMS is always at least the arithmetic mean, and it equals the standard deviation when the mean is zero [1]. The calculator shows the mean and the standard deviation, dividing by n, and the identity RMS² = mean² + σ². For 1 to 4, that is 6.25 + 1.25 = 7.5.

Waveforms

For a sine wave with peak amplitude A, the RMS is A ÷ √2, about 0.707 A [1]. For a square wave it is A, for a triangle wave A ÷ √3 and for a sawtooth wave A ÷ √3 [1]. For a pulse wave with duty cycle D it is A × √D [1]. Enter the peak and choose the shape, and the calculator gives the RMS. For a sine wave with a peak of 170, the RMS is 120.2.

Mains voltage

The page gives the example of mains power. A voltage of 120 volts RMS has a peak of about 120 × √2, which is about 170 volts, and a peak-to-peak value of about 340 volts [1]. The 230 volts RMS used in Europe has a peak of about 325 volts and a peak-to-peak of about 650 [1]. The calculator's peak-to-peak value for the sine wave is twice the peak, which is 2√2 times the RMS [1].

Duty cycle

A current of 10 amperes flowing for 12 hours out of each 24 has a long-term average of 5 amperes, but its RMS value is about 7.07 amperes [1]. In the pulse wave mode, enter a peak of 10 and a duty cycle of 50 percent to get 7.07. The RMS is greater than the average because large values count for more once they are squared. It is the RMS that sets how much the current heats a wire.

DC plus AC

If a signal is an AC component on top of a DC level, its total RMS is the square root of the sum of the squares of the DC level and the RMS of the AC part [1]. A sine wave with a peak of 10 has an RMS of 7.07, and with a DC level of 5 the total RMS is 8.66. The calculator does this when you enter a DC level. In general, the RMS values of independent components add in squares [1].

Why RMS

The RMS value of an alternating voltage is the value of a steady direct voltage that would deliver the same power to a resistor. That is why mains voltage is quoted as RMS and why meters read it. The page states that the RMS of a sine wave relates to power as V_RMS = V_peak ÷ √2 [1]. For other measurements, such as the size of errors in a model, RMS is a standard way to summarise their magnitude.

Using the calculator

Paste your numbers in the list mode, or pick a waveform. Remember that the formulas for waveforms assume ideal shapes without distortion, and that true-RMS meters measure the real value. If you sample a signal at regular times, the list mode gives its RMS over that sample. Use enough values to cover a whole number of periods.

RMS in practice

An ordinary meter that is not true-RMS reads the average of a rectified waveform and scales it for a sine wave, so it can be wrong for other shapes. For a square wave, the error can be 10 percent or more. If you work with distorted waveforms, such as those from a dimmer, use a true-RMS meter, or record samples and enter them in the list mode of this calculator to get the exact figure.

Samples

Enter at least a whole period of a repeating signal, with the samples evenly spaced.

Common mistakes

  • Averaging instead of squaring first. The mean of a sine wave is zero, but its RMS is not.
  • Using the peak as the RMS. The RMS is smaller than the peak.
  • Applying the sine formula to other shapes. Choose the right waveform.
  • Forgetting the DC offset. It adds in squares.

What next

Use this often? Add Root Mean Sq to your Home screen.

Frequently asked questions

What is a root mean square calculator?

A tool that finds the RMS of a set of numbers or of a waveform.

What is the RMS formula?

√((x₁² + x₂² + … + xₙ²) ÷ n): the square root of the mean of the squares.

What is the RMS of a sine wave?

The peak divided by √2, about 0.707 of the peak.

How is RMS related to standard deviation?

RMS² = mean² + σ². When the mean is zero, the RMS equals the standard deviation.

What is the peak of 120 volts RMS?

About 170 volts.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools