SolvCal › Electrical

Complex number calculator

Type the operation mixing rectangular and polar form however you like. The calculator converts automatically, gives the result in all three forms and shows every step.

Examples
Result
—
Rectangular—
Polar—
Exponential—

Step by step

    How to type the numbers

    You can mix formats in the same operation. Both the point and the comma work as decimal separators.

    FormHow to type itExample
    Rectangular (Cartesian)a + bj, also with i3 + 4j · 2 - j5 · 1.5i
    Polarmagnitude ∠ angle (or < or @)10∠30 · 5<-45 · 2@1.2rad
    Degrees or radiansSet by the selector, or force it with ° or rad5∠90° · 5∠1.5708rad
    ParallelZ1 || Z2 = Z1·Z2 / (Z1+Z2)(4+3j) || (6-8j)
    Conjugateconj(z)conj(3∠20)

    Rectangular form and polar form

    A complex number is a point, or an arrow, on a plane. In rectangular form you describe it by its coordinates: the real part a on the horizontal axis and the imaginary part b on the vertical axis. In polar form you describe it by the length of the arrow (magnitude r) and the angle θ it makes with the real axis.

    Polar to rectangular

    a = r · cos θ
    b = r · sin θ

    Example: 10∠30° → a = 10·cos 30° = 8.6603 and b = 10·sin 30° = 5. So 10∠30° = 8.6603 + 5j.

    Rectangular to polar

    r = √(a² + b²)
    θ = atan2(b, a)
    The most common mistake: computing θ = arctan(b/a) on a calculator. That only returns angles between −90° and 90°, so it fails in the 2nd and 3rd quadrants. For −3 − 4j, arctan(−4/−3) gives 53.13°, but the real angle is −126.87° (or 233.13°). When the real part is negative you have to add or subtract 180°. This calculator uses atan2, which looks at the sign of both parts and always gets the quadrant right.

    Why add in rectangular and multiply in polar

    To add or subtract, you add the real parts and the imaginary parts separately, which only works in rectangular form. To multiply or divide, polar form is much faster: multiply or divide the magnitudes and add or subtract the angles.

    r₁∠θ₁ · r₂∠θ₂ = (r₁·r₂)∠(θ₁+θ₂)
    r₁∠θ₁ / r₂∠θ₂ = (r₁/r₂)∠(θ₁−θ₂)

    What makes hand calculations tedious is switching between forms at every step. That is exactly what this calculator does for you: it picks the convenient form for each operation and shows the conversion.

    Where it is used: AC circuits

    In electrical engineering, sinusoidal voltages and currents are represented as phasors, which are complex numbers: the magnitude is the RMS value and the angle is the phase. Resistors, inductors and capacitors become complex impedances:

    ElementImpedanceExample (50 Hz)
    ResistorZ = R10 Ω → 10∠0°
    InductorZ = jωLL = 50 mH → 15.708j
    CapacitorZ = −j/(ωC)C = 100 µF → −31.831j

    With that, the usual circuit laws work the same way, just with complex numbers:

    • Impedances in series add up: 10 + 15.708j - 31.831j
    • Impedances in parallel: (10 + 15.708j) || (-31.831j)
    • Ohm's law: I = V / Z → 220∠0 / (10 + 15.708j)
    • Apparent power: S = V · I*, where the real part is the active power P (W) and the imaginary part is the reactive power Q (VAR): 220∠0 * conj(11.81∠-57.52)

    Paste any of these expressions into the calculator to see the result and every step.

    Frequently asked questions

    Why use j instead of i?

    In electrical engineering the letter i is reserved for current, so engineers use j for the imaginary unit (j² = −1). The calculator accepts both.

    Should I enter the angle in degrees or radians?

    The calculator uses whatever you choose in the angle selector. To mix units, add ° or rad after the number: 5∠90° or 5∠1.57rad.

    Why does my scientific calculator give a different result?

    Most likely it is in radian mode while you are entering degrees (or the other way round), or the angle ended up in the wrong quadrant because arctan was used instead of atan2. Check the step-by-step solution to see where the results diverge.

    Can the angle be negative or greater than 180°?

    Yes. 5∠−90° and 5∠270° are the same number. The calculator always returns the angle between −180° and 180°.