The average voltage ($V_{avg}$) of a periodic waveform is the DC equivalent value that would transfer the same net charge over one full period. If you are analyzing a full-wave rectified sine wave, the direct answer is $V_{avg} = \frac{2V_p}{\pi} \approx 0.637 V_p$. For a pulsed DC or PWM square wave, the formula simplifies to $V_{avg} = V_{peak} \times D$, where $D$ is the duty cycle. Understanding this formula is the difference between a power supply that runs cool and one that melts your load.
The Core Vavg Formula and Symbol Definitions
The general mathematical definition of average voltage is the integral of the instantaneous voltage $v(t)$ over one period $T$, divided by that period. In practical bench work, we use the derived algebraic forms for standard waveforms. Below is the master reference for the variables you will encounter.
| Symbol | Definition | Standard Unit | Notes |
|---|---|---|---|
| $V_{avg}$ | Average Voltage | Volts (V) | The DC equivalent value read by a DC-coupled multimeter. |
| $V_p$ | Peak Voltage | Volts (V) | Maximum amplitude from the zero-crossing line. |
| $V_{pp}$ | Peak-to-Peak Voltage | Volts (V) | Total swing from negative peak to positive peak ($2 \times V_p$ for symmetrical AC). |
| $V_{rms}$ | Root Mean Square Voltage | Volts (V) | The heating equivalent voltage. Do not confuse with $V_{avg}$. |
| $T$ | Period | Seconds (s) | The time for one complete cycle ($1/f$). |
| $D$ | Duty Cycle | Decimal (0.0-1.0) | Ratio of ON-time to total period for square/PWM waves. |
Standard Waveform Equations
- Full-Wave Rectified Sine: $V_{avg} = \frac{2 V_p}{\pi}$
- Half-Wave Rectified Sine: $V_{avg} = \frac{V_p}{\pi}$
- PWM / Square Wave: $V_{avg} = V_{peak} \times D$
- Triangle / Sawtooth (Symmetrical): $V_{avg} = 0$ (over a full cycle), or $\frac{V_p}{2}$ for a unipolar ramp.
Rearranged Forms and Unit Mistakes That Break the Math
On the bench, you rarely just calculate $V_{avg}$ from a known peak. Usually, you have a target $V_{avg}$ and need to find the required transformer tap or microcontroller duty cycle. Here are the rearranged forms solving for each primary variable.
Rearranged Forms List
- Solve for Peak Voltage (Full-Wave): $V_p = \frac{V_{avg} \times \pi}{2}$
- Solve for Peak Voltage (Half-Wave): $V_p = V_{avg} \times \pi$
- Solve for Duty Cycle (PWM): $D = \frac{V_{avg}}{V_{peak}}$
- Solve for Peak Voltage from Duty Cycle: $V_{peak} = \frac{V_{avg}}{D}$
- The $V_{pp}$ Trap: Oscilloscopes often default to displaying Peak-to-Peak ($V_{pp}$). If you plug $V_{pp}$ into the $V_p$ formula without dividing by 2 first, your calculated $V_{avg}$ will be exactly double the real value.
- The RMS Confusion: Wall outlets and transformers are rated in $V_{rms}$ (e.g., 120VAC or 24VAC). You must convert $V_{rms}$ to $V_p$ first by multiplying by $\sqrt{2}$ ($\approx 1.414$) before applying the $V_{avg}$ formula.
- Duty Cycle Percentage: If your PWM controller reads '65%', you must use $0.65$ in the formula. Plugging in $65$ will yield a physically impossible voltage magnitude.
Solved Problems: From Bench to Breadboard
Let us walk through two distinct scenarios with strict unit tracking to demonstrate how these formulas apply in real circuit design.
Problem 1: Full-Wave Bridge Rectifier Power Supply
Scenario: You are building a linear power supply using a 24VAC transformer and a full-wave bridge rectifier. What is the theoretical $V_{avg}$ at the output before the smoothing capacitor?
- Identify the given: Transformer rating is $V_{rms} = 24\text{V}$. Waveform is full-wave rectified.
- Convert $V_{rms}$ to $V_p$:
$V_p = V_{rms} \times \sqrt{2}$
$V_p = 24\text{V} \times 1.414 = 33.94\text{V}$ - Account for diode voltage drop: A standard silicon bridge rectifier (like the W10M) drops about 1.4V across two conducting diodes.
$V_{p(out)} = 33.94\text{V} - 1.4\text{V} = 32.54\text{V}$ - Apply the Vavg formula:
$V_{avg} = \frac{2 \times V_{p(out)}}{\pi}$
$V_{avg} = \frac{2 \times 32.54\text{V}}{3.14159}$
$V_{avg} = \frac{65.08\text{V}}{3.14159} = 20.71\text{V}$
Realistic Magnitude Check: A 24VAC transformer yielding ~20.7V DC average (unfiltered) makes physical sense. If your math yielded 41V or 12V, you would know a factor of 2 or $\pi$ was misplaced.
Problem 2: ESP32 PWM Digital-to-Analog Converter (DAC)
Scenario: As of 2026, modern ESP32-S3 microcontrollers are frequently used to generate pseudo-analog reference voltages via PWM and an RC low-pass filter. You need a $V_{avg}$ of exactly 1.2V to bias a transistor gate. The logic high ($V_{peak}$) is 3.3V. What duty cycle is required?
- Identify the given: Target $V_{avg} = 1.2\text{V}$, $V_{peak} = 3.3\text{V}$.
- Select the rearranged formula: $D = \frac{V_{avg}}{V_{peak}}$
- Calculate Duty Cycle (Decimal):
$D = \frac{1.2\text{V}}{3.3\text{V}} = 0.3636$ - Convert to Microcontroller Resolution: The Arduino `analogWrite()` equivalent for 8-bit resolution maps 0.0-1.0 to 0-255.
$\text{Register Value} = 0.3636 \times 255 = 92.72$ - Round to nearest integer: 93.
Verification: $93 / 255 \times 3.3\text{V} = 1.203\text{V}$. This is within the acceptable tolerance for most analog biasing networks.
Real-World Scenario: The Half-Wave Rectifier Motor Burnout
Formulas on a page do not show you the smoke. Here is a narrative walkthrough of a classic bench mistake where confusing $V_{avg}$ with $V_{rms}$ destroyed hardware.
The Setup
A technician needed to run a 24V DC cooling fan motor from an AC line. To save money and board space, they used a single diode (half-wave rectifier) instead of a full bridge, paired with a 48VAC step-down transformer. They reasoned that a half-wave rectifier chops the voltage in half, so a 48VAC transformer should yield roughly 24V DC.
The Numbers
- Transformer $V_{rms} = 48\text{V}$
- Peak Voltage $V_p = 48 \times \sqrt{2} = 67.88\text{V}$
- Half-Wave $V_{avg} = \frac{V_p}{\pi} = \frac{67.88}{3.14159} = 21.6\text{V}$
The technician measured 21.6V with their multimeter's DC setting. The fan spun up, and they considered the design a success.
The Outcome and What Went Wrong
After 45 minutes of operation, the motor windings overheated, the insulation melted, and the fan seized.
The Engineering Failure: The technician sized the transformer based on $V_{avg}$, which dictates the mechanical torque and speed of a DC motor. However, the heating (copper losses, $I^2R$) in the motor windings is dictated by the RMS voltage of the waveform.
For a half-wave rectified sine wave, the RMS voltage is not $V_{avg}$. It is calculated as $V_{rms} = \frac{V_p}{2}$.
$V_{rms(output)} = \frac{67.88\text{V}}{2} = 33.94\text{V}$.
The motor was designed to dissipate heat based on 24V. Because heating scales with the square of the voltage ($P = \frac{V^2}{R}$), the motor was actually dissipating $(\frac{33.94}{24})^2 \approx 2.0$ times its rated thermal load. The multimeter read the $V_{avg}$ (21.6V) because standard meters average the rectified signal in DC mode, hiding the destructive RMS heating value. For a deep dive into why multimeters behave this way, refer to the Fluke guide on True-RMS vs. averaging meters.
When the Vavg Formula Applies (And When It Doesn't)
The $V_{avg}$ formula is a powerful tool, but it has strict boundaries. According to foundational AC theory documented by resources like Electronics Tutorials, you must respect the following assumptions:
Assumptions and Boundaries
- Periodic Steady-State: The formula assumes the waveform repeats identically over time $T$. It does not apply to transient spikes, ESD events, or damped oscillations where the area under the curve changes per cycle.
- Zero-Crossing Symmetry: For pure, unrectified AC sine waves (like raw wall power), the mathematical $V_{avg}$ over a full cycle is exactly 0V. The positive half cancels the negative half. The formulas provided above only apply to rectified (unipolar) waveforms or specific half-cycles.
- Charge Transfer vs. Power Transfer: $V_{avg}$ tells you the net DC charge transfer. It is the correct metric for electroplating, battery charging current estimation, and DC motor speed. It is the wrong metric for calculating resistive heating, incandescent lighting brightness, or AC power delivery. For those, you must use $V_{rms}$.
Realistic Answer Magnitudes
When you finish a calculation, sanity-check your magnitude against these common benchmarks:
- 120VAC Wall Outlet (Full-Wave Rectified): $V_p \approx 170\text{V}$. $V_{avg}$ should be $\approx 108\text{V}$. If you get 120V, you accidentally used the RMS value. If you get 170V, you forgot to divide by $\pi$.
- 5V Logic PWM at 50% Duty: $V_{avg}$ must be exactly 2.5V.
- Automotive Alternator (14.4V nominal, 3-phase full-wave): The ripple is complex, but the DC average will sit tightly around 14.0V to 14.4V. The peak-to-peak ripple is usually less than 0.5V.
By keeping your symbols defined, tracking your units through every intermediate step, and respecting the physical difference between average charge and RMS heating, you will design power systems that work on paper and survive on the bench.






