The average voltage equation calculates the DC equivalent of a periodic waveform by finding the net area under the voltage-time curve over one complete cycle. For a full-wave rectified sine wave—the most common scenario in power supply design—the direct answer is Vavg = 2Vp / π (approximately 0.637 × Vp). For a pulsed DC or PWM square wave, it simplifies to Vavg = Vp × D, where D is the duty cycle.
While RMS voltage tells you about heating and power dissipation, average voltage tells you the net DC value that will drive a DC motor, charge a battery, or bias a transistor. Below is the definitive bench-reference for applying, rearranging, and calculating average voltage across real-world circuits.
Reference Table: Average Voltages for Common Waveforms
Before diving into the calculus, here is a data-dense reference table. These values assume a standard 120V AC RMS mains supply (which has a peak voltage Vp of 169.7V) and a 3.3V microcontroller logic rail. Keep this table bookmarked for quick sanity checks when probing circuits with an oscilloscope.
| Waveform Type | Source / Context | Peak Voltage (Vp) | Equation Used | Calculated Vavg |
|---|---|---|---|---|
| Pure Sine Wave (AC) | 120V RMS Mains | 169.7 V | 0 (Symmetrical) | 0.00 V |
| Half-Wave Rectified | 120V RMS, 1 Diode | 169.0 V* | Vp / π | 53.79 V |
| Full-Wave Rectified | 120V RMS, Bridge | 168.3 V* | 2Vp / π | 107.16 V |
| Square Wave (50% Duty) | 0V to Vp Logic | 5.0 V | Vp × 0.5 | 2.50 V |
| PWM (75% Duty) | ESP32 3.3V Logic | 3.3 V | Vp × 0.75 | 2.475 V |
| Triangle Wave | 0V to Vp Ramp | 12.0 V | Vp / 2 | 6.00 V |
*Note: Peak voltages for rectified mains account for a 0.7V silicon diode forward drop (one diode for half-wave, two for full-wave bridge). Textbooks often ignore this; on the bench, it matters.
The Core Equations and Symbol Definitions
The universal definition of average voltage for any periodic waveform is the integral of the voltage function over one period, divided by that period:
Vavg = (1 / T) ∫0T v(t) dt
For a sine wave, integrating sin(θ) from 0 to π yields exactly 2. Dividing by the period π gives the constant 2/π (≈ 0.6366). Below is the spec-sheet table defining every variable in the practical algebraic forms derived from this calculus.
| Symbol | Parameter | Standard Unit | Definition & Bench Context |
|---|---|---|---|
| Vavg | Average Voltage | Volts (V) | The net DC equivalent value. What a DC-responding moving-coil meter reads. |
| Vp | Peak Voltage | Volts (V) | Maximum amplitude from zero. For AC mains, Vp = VRMS × √2. |
| Vp-p | Peak-to-Peak Voltage | Volts (V) | Difference between max positive and max negative excursions (Vp-p = 2Vp for symmetrical AC). |
| T | Period | Seconds (s) | Time for one complete cycle. T = 1 / f. |
| D | Duty Cycle | Decimal / % | Ratio of ON-time to total period (ton / T). Used for PWM and square waves. |
| π | Pi | Dimensionless | Mathematical constant ≈ 3.14159. Arises from the radian-based integration of sine waves. |
Rearranged Forms, Assumptions, and Unit Traps
On the bench, you rarely solve for Vavg in isolation. Usually, you know the target average voltage and need to find the required peak or duty cycle. Here are the rearranged forms:
- Solving for Peak (Full-Wave Sine): Vp = (Vavg × π) / 2
- Solving for Peak (Half-Wave Sine): Vp = Vavg × π
- Solving for Duty Cycle (PWM): D = Vavg / Vp
- Solving for ON-time (PWM): ton = (Vavg / Vp) × T
When the Formula Applies (and Assumptions)
The average voltage equation assumes a steady-state, strictly periodic waveform. It applies perfectly to continuous rectified AC, stable PWM signals, and repetitive function generator outputs. It does not apply to transient events, single-pulse ESD strikes, or waveforms with a drifting DC offset unless the offset is explicitly added to the integral.
Unit Mistakes That Break the Math
- Confusing RMS with Average: This is the most common fatal error. A standard US wall outlet is 120V RMS, not average. If you plug 120 into the Vp slot of the average equation, your math is garbage. You must convert VRMS to Vp first (120 × 1.414 = 169.7V).
- Degrees vs. Radians in Calculus: If you are manually integrating a waveform using a calculator, ensure it is in Radian mode. The integral of sin(x) from 0 to 180 (degrees) yields a completely different numeric result than 0 to π (radians), breaking the 2/π derivation.
- Duty Cycle as Percentage vs. Decimal: If Vp is 5V and you want a 60% duty cycle, you must multiply by 0.60, not 60. (5 × 0.6 = 3V, whereas 5 × 60 = 300V, which will instantly destroy your 5V logic).
What a Realistic Answer Magnitude Looks Like
For full-wave rectified AC, Vavg will always be roughly 90% of the VRMS value (e.g., 24VAC RMS yields ~21.6V DC average before diode drops). For PWM, Vavg will always be strictly bounded between 0V and the logic rail Vp. If your calculated Vavg exceeds Vp, you have made a math error.
Worked Example 1: Full-Wave Bridge Rectifier on 24VAC
Scenario: You are building a linear power supply using a 24VAC RMS transformer and a standard KBPC5010 full-wave bridge rectifier. You need to know the exact average DC voltage hitting your smoothing capacitor bank to size your linear regulator.
Step 1: Identify knowns and convert RMS to Peak.
- VRMS = 24.0 V
- Vp(ideal) = 24.0 V × √2 = 24.0 × 1.4142 = 33.94 V
Step 2: Account for real-world silicon diode drops.
In a full-wave bridge, current flows through two diodes simultaneously during each half-cycle. The KBPC5010 datasheet specifies a forward voltage (Vf) of ~0.7V per diode at low currents, up to 1.1V at 50A. Assuming a modest 2A load, we'll use 0.8V per diode.
- Total drop = 2 × 0.8 V = 1.6 V
- Vp(net) = 33.94 V - 1.6 V = 32.34 V
Step 3: Apply the average voltage equation.
- Vavg = 2Vp(net) / π
- Vavg = (2 × 32.34 V) / 3.14159
- Vavg = 64.68 V / 3.14159 = 20.58 V
Verification: If you connect a true-DC responding digital multimeter across the rectifier output (without a smoothing capacitor), it will read approximately 20.5V to 20.6V. If you add a large filter capacitor, the voltage will charge to the peak (32.34V), not the average. The average equation only applies to the unfiltered, pulsating DC waveform.
Worked Example 2: ESP32 PWM Duty Cycle for a 5V Fan
Scenario: You are using an ESP32 DevKit v1 to control a 5V PC fan via a MOSFET gate. The fan's tachometer signal indicates optimal airflow at an average gate drive voltage of 2.1V. The ESP32 operates at 3.3V logic. What duty cycle and 8-bit LEDC register value do you need?
Step 1: Identify knowns.
- Vp (ESP32 GPIO High) = 3.3 V
- Target Vavg = 2.1 V
Step 2: Rearrange the PWM average equation to solve for Duty Cycle (D).
- Vavg = Vp × D
- D = Vavg / Vp
- D = 2.1 V / 3.3 V = 0.6363 (or 63.63%)
Step 3: Convert to microcontroller register value.
The ESP32's LEDC hardware PWM peripheral is configured for 8-bit resolution in this firmware, meaning the period is divided into 28 = 256 discrete steps (0 to 255).
- Register Value = D × 255
- Register Value = 0.6363 × 255 = 162.25
Result: Round to the nearest integer. You must write a duty cycle value of 162 to the LEDC channel. (For more on ESP32 PWM implementation, refer to the Espressif LEDC API documentation).
Average vs. RMS: Application Comparison Matrix
Multimeter manufacturers often blur the lines between Average and RMS, leading to massive diagnostic errors. A cheap 'average-responding' DMM actually measures the average voltage of an AC wave, then artificially multiplies it by 1.11 (the form factor of a pure sine wave) to display an RMS number. If you feed it a PWM wave, the reading will be entirely wrong. Here is when to use which metric.
| Criterion | Average Voltage (Vavg) | RMS Voltage (VRMS) |
|---|---|---|
| Physical Meaning | Net DC equivalent; net charge transfer. | Equivalent DC heating value in a resistor. |
| Primary Use Cases | DC motor speed, battery charging, electroplating, PWM logic levels. | AC mains power, resistive heating, audio power, I²R losses. |
| Pure Sine Wave (120VAC) | 0 V (over a full cycle) | 120 V |
| Full-Wave Rectified Sine | 108 V (approx) | 120 V (same as original AC) |
| Measurement Tool | Oscilloscope (math function) or DC-coupled DMM. | True-RMS DMM or thermal wattmeter. |
Understanding the distinction between these two values is what separates textbook theory from functional bench design. For deeper reading on waveform mathematics and metering, the Electronics Tutorials guide on average waveforms and Fluke's technical breakdown of True-RMS vs. Average-responding meters provide excellent supplementary reference material.






