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
- Series, parallel and mixed circuits with parentheses, such as R1 + (L1 || (R2 + C1)).
- Equivalent impedance in rectangular and polar form, current and the phasors of every element.
- Complex power S = V·I*, P, Q, |S| and leading or lagging power factor.
- The capacitor that brings the power factor to the value you want, and the new line current.
- Resonance frequencies, phasor diagram, power triangle, waveforms and |Z| versus frequency.
- Step-by-step solution.
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|
- P (W), the real power, is what is consumed: it is dissipated in the resistances, that is, the real part of each impedance.
- Q (var), the reactive power, flows back and forth between the source and the inductors and capacitors: it is positive for an inductive load and negative for a capacitive one.
- |S| (VA), the apparent power, sets the current that cables and transformers must carry.
- φ is the phase shift between voltage and current; the power factor is called lagging for an inductive load and leading for a capacitive one.
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.
- Reactances: XL = 2π·60·0.05 = 18.85 Ω and XC = 1/(2π·60·100 × 10⁻⁶) = 26.53 Ω.
- Impedance: Z = R + j(XL − XC) = 10 − j7.676 Ω = 12.61 Ω ∠ −37.51°. The capacitor dominates: the circuit is capacitive.
- Current: I = (120 ∠ 0°)/(12.61 ∠ −37.51°) = 9.519 A ∠ 37.51°, leading the voltage.
- 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.
- Power: P = I²R = 906.1 W, Q = −695.5 var, |S| = 1142.3 VA and pf = 0.793 leading.
- 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.
- Uncorrected: I = 23.27 A, P = 3249 W, Q = 4253 var and pf = 0.607 lagging.
- Capacitor to reach pf = 0.95: QC = P·(tan φ1 − tan φ2) = 3185 var and C = 3185/(2π·50·230²) = 191.7 µF.
- 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
- Type the source rms voltage, its phase and the frequency.
- 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).
- Type how they are connected: "+" for series and "||" for parallel, with parentheses, for example R1 + (L1 || (R2 + C1)). "||" groups before "+".
- 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.
- Check the phasor diagram, the power triangle, the waveforms, |Z| versus frequency and the step by step.
Common mistakes
- Adding magnitudes. In series, the complex numbers add, not the values |V| or |Z|.
- Mixing peak and rms values: P = V·I·cos φ uses rms values; the peak is √2 times larger.
- Typing L in H or C in F where the box asks for mH or µF: the reactances come out a thousand or a million times off.
- Computing P as V·I: that is the apparent power; the power factor is missing.
- Forgetting ω = 2πf: XL = ωL, not f·L.
- Correcting a load that is already capacitive with a capacitor: it makes the power factor worse (an inductor would be needed), and the tool warns you.
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
About Simuveliq · How we verify the calculations · Terms of use · Privacy policy · Contact