How to use this calculator
Calculate average and RMS voltage for a unipolar rectangular PWM waveform.
- Enter PWM high level, Vhigh (V), Duty cycle, D (%). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How this calculation works
Enter pulse high level and duty cycle for an ideal waveform switching between zero volts and a constant positive pulse level. Duty cycle is a percentage from 0% to 100%.
Inputs and units
highVoltage— PWM high level, Vhigh (V)- Voltage during the on portion; the low level is assumed to be 0 V.
dutyPercent— Duty cycle, D (%)- Fraction of each period at Vhigh, entered from 0% through 100%.
Formula
Vavg = Vhigh × D; Vrms = Vhigh × √D, where D is duty cycle as a fraction from 0 to 1 for a waveform at Vhigh when on and zero when off.
Method
Convert duty-cycle percent to a fraction. Average is high level times on-time fraction; RMS voltage is high level times the square root of that fraction.
Worked example
For a 12 V pulse at 25% duty cycle, average voltage is 3 V and RMS voltage is 6 V.
Assumptions and limits
This applies to an ideal unipolar two-level rectangular waveform without switching ripple or overshoot. It does not calculate load current, power, filtering, dead time, or switching losses.
Frequently asked questions
Why can RMS voltage exceed average voltage?
RMS squares instantaneous voltage before averaging; for this waveform it equals Vhigh multiplied by square root of duty fraction.
What low level is assumed?
The low level is zero volts. A waveform switching between two nonzero levels needs a different expression.
Does average voltage equal DC load voltage?
Only for suitable load and filtering conditions. This gives waveform statistics, not the response of a particular circuit.
How do I use the PWM Average and RMS Voltage Calculator?
Enter PWM high level, Vhigh (V), Duty cycle, D (%). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of PWM Average and RMS Voltage?
For a 12 V pulse at 25% duty cycle, average voltage is 3 V and RMS voltage is 6 V.
Read our calculation methodology.