The Root mean square (RMS) average  of a set of numbers is the square root of the arithmetic mean of the squares of the values.
RMS Value Formula
The formula for this is
xRMS = √(1/n)(x12 + x22 + … + xn2)
where xRMS is the RMS value of the sequence of numbers x1, x2 … xn.
RMS Value Calculator
Use the calculator below to calculate the RMS value.
Enter the numbers x1, x2, x3, … each separated by a comma.
The RMS average of two numbers 1 and 4 is 2.915
Root-mean-square can be applied to any sequence of numbers.
In electronics, the RMS current value is defined as the “value of direct current that dissipates the same amount of power in a resistor.” 
For a DC current I, through a resistor R, the power can be calculated as
P = I2R
However, if the current I varies with time it’s referred to as an alternating current. This is represented as I(t). The average power can be written as
Pavg = (I(t)2R)avg
Since the resistance value R does not change with time, this can simply be written as
Pavg = (I(t)2)avg*R
I(t) can be represented as a sequence of numbers that represent current measurements in time I1, I2, … In. The average of the sum of squares is
(I(t)2)avg = √(1/n)(I12 +I22 + … + In2)
which is the RMS value of current or IRMS
IRMS = √(1/n)(I12 +I22 + … + In2)
The RMS value of the corresponding alternating voltage that causes this time varying current is
VRMS = IRMS * R
It is similarly defined as
VRMS = √(1/n)(V12 +V22 + … + Vn2)
where V1, V2, … Vn are the corresponding values of voltage.
Where is RMS used?
Electrical outlets in the USA provide 120 Volt AC while those in Europe provide 220 Volt or 230 Volt. A complete list of mains voltage for countries around the world.
While it’s not stated explicitly, these are RMS values for the voltage
The peak to peak value is much higher and calculated to be 340 V in the USA and 650 Volt in Europe.
RF power detectors are differentiated by their ability to detect RMS. A detector is able to produce a DC level that is proportional to the RMS value of the input voltage.
This post provides the RMS values for different waveforms such as triangle, sine, square, etc. In each case uses the peak, peak-to-peak or average values of the waveform to compute the RMS equivalent.
One of the most common waveforms is a sine wave. The mains voltage in our homes is a sine wave shown below.
Amplitude levels are labelled as follows:
- Peak Voltage (Vpeak)
- Peak to Peak Voltage (in this case, twice the value of the peak voltage)
- RMS Voltage – for a sine wave, it is 0.707*Vpeak
Frequently Asked Questions
Is the RMS value same as Average value?
No they are different. In the examples provided above, for a sine wave, the average value is 0. The RMS value is 0.707*Vpeak.
xRMS = √(1/n)(x12 + x22 + … + xn2)
xAVG = (1/n)(x1 + x2 + … + xn)
and xRMS is not the same as xAVG in general. There are however some exceptions. In the case of a square wave, the RMS and Average values are the same.
How to measure RMS Voltage using Oscilloscope?
With older analog scopes the RMS value can be calculated from the peak to peak value taking the waveform type into consideration. For instance, VRMS for a triangle wave can be calculated from the peak-to-peak voltage – measured using horizontal bars on the screen.
What is the RMS Value of 120 VAC?
120 VAC represents an Alternating Current Voltage of 120 V. This is in fact the RMS value. Within the context of voltage mains, 120 VAC is a sinusoidal waveform with peak values of +170 Volt and -170 Volt or a peak-to-peak value of 340 Volt. The DC value is zero.
 RMS on Wikipedia