When analyzing alternating current (AC) circuits, DC Ohm's law falls short because voltage and current are no longer perfectly in phase. To calculate true power, size correction capacitors, or debug motor windings, you must rely on the core trigonometria formulas that govern the AC impedance triangle. The foundational equations are Z = √(R² + X²) for total impedance magnitude, and θ = arctan(X / R) for the phase angle.

Whether you are sizing a run capacitor for an HVAC compressor or calculating the power factor of an ESP32-driven relay bank, these trigonometric relationships bridge the gap between theoretical waveforms and real-world bench measurements.

The Core Impedance Triangle Formulas

The impedance triangle is a right-angled vector diagram where resistance (R) forms the horizontal axis, reactance (X) forms the vertical axis, and total impedance (Z) forms the hypotenuse. The phase angle (θ) sits between R and Z.

SymbolVariableStandard UnitDescription & Realistic Magnitudes
ZTotal ImpedanceOhms (Ω)The total opposition to AC current. Magnitude: Typically 1Ω to 1,000Ω in household/hobby circuits; higher in high-voltage transmission.
RResistanceOhms (Ω)The real, power-dissipating opposition. Magnitude: 0.1Ω (heavy wire) to 10kΩ (signal paths).
XReactanceOhms (Ω)The imaginary, energy-storing opposition (X_L for inductors, X_C for capacitors). Magnitude: 1Ω to 500Ω at 50/60Hz mains.
θPhase AngleDegrees (°)The time shift between voltage and current. Magnitude: Strictly bounded between -90° (pure capacitive) and +90° (pure inductive).

Application Boundaries & Assumptions

These trigonometria formulas apply only to linear, steady-state AC circuits driven by pure sinusoidal waveforms. They assume ideal components—meaning they ignore the parasitic capacitance of wire-wound inductors and the equivalent series resistance (ESR) of electrolytic capacitors. If your circuit involves non-linear loads (like uncorrected LED drivers or VFDs generating harmonics), you must use true-RMS metering and vector analysis, as basic trigonometry will yield inaccurate power factor readings.

For deeper theoretical background on how these vectors interact in complex planes, refer to the All About Circuits AC Impedance textbook chapter or the Georgia State University HyperPhysics AC module.

Rearranged Forms for Circuit Debugging

On the bench, you rarely need to solve for Z directly. More often, you are reverse-engineering a failed component or sizing a replacement. Here are the algebraically rearranged forms solving for each variable:

  • Solve for Resistance (R): R = Z × cos(θ) or R = √(Z² - X²)
  • Solve for Reactance (X): X = Z × sin(θ) or X = √(Z² - R²)
  • Solve for Impedance (Z): Z = R / cos(θ) or Z = X / sin(θ)
  • Solve for Phase Angle (θ): θ = arccos(R / Z) or θ = arcsin(X / Z)

Worked Examples with Unit Tracking

Abstract math leads to blown components. Below are two bench-realistic problems with strict unit tracking at every intermediate step.

Problem 1: Calculating Impedance of an RL Filter

Scenario: You are building a low-pass filter for an audio crossover using a 47Ω power resistor and a 150mH choke inductor. The signal frequency is 60Hz. Find the total impedance (Z) and phase angle (θ).

  1. Convert units to base SI:
    L = 150 mH = 0.150 H
    f = 60 Hz (or 60 s⁻¹)
  2. Calculate Inductive Reactance (X_L):
    Formula: X_L = 2 × π × f × L
    Substitution: X_L = 2 × 3.14159 × 60 s⁻¹ × 0.150 H
    Result: X_L = 56.55 Ω
  3. Calculate Total Impedance (Z):
    Formula: Z = √(R² + X_L²)
    Substitution: Z = √(47² + 56.55²) Ω
    Intermediate: Z = √(2209 + 3197.9) Ω = √(5406.9) Ω
    Result: Z = 73.53 Ω
  4. Calculate Phase Angle (θ):
    Formula: θ = arctan(X_L / R)
    Substitution: θ = arctan(56.55 Ω / 47 Ω)
    Intermediate: θ = arctan(1.203)
    Result: θ = +50.27° (Positive indicates current lags voltage).

Problem 2: Reverse-Engineering an RC Load

Scenario: A capacitive dropper power supply draws 2.5A from a 120V RMS, 60Hz mains source. A wattmeter reads 200W of real power. Find the equivalent series resistance (R) and capacitive reactance (X_C).

  1. Calculate Apparent Power (S) and Impedance (Z):
    S = V × I = 120 V × 2.5 A = 300 VA
    Z = V / I = 120 V / 2.5 A = 48 Ω
  2. Calculate Power Factor and Phase Angle (θ):
    Formula: cos(θ) = P / S
    Substitution: cos(θ) = 200 W / 300 VA = 0.6667
    Result: θ = arccos(0.6667) = -48.19° (Negative because the load is capacitive).
  3. Calculate Resistance (R):
    Formula: R = Z × cos(θ)
    Substitution: R = 48 Ω × 0.6667
    Result: R = 32.0 Ω
  4. Calculate Capacitive Reactance (X_C):
    Formula: X_C = Z × sin(θ)
    Substitution: X_C = 48 Ω × sin(-48.19°)
    Intermediate: X_C = 48 Ω × (-0.745)
    Result: X_C = -35.76 Ω (Magnitude is 35.76Ω).

Common Unit Mistakes That Break the Math

When your calculated breaker size or capacitor bank doesn't match reality, the math isn't wrong—your unit inputs are. Watch for these three fatal errors:

  • The Radian vs. Degree Trap: Scientific calculators and programming languages (like Python's math.sin() or Arduino's sin()) default to radians. If your phase angle is in degrees, you must convert it first (radians = degrees × π / 180) or switch your calculator to DEG mode. Feeding 45 degrees into a radian-expecting function yields 0.85 instead of 0.707, throwing off your power factor calculations by 20%.
  • The Metric Prefix Drop: When calculating reactance, inductance must be in Henries (H) and capacitance in Farads (F). A common bench mistake is plugging '100' into the formula for a 100µF capacitor instead of '0.0001'. This results in a reactance calculation that is off by a factor of 1,000,000.
  • Peak vs. RMS Voltage Confusion: The impedance formulas (Z = V/I) strictly require RMS values for AC. If you measure 170V Peak on an oscilloscope and divide by your calculated impedance, your resulting current will be 41% higher than the actual RMS current, potentially leading you to undersize your wire gauge or fuses.

Frequently Asked Questions

How do trigonometria formulas apply to DC circuits?

In pure DC circuits, frequency (f) is 0Hz. Because inductive reactance is X_L = 2πfL and capacitive reactance is X_C = 1 / (2πfC), an inductor's reactance drops to 0Ω (acting as a short circuit) and a capacitor's reactance approaches infinity (acting as an open circuit). Therefore, the phase angle θ becomes 0°, cos(0°) = 1, and the impedance triangle collapses into a single horizontal line where Z = R. Trigonometry is only required when AC frequencies introduce phase shifts.

What is the most important trigonometria formula for AC power factor?

The most critical formula for utility billing and solar inverter sizing is Power Factor (PF) = cos(θ) = P / S, where P is real power (Watts) and S is apparent power (Volt-Amps). A PF of 1.0 (θ = 0°) means all drawn current is doing useful work. If your shop's PF drops to 0.75 (θ = 41.4°), you are paying for 25% more current capacity than you are actually using, which causes excess I²R heating in your facility's wiring.

Why do my trigonometria formulas give negative phase angles?

A negative phase angle simply indicates a capacitive circuit where the current waveform leads the voltage waveform. By convention, inductive reactance (X_L) is plotted on the positive Y-axis (yielding positive angles), while capacitive reactance (X_C) is plotted on the negative Y-axis. If you calculate θ = arctan(-35Ω / 50Ω), your calculator will correctly output a negative angle (e.g., -35°), signaling that you need to add inductance or remove capacitance to bring the system back to unity power factor.