PWM to Voltage Calculator
Convert duty cycle + high/low levels into an equivalent average voltage (ideal low-pass average).
How to Use
- Enter Duty Cycle (0–100%).
- Enter Vhigh (PWM high level) and optionally Vlow (PWM low level).
- (Optional) Enter Frequency to estimate how “filter-friendly” the PWM is.
- Open Show Work for the exact formula and steps.
Show Work (step-by-step)
Formulas
The ideal average voltage of a PWM signal over one period is:
Vavg = Vlow + D × (Vhigh − Vlow)
- D = duty cycle as a fraction (0 to 1)
- Vspan =
Vhigh − Vlow - Period (optional) =
T = 1 / f
FAQ
Why doesn’t my multimeter match Vavg exactly?
Many meters measure “average-responding” or “true RMS” differently depending on PWM frequency and waveform. Filtering and sampling behavior can skew readings.
Is Vavg the same as RMS?
No. Average voltage (DC component) differs from RMS. RMS relates to heating/power in resistive loads. This tool is for the average / DC-equivalent after filtering.
What if Vlow is not 0V?
That’s why Vlow is included. Some drivers have offsets, or you may be PWM’ing around a baseline.
How do I get a smoother analog voltage from PWM?
Use a low-pass filter (RC/LC) and choose a PWM frequency high enough relative to the filter cutoff. Higher PWM frequency generally makes filtering easier.
Tool Info
Last updated:
Updates may include unit support, edge-case handling, and improved smoothing guidance.