When you move from DC circuits to alternating current (AC), simple resistance is no longer enough to describe how a circuit behaves. Inductors and capacitors introduce reactance, which shifts the timing (phase) between voltage and current. To calculate true power, size correction capacitors, or determine voltage drop, you must use the AC trig formula to resolve the impedance and power triangles. This guide breaks down the exact mathematics, common bench mistakes, and step-by-step worked problems to get you from theory to a physical component pick.
The Core AC Trig Formula: Impedance and Phase Angle
The fundamental trig formula for AC circuit analysis calculates the phase angle ($\theta$) between voltage and current using the ratio of reactance to resistance. This same geometric relationship applies to the power triangle (Real, Reactive, and Apparent power). The primary formulas are:
Phase Angle: $\theta = \arctan(\frac{X}{R})$ or $\theta = \arctan(\frac{Q}{P})$
Impedance Magnitude: $Z = \frac{R}{\cos(\theta)}$ or $Z = \sqrt{R^2 + X^2}$
Power Factor (PF): $PF = \cos(\theta) = \frac{P}{S}$
| Symbol | Parameter | Unit | Physical Meaning |
|---|---|---|---|
| $\theta$ | Phase Angle | Degrees (°) or Radians | Time shift between voltage and current waveforms |
| R | Resistance | Ohms ($\Omega$) | Opposition to current that dissipates real heat/work |
| X | Reactance ($X_L$ or $X_C$) | Ohms ($\Omega$) | Opposition to current that stores/releases energy in fields |
| Z | Impedance | Ohms ($\Omega$) | Total vector sum of R and X |
| P | Real Power | Watts (W) or kW | Useful work performed (the resistive component) |
| Q | Reactive Power | Volt-Amps Reactive (VAR) | Energy bouncing back and forth in magnetic/electric fields |
| S | Apparent Power | Volt-Amps (VA) or kVA | Total power the source must supply (Vector sum of P and Q) |
Rearranged Forms: Solving for Every Variable
On the bench, you rarely have all the variables handed to you. Depending on whether you are reading a motor nameplate (which gives P and PF) or measuring with an LCR meter (which gives Z and $\theta$), you need to isolate different variables. Here are the algebraic rearrangements of the core trig formula:
- To find Resistance (R): $R = Z \cdot \cos(\theta)$ | $R = \frac{X}{\tan(\theta)}$ | $R = \frac{P}{I^2}$
- To find Reactance (X): $X = Z \cdot \sin(\theta)$ | $X = R \cdot \tan(\theta)$ | $X = \frac{Q}{I^2}$
- To find Impedance (Z): $Z = \frac{R}{\cos(\theta)}$ | $Z = \frac{X}{\sin(\theta)}$ | $Z = \sqrt{R^2 + X^2}$
- To find Real Power (P): $P = S \cdot \cos(\theta)$ | $P = I^2 \cdot R$
- To find Reactive Power (Q): $Q = P \cdot \tan(\theta)$ | $Q = \sqrt{S^2 - P^2}$
Application Boundaries: Assumptions, Unit Traps, and Magnitudes
Before plugging numbers into your calculator, you must understand the physical boundaries of this math. According to All About Circuits, these trigonometric relationships assume steady-state, sinusoidal AC waveforms with linear components. If you are analyzing a circuit with heavy harmonic distortion (like a VFD driving a motor), the basic trig formula breaks down, and you must use true-RMS power analyzers to calculate distortion power factor.
⚠️ Critical Unit Traps That Break the Math
- The Radian vs. Degree Mistake: Standard C-code math libraries (like
math.hin Arduino/ESP32) and scientific calculators default to radians. If your phase angle is 30° and you calculatecos(30)in radian mode, you get 0.154 instead of the correct 0.866. Always verify your calculator is in DEG mode for standard electrical power calculations. - The kilo- Prefix Mismatch: Power Factor is $P / S$. If your real power is 5,000 Watts and your apparent power is 6 kVA, calculating $5000 / 6$ yields a PF of 833, which is physically impossible. You must convert both to the same base unit (5 kW / 6 kVA = 0.833) before dividing.
Realistic Answer Magnitudes: The phase angle $\theta$ for passive loads must fall between -90° (purely capacitive) and +90° (purely inductive). Power Factor ($\cos \theta$) must strictly be between 0.0 and 1.0. If your math spits out a PF of 1.2 or an angle of 115°, you have a unit error or a sign error, not a physics breakthrough.
Worked Problem 1: Power Factor Correction Capacitor Sizing
Scenario: You have a 5 HP industrial air compressor motor running on a 240V AC, 60Hz line. A Fluke power quality logger shows it draws 4,000W of Real Power (P) at a lagging Power Factor of 0.75. The utility charges a penalty for PF below 0.90. Your target is to correct the PF to 0.95. What exact capacitor do you need to install in parallel?
Step 1: Calculate the initial Reactive Power ($Q_1$).
Find the initial phase angle: $\theta_1 = \arccos(0.75) = 41.41°$.
Calculate initial VARs: $Q_1 = P \cdot \tan(\theta_1) = 4000\text{W} \cdot \tan(41.41°) = 4000 \cdot 0.8819 = 3527.6\text{ VAR}$.
Step 2: Calculate the target Reactive Power ($Q_2$).
Find the target phase angle: $\theta_2 = \arccos(0.95) = 18.19°$.
Calculate target VARs: $Q_2 = P \cdot \tan(\theta_2) = 4000\text{W} \cdot \tan(18.19°) = 4000 \cdot 0.3287 = 1314.8\text{ VAR}$.
Step 3: Determine the required Capacitor Reactive Power ($Q_c$).
The capacitor must absorb the difference: $Q_c = Q_1 - Q_2 = 3527.6\text{ VAR} - 1314.8\text{ VAR} = 2212.8\text{ VAR}$.
Step 4: Calculate the required Capacitance (C) in Farads.
First, find the required capacitive reactance ($X_c$):
$X_c = \frac{V^2}{Q_c} = \frac{(240\text{V})^2}{2212.8\text{ VAR}} = \frac{57600}{2212.8} = 26.03\ \Omega$.
Next, use the reactance trig formula to find C ($X_c = \frac{1}{2 \pi f C}$):
$C = \frac{1}{2 \cdot \pi \cdot 60\text{Hz} \cdot 26.03\ \Omega} = \frac{1}{376.99 \cdot 26.03} = \frac{1}{9813} = 0.0001019\text{ F}$.
Convert to microfarads: $0.0001019\text{ F} \cdot 1,000,000 = \mathbf{101.9\ \mu\text{F}}$.
Worked Problem 2: Motor Impedance and True Voltage Drop
Scenario: You are wiring a series RL test circuit on the bench. It consists of a 15 $\Omega$ power resistor and an iron-core inductor that measures 20 $\Omega$ of inductive reactance ($X_L$) at 60Hz. You push 2.0 Amps of AC current through the series loop. What is the total voltage drop across the entire series combination, and what is the phase angle?
Step 1: Calculate Total Impedance (Z).
Using the Pythagorean trig derivation: $Z = \sqrt{R^2 + X_L^2}$.
$Z = \sqrt{(15\ \Omega)^2 + (20\ \Omega)^2} = \sqrt{225 + 400} = \sqrt{625} = \mathbf{25\ \Omega}$.
Step 2: Calculate the Phase Angle ($\theta$).
$\theta = \arctan(\frac{X_L}{R}) = \arctan(\frac{20}{15}) = \arctan(1.333) = \mathbf{53.13°}$ (Current lags voltage).
Step 3: Calculate Total Voltage Drop ($V_{total}$).
Using Ohm's Law for AC ($V = I \cdot Z$):
$V_{total} = 2.0\text{A} \cdot 25\ \Omega = \mathbf{50.0\text{V AC}}$.
Note: You cannot simply add the voltage drop across the resistor (30V) and the inductor (40V) arithmetically to get 70V. Because they are 90° out of phase, you must use the vector sum: $\sqrt{30^2 + 40^2} = 50\text{V}$.
Decision Tree: Selecting the Right Correction Component
When analyzing an AC system, the trig formula tells you the magnitude of the error, but the sign and context dictate the physical hardware you must buy. Use this decision matrix to terminate your math into a concrete purchasing decision. For deep industrial corrections, always cross-reference with U.S. Department of Energy guidelines on motor system efficiency.
| Measured Condition | Trig Formula Result | Required Action | Concrete Component Pick (240V AC System) |
|---|---|---|---|
| Lagging PF (Inductive load like motors, transformers) | $\theta > 0°$ $Q$ is positive (+VAR) |
Add parallel capacitance to supply local reactive power. | Buy: Cornell Dubilier 947D101K401AC (100µF, 400VAC metallized polypropylene film capacitor) or equivalent IEC 61071 certified AC-rated cap. Never use DC-rated electrolytics here. |
| Leading PF (Capacitive load like long underground cables, UPS banks) | $\theta < 0°$ $Q$ is negative (-VAR) |
Add parallel inductance (shunt reactor) to absorb excess reactive power. | Buy: Hammond Manufacturing 114F series AC line reactor (e.g., 114F25, 25mH, 2A) sized to match the calculated $X_L$ requirement. |
| Resonance Risk (PF correction caps interacting with VFD harmonics) | $X_L = X_C$ at harmonic frequency ($h = \sqrt{\frac{kVA_{sys}}{kVAR_{cap}}}$) | Detune the capacitor bank by adding a series inductor to shift the resonant frequency below the 5th harmonic (300Hz). | Buy: A 7% detuned reactor-capacitor module (e.g., Vishay ESTAPha 7% detuned assembly) specifically rated for harmonic filtering. |
Final Bench Rule: Always calculate your required reactive power ($Q_c$) using the trig formula first, then select the next standard capacitor size below your calculated value. Overcorrecting an inductive load past 1.0 PF into a leading PF can cause severe overvoltage conditions on the utility grid and trip your facility's main breakers.






