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.
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.
| Form | How to type it | Example |
|---|---|---|
| Rectangular (Cartesian) | a + bj, also with i | 3 + 4j · 2 - j5 · 1.5i |
| Polar | magnitude ∠ angle (or < or @) | 10∠30 · 5<-45 · 2@1.2rad |
| Degrees or radians | Set by the selector, or force it with ° or rad | 5∠90° · 5∠1.5708rad |
| Parallel | Z1 || Z2 = Z1·Z2 / (Z1+Z2) | (4+3j) || (6-8j) |
| Conjugate | conj(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
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
θ = atan2(b, a)
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₂)∠(θ₁−θ₂)
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:
| Element | Impedance | Example (50 Hz) |
|---|---|---|
| Resistor | Z = R | 10 Ω → 10∠0° |
| Inductor | Z = jωL | L = 50 mH → 15.708j |
| Capacitor | Z = −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°.