What is RMS voltage?
RMS (root mean square) voltage is the square root of the mean of v² over a period: the DC voltage that dissipates the same power in a resistor. The 120 V on a US outlet is an RMS value.
This RMS voltage calculator converts between the peak, peak-to-peak, RMS and average values of sine, square, triangle, sawtooth, PWM and rectified waveforms, with an optional DC offset. It also shows the crest factor, the form factor and what an average-responding multimeter would read.
Amplitude before any DC offset: the highest point above 0 V with no offset (the high level for PWM).
Optional: a DC level added to the whole waveform.
Optional: average and peak power in a resistor.
RMS voltage
3.536 V
For a waveform centered on 0 V the plain average is zero, so “average” here means the average of the rectified waveform, as meters use it.
RMS is the square root of the average of v² over one period. For a sine, Vrms = Vpeak ÷ √2 = 0.7071 × Vpeak, so 120 V rms mains peaks at 169.7 V. A ±Vp square wave has Vrms = Vp, a triangle or sawtooth Vp ÷ √3 (0.5774 × Vp), and a 0-to-Vp PWM signal Vp × √D.
The RMS value of any periodic voltage is the square root of the mean of its square. For the standard waveforms the integral has a closed form in terms of the peak Vp (the amplitude, or the high level of a pulse).
With a DC offset, and the two ratios that describe the shape:
The 120 V on a US outlet is an RMS value. The peak is 120 × √2 = 169.7 V, the peak-to-peak swing is 339.4 V, and the rectified average is 108 V. Capacitors and semiconductors across the line must be rated for the peak, not the RMS value.
Vrms = 12 × √0.25 = 6 V and Vavg = 12 × 0.25 = 3 V. In a 10 Ω heater the power is Vrms² ÷ R = 3.6 W, which is also 25 % of the 14.4 W drawn while the switch is on. Using the average voltage would give 900 mW, a quarter of the real figure.
A 1 V peak sine centered on 2.5 V (a typical single-supply ADC input) swings from 1.5 V to 3.5 V. Its AC part is 707.1 mV rms, and the total is √(2.5² + 0.7071²) = 2.598 V. A meter on AC reads the first number; a DC-coupled true-RMS measurement reads the second.
Multiply the peak voltage by the ratio to get the RMS or rectified average value. PWM rows are pulses from 0 V to Vp.
| Waveform | RMS ÷ peak | Average ÷ peak | Form factor | Crest factor |
|---|---|---|---|---|
| Sine | 0.7071 | 0.6366 | 1.111 | 1.414 |
| Square (±Vp) | 1 | 1 | 1 | 1 |
| Triangle | 0.5774 | 0.5 | 1.155 | 1.732 |
| Sawtooth | 0.5774 | 0.5 | 1.155 | 1.732 |
| Half-wave rectified sine | 0.5 | 0.3183 | 1.571 | 2 |
| Full-wave rectified sine | 0.7071 | 0.6366 | 1.111 | 1.414 |
| PWM, 50 % (0 to Vp) | 0.7071 | 0.5 | 1.414 | 1.414 |
| PWM, 25 % | 0.5 | 0.25 | 2 | 2 |
| PWM, 10 % | 0.3162 | 0.1 | 3.162 | 3.162 |
An AC-coupled, average-responding multimeter measures the rectified average of the AC part and multiplies by 1.111, the sine form factor. Values are for a 1 V peak waveform; the true RMS is of the AC part, which is what an AC-coupled true-RMS meter shows.
| Waveform (1 V peak) | True RMS (AC) | Average-responding meter | Error |
|---|---|---|---|
| Sine | 707.1 mV | 707.1 mV | 0 % |
| Square (±Vp) | 1 V | 1.111 V | +11.1 % |
| Triangle | 577.4 mV | 555.4 mV | −3.81 % |
| Sawtooth | 577.4 mV | 555.4 mV | −3.81 % |
| Half-wave rectified sine | 385.6 mV | 389.7 mV | +1.06 % |
| Full-wave rectified sine | 307.8 mV | 297.7 mV | −3.26 % |
| PWM, 50 % (0 to Vp) | 500 mV | 555.4 mV | +11.1 % |
| PWM, 25 % | 433 mV | 416.5 mV | −3.81 % |
| PWM, 10 % | 300 mV | 199.9 mV | −33.4 % |
The formulas assume ideal edges and a stable period. Real PWM has finite rise and fall times and ringing, which change the RMS slightly; a narrow pulse train also has a high crest factor, and many meters and RMS converter ICs lose accuracy above their rated crest factor, so check that figure in the datasheet. Bandwidth matters as well: a meter that cannot follow the harmonics of a fast edge reads low. For anything that is not a clean sine, use a true-RMS meter or an oscilloscope’s RMS measurement over a whole number of periods, and decide whether you want the AC-coupled reading or AC + DC. For power in a resistor, always use the RMS value; for the voltage rating of a part, use the peak.
RMS (root mean square) voltage is the square root of the mean of v² over a period: the DC voltage that dissipates the same power in a resistor. The 120 V on a US outlet is an RMS value.
Square the waveform, average the squares over one period, and take the square root. For a sine that gives Vrms = Vpeak ÷ √2 = 0.7071 × Vpeak, so a 10 V peak sine is 7.071 V rms.
For a sine, multiply the peak by 0.7071 to get RMS, and multiply RMS by 1.414 to get the peak. Other waveforms use the RMS ÷ peak ratios in the table on this page.
For a sine, Vrms = Vpp × 0.3536, because the peak is half the swing. Going the other way, Vpp = Vrms × 2.828, so 120 V rms swings 339.4 V peak to peak.
3.536 V. The peak is half the swing (5 V), and 5 V ÷ √2 = 3.536 V.
A square wave that swings ±Vp has an RMS value equal to Vp, because v² is Vp² all the time. A logic-level square wave from 0 to Vp at 50 % duty is Vp × √0.5 = 0.7071 × Vp, so a 3.3 V clock is 2.333 V rms.
For a pulse from 0 to Vp with duty cycle D, Vrms = Vp × √D and the average is Vp × D. A 12 V PWM at 25 % is 6 V rms but only 3 V average, and it is the RMS value that sets the heating in a resistive load.
RMS is the DC voltage that would heat a resistor equally; average is the mean of the waveform. For a sine centered on zero the plain average is 0, so meters use the average of the rectified wave instead: 0.6366 × Vpeak, against 0.7071 × Vpeak for RMS.
Crest factor is peak ÷ RMS. It is 1.414 for a sine, 1 for a ±Vp square wave, 1.732 for a triangle, and 1 ÷ √D for a pulse train, so a 1 % duty pulse has a crest factor of 10. High crest factors are hard for RMS meters and converters to measure accurately.
An average-responding meter measures the rectified average and multiplies it by 1.111, the ratio that is correct for a sine. On a ±Vp square wave it reads 11.1 % high and on a triangle 3.81 % low. A true-RMS meter reads both correctly within its crest-factor and bandwidth limits.
The AC and DC parts add as squares: Vrms = √(Vdc² + Vac,rms²). A 1 V peak sine on a 2.5 V bias is √(2.5² + 0.7071²) = 2.598 V rms.
See all free electronics tools →
ProtoFlow is free AI PCB design software: describe a circuit and get a schematic with real parts, PCB layout with an autorouter, SPICE simulation and Gerber files. Native KiCad, Altium and EAGLE import and export. Free on macOS, Windows and Linux.
Free to start. No card required.