Works on this device
Signal RMS Calculator
Turn the peak, peak-to-peak, RMS or average value of a waveform into the others, for sine, square, triangle, sawtooth, rectified and pulse waves. You can also work out the RMS, mean and energy of samples you paste, the crest factor, and the total RMS of parts that add.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose RMS, peak and average of a waveform, then the waveform and which value you know.
- Type the value in any unit, such as volts. The results are in the same unit.
- Choose Calculate. The result gives every value, the crest factor and the form factor.
- For a measured signal, choose RMS of samples you type or paste and paste the values.
The formulas
RMS (root mean square) is √(mean of v²) over one period: the DC value that heats a resistor as much. For an ideal waveform with the peak value P:
| Waveform | RMS | Average of |v| | Peak to peak | Crest factor |
|---|---|---|---|---|
| Sine | P ÷ √2 = 0.7071 P | 2P ÷ π = 0.6366 P | 2P | √2 = 1.414 |
| Square (±P) | P | P | 2P | 1 |
| Triangle or sawtooth | P ÷ √3 = 0.5774 P | P ÷ 2 | 2P | √3 = 1.732 |
| Half-wave rectified sine | P ÷ 2 | P ÷ π = 0.3183 P | P | 2 |
| Full-wave rectified sine | P ÷ √2 | 2P ÷ π | P | √2 |
| Pulse, 0 to P, duty D | P × √D | D × P | P | 1 ÷ √D |
Samples: RMS = √((x1² + ... + xn²) ÷ n); energy = x1² + ... + xn². Crest factor = peak ÷ RMS, or 20 × log10(peak ÷ RMS) in dB. Parts that add: total RMS = √(V1² + V2² + ...).
Worked examples
- Mains of 230 V RMS (a sine wave) has a peak of 230 × √2 = 325.27 V and a peak-to-peak value of 650.54 V.
- A square wave of ±5 V has an RMS value of 5 V; a triangle wave of ±5 V has 5 ÷ √3 = 2.887 V.
- A pulse train from 0 to 12 V with a duty cycle of 25% has an RMS value of 12 × √0.25 = 6 V and an average of 3 V.
- The 12 samples 0, 1.5, 2.6, 3, 2.6, 1.5, 0, −1.5, −2.6, −3, −2.6, −1.5 have a sum of squares of 54.04, so RMS = √(54.04 ÷ 12) = 2.1221.
- A DC part of 2 V and an AC part of 3 V RMS give a total RMS of √(4 + 9) = 3.606 V.
Limits you should know
- The waveform factors are for ideal shapes. Real signals with distortion, noise or slow edges differ: paste their samples, or use a true-RMS meter.
- Samples should cover whole periods at an even spacing; a part of a period gives another RMS.
- Parts add as squares only when they are at different frequencies or not related to each other.
- For a pulse train between two levels and its duty cycle, use the Signal Duty Cycle Calculator. For RMS voltages in dBV or dBu, use the Decibel Calculator. For the ratio of a signal to noise, use the Signal to Noise Ratio Calculator.