RMS Calculator - Root Mean Square, Average and Crest Factor
Calculate the RMS value, mean, peak and crest factor of a waveform from its sample values, or from the amplitude of a sine, square, triangle or sawtooth, with the equivalent DC heating value.
Calculator InputsFormula v1.0
Comma-separated values across one or more complete cycles
RMS = √((x1² + x2² + ... + xn²) ÷ n); for a sine wave RMS = peak ÷ √2; crest factor = peak ÷ RMS; form factor = RMS ÷ average of the absolute values
RMS value
Peak of 325.270 V and a crest factor of 1.414, delivering 529.003 W into 100 Ω
• RMS is the DC voltage that would produce the same heating in a resistor, which is why it is the correct value for power calculations.
• An average-responding meter assumes a sine wave and applies a 1.11 form factor, so it misreads distorted waveforms.
Step-by-Step Mathematical Working
Formula and method
RMS = √((x1² + x2² + ... + xn²) ÷ n); for a sine wave RMS = peak ÷ √2; crest factor = peak ÷ RMS; form factor = RMS ÷ average of the absolute valuesRMS is the value that produces the same heating in a resistor as a DC voltage of that size, which is why it is the meaningful figure for power. A cheap meter calibrated for sine waves will misread a distorted waveform because it measures the average and multiplies by 1.11.
Variables
- Samples
- The measured values across one or more complete cycles of the waveform
- Peak
- The maximum absolute value, which sets the crest factor against the RMS
- Crest factor
- Peak divided by RMS, which matters for insulation and for meter accuracy
Worked example
A 230 V RMS mains supply has a peak of 325.27 V and a crest factor of 1.414. For a 10 V amplitude square wave the RMS is 10 V, while for a 10 V peak triangle it is 5.77 V.
Who this calculator is for
Electrical students converting between peak and RMS, and engineers checking that a meter's reading matches the waveform it is measuring.
Complete guide to the rms calculator - root mean square, average and crest factor
Every figure below comes from this calculator itself. The method is RMS = √((x1² + x2² + ... + xn²) ÷ n); for a sine wave RMS = peak ÷ √2; crest factor = peak ÷ RMS; form factor = RMS ÷ average of the absolute values, applied to the tool's default inputs and then stress-tested one input at a time.
What the RMS Calculator - Root Mean Square, Average and Crest Factor works out
RMS Calculator - Root Mean Square, Average and Crest Factor answers one specific question: Calculate the RMS value, mean, peak and crest factor of a waveform from its sample values, or from the amplitude of a sine, square, triangle or sawtooth, with the equivalent DC heating value. It is written for electrical students converting between peak and RMS, and engineers checking that a meter's reading matches the waveform it is measuring.
The method is RMS = √((x1² + x2² + ... + xn²) ÷ n); for a sine wave RMS = peak ÷ √2; crest factor = peak ÷ RMS; form factor = RMS ÷ average of the absolute values. The inputs are Input method, Waveform, Peak amplitude (V), DC offset (V), Sample values, Load resistance (Ω). With the default values - Input method = waveform, Waveform = sine, Peak amplitude = 325.27 V, DC offset = 0 V, Sample values = 0, 7.07, 10, 7.07, 0, -7.07, -10, -7.07, Load resistance = 100 Ω - the result is RMS value: 230.001 V. Raising Peak amplitude from 325.27 V to 357.80 V moves the headline result from 230.001 V to 253.001 V.
Working through the reported figures
Alongside 230.001 V this method reports 16 supporting quantities: Input method: Sine waveform; Peak amplitude: 325.270 V; Peak to peak: 650.540 V; RMS value: 230.001 V. Taken together they show which input moved the answer and by how much.
The arithmetic as executed: For a sine wave, RMS = amplitude × 0.7071. 325.27 V × 0.7071 = 230.001 V of AC RMS. There is no DC offset, so the RMS value is the AC value. Crest factor = 325.270 ÷ 230.001 = 1.414, and form factor = 230.001 ÷ 207.073 = 1.111. Power into 100 Ω = 230.001² ÷ 100 = 529.003 W. Run the same substitution yourself; a match confirms the inputs were read as you intended.
How to interpret the answer
RMS is the value that produces the same heating in a resistor as a DC voltage of that size, which is why it is the meaningful figure for power. A cheap meter calibrated for sine waves will misread a distorted waveform because it measures the average and multiplies by 1.11.
In this case 230.001 V together with input method of Sine waveform is a single scenario, not a forecast range. Move the input you are least sure of, and watch the two figures change in step.
Common mistakes to avoid
Using peak instead of RMS when calculating power, which overstates it by a factor of two for a sine wave. Applying the 1.11 form factor to a non-sinusoidal waveform, which is how average-responding meters go wrong. Taking the RMS of a signal with a DC offset while expecting the AC value, when the offset contributes to the result. Averaging over a partial cycle, which biases the result.
Read the inputs back once before trusting the figure: Input method, Waveform, Peak amplitude (V), DC offset (V), Sample values, Load resistance (Ω) and confirm each entry matches its label, including whether a quantity is entered in the unit the label names. Nudge Peak amplitude and confirm the output responds in the direction the formula implies - here 230.001 V should shift smoothly rather than jump.
Limitations and responsible use
Assumes the samples cover complete cycles, or the result will not represent the periodic value. Uses ideal waveform factors rather than measured data unless samples are supplied. Does not decompose a distorted waveform into harmonics, which needs a Fourier analysis.
Read the figures above as conditional on those limits rather than as a guarantee. CalculatorFlash shows the formula, the substitution and the units so the arithmetic can be checked by hand, but it cannot verify that the inputs describe your real circumstances. For a consequential decision, confirm the current figure independently, because published values change between editions.
Frequently asked questions
How do I calculate RMS voltage?
For a sine wave, divide the peak by √2. A 325.27 V peak is 230 V RMS, which is the figure quoted for mains voltage.
What is the difference between RMS and average?
The average of a full sine wave is zero, so the average of the absolute value is used, which is 0.637 of peak. RMS is 0.707 of peak and is the value that determines heating.
What is crest factor?
Peak divided by RMS. It is 1.414 for a sine wave, 1.0 for a square wave and 1.732 for a triangle, and a high crest factor can overload an amplifier or a meter.
Does a DC offset affect RMS?
Yes. RMS combines the DC and AC components as the square root of the sum of their squares, so a 5 V offset on a 5 V peak sine gives 6.12 V RMS.
Related searches for this calculator
People also look for rms calculator, root mean square calculator, rms voltage calculator, crest factor calculator and rms vs average. Everything on this page is calculated in your browser from the formula shown above.
Related Science Calculators
Explore another calculator in this subject.
Voltage Divider Calculator - Output Voltage, Resistor Ratio and Current
Calculate a resistive voltage divider: the output voltage from two resistors, the resistor values needed for a target output, the current drawn and the loading error when a real load is connected.
Resistor Color Code Calculator - 4, 5 and 6 Band Values
Decode a resistor's colour bands into resistance, tolerance and temperature coefficient, or work in reverse from a value to the bands to look for, with the E-series standard values nearby.
Ohm's Law Calculator – Voltage, Current, Resistance & Power
Enter any two of voltage, current, and resistance to solve the other two instantly, with power, energy cost, and conductance derived from the same circuit.