Electrical

PWM Average Voltage Calculator

Find the time-average voltage of a two-level pulse-width-modulated waveform.

Ideal component relationshipsUnits and assumptions explained below
Circuit workbench
Circuit workbench

Keep RMS, peak and DC values distinct.

See the method

Enter circuit values

Runs on your device

Your circuit result

Your result

Let’s calculate.

Use the Calculate button to see your result.

Review the method below for assumptions and conventions.

How to use this tool

  1. Enter high level, low level, duty cycle.
  2. Select Calculate to view the result.
  3. Check the method and assumptions below before using the result.

Input reference and sample values

Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.

InputFormat and unitsSample
High levelNumeric value. Unit: V. Minimum: -1000000.5
Low levelNumeric value. Unit: V. Minimum: -1000000.0
Duty cycleNumeric value. Unit: %. Zero or positive. Maximum: 100.40

Result for these sample inputs

2 V

Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.

The method, explained

Average = D×Vhigh+(1−D)×Vlow, where D is duty cycle divided by 100.

A WORKED EXAMPLE

Using high level = 5 V, low level = 0 V, duty cycle = 40 %, the result is 2 V. Change these example inputs to match your task; use the method above to check each step.

Understanding your result

This is the time average, not RMS or a guaranteed filtered output. Load, switching losses and filter ripple are excluded.

What to keep in mind

This is the time average, not RMS or a guaranteed filtered output. Load, switching losses and filter ripple are excluded. Ideal-component calculation for study and estimation. It does not select safe wiring, protective devices or component ratings for an installation.

Methodology maintained by ClarityKit. How these tools are built and checked.