On the electronics workbench or in the field, alternating current (AC) analysis relies heavily on trigonometry. Unlike DC circuits where resistance is a simple scalar, AC circuits introduce phase shifts between voltage and current. We model these shifts using right-triangle geometry for impedance (Z, R, X) and power (S, P, Q), and general triangle geometry for non-orthogonal phasor addition. This guide derives the core trig triangle formulas, isolates every variable, and walks through bench-realistic worked examples with strict unit tracking.
The Core Right-Triangle Formulas in AC Theory
In a series AC circuit, the total opposition to current flow is impedance (Z), measured in ohms (Ω). It is the vector sum of resistance (R), which dissipates heat, and reactance (X), which stores and releases energy in magnetic or electric fields. Because R and X are exactly 90° out of phase, they form the legs of a right triangle, with Z as the hypotenuse. The phase angle (θ) represents the time delay between the voltage and current waveforms.
| Symbol | Parameter | Unit | Triangle Position |
|---|---|---|---|
| Z | Impedance (or Apparent Power S) | Ω (or VA) | Hypotenuse |
| R | Resistance (or Real Power P) | Ω (or W) | Adjacent Leg |
| X | Reactance (or Reactive Power Q) | Ω (or VAR) | Opposite Leg |
| θ | Phase Angle (or Power Factor Angle) | Degrees (°) or Radians | Angle between Z and R |
The foundational Pythagorean and trigonometric relationships governing this triangle are:
- Pythagorean Theorem: Z = √(R² + X²)
- Cosine (Power Factor): cos(θ) = R / Z
- Sine: sin(θ) = X / Z
- Tangent: tan(θ) = X / R
For quick bench calculations and power factor corrections, memorizing the standard trigonometric ratios for common industrial angles eliminates the need to constantly reach for a calculator. The table below provides these critical data-dense values used daily in motor and transformer analysis.
| Phase Angle (θ) | Power Factor (cos θ) | Sine (sin θ) | Tangent (tan θ) | Typical Application |
|---|---|---|---|---|
| 0° | 1.000 | 0.000 | 0.000 | Pure resistive loads (heaters, incandescent) |
| 30° | 0.866 | 0.500 | 0.577 | Standard industrial motor target (post-correction) |
| 45° | 0.707 | 0.707 | 1.000 | Unloaded transformers, equal R and X |
| 60° | 0.500 | 0.866 | 1.732 | Heavily inductive loads (welders, large chokes) |
| 90° | 0.000 | 1.000 | ∞ | Pure reactive (ideal capacitor/inductor) |
Rearranged Forms for Variable Isolation
When troubleshooting a circuit with a clamp meter and oscilloscope, you rarely have all three sides of the triangle. You must algebraically isolate the unknown variable. Below are the rearranged trig triangle formulas solving for every parameter.
Solving for Resistance (R)
- R = Z × cos(θ)
- R = X / tan(θ)
- R = √(Z² - X²)
Solving for Reactance (X)
- X = Z × sin(θ)
- X = R × tan(θ)
- X = √(Z² - R²)
Solving for Impedance (Z)
- Z = R / cos(θ)
- Z = X / sin(θ)
- Z = √(R² + X²)
Solving for Phase Angle (θ)
- θ = arccos(R / Z)
- θ = arcsin(X / Z)
- θ = arctan(X / R)
Worked Example 1: Series RL Impedance Triangle
Scenario: You are testing an industrial AC contactor coil. Your multimeter reads a DC resistance (R) of 15 Ω. When connected to a 60 Hz AC supply, an LCR meter measures the inductive reactance (XL) as 20 Ω. Calculate the total impedance (Z) and the phase angle (θ).
Step 1: Calculate Impedance (Z) using the Pythagorean theorem.
- Formula: Z = √(R² + X²)
- Substitute: Z = √((15 Ω)² + (20 Ω)²)
- Square the terms: Z = √(225 Ω² + 400 Ω²)
- Add the terms: Z = √(625 Ω²)
- Extract the root: Z = 25 Ω
Step 2: Calculate the Phase Angle (θ) using the tangent inverse.
- Formula: θ = arctan(X / R)
- Substitute: θ = arctan(20 Ω / 15 Ω)
- Divide (units cancel): θ = arctan(1.333)
- Calculate inverse tangent: θ = 53.13°
Worked Example 2: Non-Orthogonal Phasor Addition (Law of Cosines)
Right-triangle formulas fail when phasors are not exactly 90° apart. In 3-phase power systems, we frequently add two line-to-neutral voltages that are 120° apart to find the line-to-line voltage. For general triangles, we must use the Law of Cosines.
| Symbol | Parameter | Context in 3-Phase Math |
|---|---|---|
| a, b | Known Phasor Magnitudes | Line-to-Neutral Voltages (e.g., 120V) |
| c | Resultant Phasor Magnitude | Line-to-Line Voltage |
| C | Angle Opposite to c | 180° - 120° = 60° (Interior triangle angle) |
Scenario: Calculate the line-to-line voltage (VLL) of a wye-connected 3-phase system where the line-to-neutral voltage (VLN) is exactly 120V, and the phases are separated by 120°.
Step 1: Define the Law of Cosines formula.
- Formula: c² = a² + b² - 2ab × cos(C)
Step 2: Determine the interior angle C.
When drawing the vector subtraction VA - VB, the interior angle of the resulting triangle is 180° - 120° = 60°.
Step 3: Substitute and solve with unit tracking.
- VLL² = (120 V)² + (120 V)² - 2(120 V)(120 V) × cos(60°)
- VLL² = 14,400 V² + 14,400 V² - 28,800 V² × (0.5)
- VLL² = 28,800 V² - 14,400 V²
- VLL² = 14,400 V² + 14,400 V² ... wait, let's re-verify the math.
- VLL² = 14,400 V² + 14,400 V² - 28,800 V² × (-0.5)
- VLL² = 28,800 V² + 14,400 V²
- VLL² = 43,200 V²
- VLL = √(43,200 V²) = 207.84 V
This mathematically proves the ubiquitous 120V / 208V 3-phase standard seen on commercial electrical panels. The 208V nominal rating accounts for real-world voltage drop and transformer tap settings from the theoretical 207.84V.
Assumptions, Unit Traps, and Realistic Magnitudes
Blindly plugging numbers into trig triangle formulas without understanding their boundaries leads to catastrophic design flaws and misdiagnosed circuits. Here is what you must know before applying these formulas.
When the Formulas Apply (and When They Fail)
These trigonometric relationships assume steady-state AC, purely sinusoidal waveforms, and linear components. If you are measuring a circuit driven by a variable frequency drive (VFD) or a cheap modified-sine-wave inverter, the waveform is heavily distorted. Harmonic distortion breaks the single-angle θ assumption because each harmonic frequency (3rd, 5th, 7th) generates its own unique reactance (XL = 2πfL). In non-sinusoidal environments, you must abandon simple trig triangles and use Fourier analysis or a true-RMS power analyzer to calculate true power factor.
Unit Mistakes That Break the Math
- Degrees vs. Radians: The most common calculator error on the bench. If your calculator is set to radians, calculating arctan(20/15) yields 0.927 radians, not 53.13°. Always verify your calculator's mode before computing θ.
- Mixing Apparent and Real Power: The triangle works identically for power (S, P, Q), but you cannot mix units. You cannot use Watts (P) as the adjacent leg and Volt-Amps (S) as the opposite leg. P (Watts) pairs with Q (VAR) to find S (VA).
- Ignoring Reactance Signs: Inductive reactance (XL) is positive, and capacitive reactance (XC) is negative. If a circuit contains both, the opposite leg of the triangle is the net reactance: Xnet = XL - XC. Using the absolute sum will yield a dangerously incorrect Z value.
What a Realistic Answer Magnitude Looks Like
When sanity-checking your math, use these physical constraints:
- Impedance vs. Resistance: Z must always be greater than or equal to R. If your calculated Z is lower than your measured DC resistance, you made an arithmetic error.
- Phase Angle (θ) Bounds: In practical industrial and commercial wiring, θ rarely exceeds 60° (Power Factor = 0.5). A calculated angle of 85° implies a nearly pure inductor/capacitor with almost zero real work being done, which is rare outside of specific filter networks or unloaded transmission lines.
- Power Factor Limits: cos(θ) can never exceed 1.0. If your ratio of R/Z yields 1.05, your measurement probes are likely loading the circuit or your meter is reading harmonic noise as fundamental RMS voltage.
For a deeper dive into how these triangles translate to complex numbers and j-operator notation in advanced AC network analysis, refer to the comprehensive AC theory modules at All About Circuits. Mastering the physical triangle is the mandatory first step before moving into abstract complex plane mathematics.






