How to Use the Calculator?
Choose the waveform type first (such as sine, square, triangle, sawtooth, pulse, half-wave rectified sine, or full-wave rectified sine). Then select the voltage metric you already know: peak voltage (Vp), peak-to-peak voltage (Vp−p), or average voltage (Vavg).
Next, type the voltage value and select the correct unit (mV, V, kV, or MV). If your signal has a DC offset, enter it in the DC offset field and choose its unit too. If you selected a pulse wave, also enter the duty cycle percentage.
After entering the values, read the results area. The main result shows the True RMS voltage, and the other fields show the peak voltage, peak-to-peak voltage, average voltage, crest factor, and form factor.
Let’s learn what RMS voltage means, how it changes with different waveforms like sine, square, triangle, sawtooth, pulse, and rectified sine waves, and how to calculate it using the correct formulas for each type.
What is RMS Voltage?
RMS voltage is a way to describe an AC voltage so we can compare it fairly to a DC voltage. The letters RMS stand for Root Mean Square. That sounds complicated, but the idea is very practical: RMS tells us how much electrical “heating effect” or power a voltage can produce.
Here is the easiest way to think about it. A DC voltage of 10 V stays at 10 V all the time. But an AC voltage keeps rising and falling. So asking for the “effective” value of AC is tricky. RMS solves this by giving us one number that acts like an equivalent DC value for power.
For example, the household AC voltage is often written as 120 V or 230 V. That value is an RMS value, not the maximum peak. The actual voltage goes above and below that.
The General RMS Formula
The general RMS formula for any repeating voltage v(t) is
$$V_{\mathrm{RMS}}=\sqrt{\frac{1}{T}\int_0^T v^2(t)\,dt}$$
This formula says we first square the voltage, then find the average over one full cycle, and then take the square root. Squaring is important because AC voltages can be negative, and if we just averaged them normally, the positive and negative parts could cancel out.
If the voltage values are listed as separate measurements instead of a smooth function, the RMS formula becomes
$$V_{\mathrm{RMS}}=\sqrt{\frac{V_1^2+V_2^2+\cdots+V_n^2}{n}}$$
RMS Formulas for Different Waveforms
Now let’s connect this idea to common wave shapes.
Sine Wave
For a sine wave, which is the most common AC waveform, the RMS value is related to the peak voltage Vp by
$$V_{\mathrm{RMS}}=\frac{V_p}{\sqrt{2}}$$
and since √2≈1.414, this is also
$$V_{\mathrm{RMS}}\approx 0.707V_p$$
If you are given the peak-to-peak voltage Vp−p, remember that for a centered sine wave,
$$V_{p-p}=2V_p$$
so the RMS value becomes
$$V_{\mathrm{RMS}}=\frac{V_{p-p}}{2\sqrt{2}}$$
For a half-wave rectified sine wave, the RMS value is
$$V_{\mathrm{RMS}}=\frac{V_p}{2}$$
For a full-wave rectified sine wave, the RMS value is the same as a normal sine wave:
$$V_{\mathrm{RMS}}=\frac{V_p}{\sqrt{2}}$$
Square Wave
For a square wave, the voltage stays at its peak level (positive and negative, depending on the cycle), so its RMS value is simply
$$V_{\mathrm{RMS}}=V_p$$
That makes square waves interesting because they deliver more power than a sine wave with the same peak voltage.
Triangle Wave
For a triangle wave, the RMS value is
$$V_{\mathrm{RMS}}=\frac{V_p}{\sqrt{3}}$$
which is about
$$V_{\mathrm{RMS}}\approx 0.577V_p$$
Sawtooth Wave
For a sawtooth wave, the RMS relationship is the same as a triangle wave (assuming the waveform is symmetric around zero):
$$V_{\mathrm{RMS}}=\frac{V_p}{\sqrt{3}}$$
Pulse Wave
For a pulse wave, the RMS value depends on how long the pulse stays “on.” This is called the duty cycle. If the pulse has peak voltage Vp and duty cycle D written as a decimal (for example, 50% means D=0.5), then
$$V_{\mathrm{RMS}}=V_p\sqrt{D}$$
If the duty cycle is given as a percentage, you can convert it using
$$D=\frac{\text{Duty Cycle (\%)}}{100}$$
Peak, Peak-to-Peak, Average, and RMS Voltage
A very important idea is the difference between peak voltage, peak-to-peak voltage, average voltage, and RMS voltage. Peak voltage Vp is the highest value from zero to the top of the wave. Peak-to-peak voltage Vp−p is the total height from the most negative point to the most positive point. Average voltage depends on the waveform and on whether the positive and negative parts cancel. RMS voltage is the effective value for power.
For a sine wave centered at zero, the average over a full cycle is
$$V_{\mathrm{avg}}=0$$
because the positive and negative halves cancel out. But the average of the rectified sine wave is not zero. For a full-wave rectified sine wave, the average value is
$$V_{\mathrm{avg}}=\frac{2V_p}{\pi}$$
and for a half-wave rectified sine wave, the average value is
$$V_{\mathrm{avg}}=\frac{V_p}{\pi}$$
Converting Between Input Values
It is also helpful to know how to convert between common input values. If you know peak-to-peak voltage for a symmetric waveform, you can often start with
$$V_p=\frac{V_{p-p}}{2}$$
Then use the waveform’s RMS formula. If you know average voltage instead, you must use the correct relationship for that specific waveform. For example, for a full-wave rectified sine wave,
$$V_{\mathrm{avg}}=\frac{2V_p}{\pi}$$
so
$$V_p=\frac{\pi V_{\mathrm{avg}}}{2}$$
and then
$$V_{\mathrm{RMS}}=\frac{V_p}{\sqrt{2}}$$
Similarly, for a half-wave rectified sine wave,
$$V_p=\pi V_{\mathrm{avg}}$$
and then
$$V_{\mathrm{RMS}}=\frac{V_p}{2}$$
Crest Factor and Form Factor
You may also see “form factor” and “crest factor.” These help describe waveform shape.
Crest Factor
Crest factor tells us how “spiky” a waveform is. It is defined as
$$\text{Crest Factor}=\frac{V_p}{V_{\mathrm{RMS}}}$$
For a sine wave, the crest factor is
$$\text{Crest Factor}=\sqrt{2}\approx 1.414$$
Form Factor
Form factor compares RMS value to average value of the rectified waveform (or average magnitude). It is defined as
$$\text{Form Factor}=\frac{V_{\mathrm{RMS}}}{V_{\mathrm{avg}}}$$
For a sine wave, the form factor is about
$$\text{Form Factor}\approx 1.11$$
DC Offset and Total RMS Voltage
DC offset means the whole waveform is shifted up or down by a constant voltage. For example, a sine wave might normally swing equally above and below zero, but with a DC offset it could be centered at +2 V instead.
If a waveform has an AC part and a DC offset, the total RMS is not just a simple addition. Because RMS is based on squaring, the correct relationship is
$$V_{\mathrm{RMS,total}}=\sqrt{V_{\mathrm{RMS,AC}}^2+V_{\mathrm{DC}}^2}$$
This works when the AC part is centered around zero and the DC offset is constant. This formula is very useful because it shows that DC offset always increases the total RMS value (unless the offset is zero).
Here is a simple example with a sine wave. Suppose the peak voltage is 10 V. First find the sine-wave RMS:
$$V_{\mathrm{RMS,AC}}=\frac{10}{\sqrt{2}}\approx 7.07\text{ V}$$
If the DC offset is 3 V, then the total RMS becomes
$$V_{\mathrm{RMS,total}}=\sqrt{(7.07)^2+(3)^2}$$
$$V_{\mathrm{RMS,total}}=\sqrt{49.98+9}=\sqrt{58.98}\approx 7.68\text{ V}$$
So even though the AC part alone was about 7.07 V, adding a DC offset increases the total RMS to about 7.68 V.
Conclusion
So the main idea to remember is that RMS voltage is the effective voltage, meaning the DC voltage that would produce the same heating effect in a resistor. The exact calculation depends on the waveform shape, the kind of voltage value you start with (peak, peak-to-peak, or average), and whether there is a DC offset. Once students understand that RMS is about “power equivalence,” the formulas make much more sense.
