Simuveliq

AC circuit calculator with phasors

Set a source (rms voltage, phase and frequency) and the elements R, L, C or an impedance Z = a + jb, type how they are connected, with + for series and || for parallel, and get the equivalent impedance, the current, each element's voltage and current, the complex power and the power factor. It also gives the capacitor that corrects the power factor and the resonance frequencies.

Theory and worked examples: Alternating current: phasors, impedance and power.

What you can do

Frequently asked questions

How is the impedance of an RLC circuit computed?

Each element has its impedance: R, jωL and −j/(ωC). In series they add and in parallel their reciprocals add; the result is a complex number Z = R + jX.

How is the power factor corrected?

With a parallel capacitor that supplies Q_C = P·(tan φ₁ − tan φ₂); its capacitance is C = Q_C/(ω·V²). The real power does not change and the line current drops.

What do lagging and leading power factor mean?

Lagging: the current trails the voltage (inductive load, positive Q). Leading: the current is ahead of the voltage (capacitive load, negative Q).

Guide: AC circuits with phasors

In alternating current, the voltages and currents of a circuit are sinusoids of the same frequency, but shifted in phase from one another. Phasors turn those sinusoids into complex numbers, so the circuit can be solved with Ohm's law and the series and parallel rules, as in DC. This guide explains impedance, complex power and power factor correction, and works two examples with the tool's numbers.

Phasors and impedance

A sinusoid v(t) = √2·V·cos(ωt + θ), with V the rms value and ω = 2πf, is represented by the phasor V∠θ. Each passive element has an impedance Z = V/I:

ZR = R ZL = jωL = jXL ZC = 1/(jωC) = −jXC, with XC = 1/(ωC)

In series, impedances add; in parallel, their reciprocals add, 1/Z = Σ1/Zi. The result is a complex number Z = R + jX: if X is positive, the circuit is inductive and the current lags the voltage; if it is negative, the circuit is capacitive and the current leads.

Complex power and power factor

S = V·I* = P + jQ |S| = V·I pf = cos φ = P/|S|

Power factor correction and resonance

A motor is an inductive load: it absorbs positive Q and, with it, more current than its P alone would need. A capacitor in parallel with the source supplies negative reactive power without changing P. To go from angle φ1 to φ2:

QC = P·(tan φ1 − tan φ2) C = QC/(ω·V²)

Resonance happens at the frequency where the imaginary part of Z vanishes. In a series RLC circuit, f0 = 1/(2π√(LC)); there the impedance is smallest and equal to R.

Example 1: series RLC

R = 10 Ω, L = 50 mH and C = 100 µF in series with a 120 V, 60 Hz source.

  1. Reactances: XL = 2π·60·0.05 = 18.85 Ω and XC = 1/(2π·60·100 × 10⁻⁶) = 26.53 Ω.
  2. Impedance: Z = R + j(XL − XC) = 10 − j7.676 Ω = 12.61 Ω ∠ −37.51°. The capacitor dominates: the circuit is capacitive.
  3. Current: I = (120 ∠ 0°)/(12.61 ∠ −37.51°) = 9.519 A ∠ 37.51°, leading the voltage.
  4. Voltages: VR = 95.19 V, VL = 179.4 V and VC = 252.5 V. VL and VC exceed the source's 120 V because they do not add as numbers but as phasors, and they are opposite to each other.
  5. Power: P = I²R = 906.1 W, Q = −695.5 var, |S| = 1142.3 VA and pf = 0.793 leading.
  6. Resonance: f0 = 1/(2π√(0.05 · 100 × 10⁻⁶)) = 71.18 Hz. At 60 Hz the circuit works below resonance, which is why XC dominates.

Example 2: correcting a motor's power factor

A motor modeled as R = 6 Ω in series with L = 25 mH, at 230 V and 50 Hz.

  1. Uncorrected: I = 23.27 A, P = 3249 W, Q = 4253 var and pf = 0.607 lagging.
  2. Capacitor to reach pf = 0.95: QC = P·(tan φ1 − tan φ2) = 3185 var and C = 3185/(2π·50·230²) = 191.7 µF.
  3. Result: P does not change, but the line current drops from 23.27 A to 14.87 A. The same installation can feed more load, and the cable losses go down.

How to use the tool

  1. Type the source rms voltage, its phase and the frequency.
  2. Add the elements, each with a name: R in Ω, L in mH, C in µF, or an impedance Z = a + jb (b positive if inductive and negative if capacitive).
  3. Type how they are connected: "+" for series and "||" for parallel, with parentheses, for example R1 + (L1 || (R2 + C1)). "||" groups before "+".
  4. Read the equivalent impedance, the current, the powers, the power factor, the resonance and each element's voltage and current. To correct the power factor, type the target value.
  5. Check the phasor diagram, the power triangle, the waveforms, |Z| versus frequency and the step by step.

Common mistakes

Further reading

The chapters on sinusoidal steady-state analysis and AC power of any electric circuits textbook. For DC circuits, with real sources, diodes and RC and RL transients, use the electric circuit calculator.

More tools

Versión en español

© 2026 Simuveliq. All rights reserved.