A complex number has a real part , an imaginary part and the imaginary unit , defined by . Complex numbers make every quadratic equation solvable, describe alternating currents and impedances in electrical engineering, encode rotations in the plane and are the natural language of signal processing and quantum mechanics.
This complex number calculator performs the full set of operations on and : addition, subtraction, multiplication and division, integer powers (positive or negative), the two square roots, the complex conjugate, and conversions between the rectangular form and the polar form . Every result is shown simultaneously in rectangular, polar, trigonometric and exponential form, together with its modulus and argument in degrees or radians.
The steps show the method you would use by hand — collecting real and imaginary parts, expanding a product with , multiplying by the conjugate to divide, or applying De Moivre’s theorem for powers — so you can check homework or follow a textbook example line by line. Division by zero and raised to a negative power are reported as errors rather than producing meaningless numbers.
How to use this calculator
- Choose the operation from the list.
- Enter the real and imaginary parts of (for type 3 and 4) and, for the four arithmetic operations, of . A negative imaginary part such as is entered as .
- For a power, type the integer exponent . For polar to rectangular, type the modulus and the angle .
- Choose whether angles are in degrees or radians.
- Read the result in form, then the modulus, argument, polar and exponential forms. Open the steps for the working.
The formula
With and :
Conjugate and modulus: , , .
Polar form: with and , the principal argument in . Back to rectangular: , .
De Moivre’s theorem: .
Square roots: .
Worked example
Take and .
- Addition: = 4 + 2i.
- Subtraction: = 2 + 6i.
- Multiplication: = 11 − 2i.
- Modulus and argument of : = 5, = 53.130102° (0.927295 rad).
- Square roots of : ±(2 + i), since .
Division (OpenStax-style): , i.e. 0.176471 + 1.294118i. Multiplying back by 17 gives 3 + 22i.
Power: : , , so = −4 − 4i.
Polar to rectangular: gives 10.392305 + 6i, that is . And has modulus 2 and argument 60°.
Rectangular, polar and exponential forms
The same complex number can be written three ways, and each one makes a different operation easy:
| Form | Example for | Best for |
|---|---|---|
| Rectangular | addition, subtraction | |
| Polar | multiplication, division | |
| Exponential | powers, roots, calculus |
In polar form, multiplying two numbers multiplies their moduli and adds their arguments; dividing divides the moduli and subtracts the arguments. That is why powers are so simple with De Moivre’s theorem. Plotting as the point — the complex plane or Argand diagram — shows that converting between the forms is exactly the conversion between Cartesian and polar coordinates.
Where complex numbers appear
The quadratic formula produces a pair of conjugate complex roots whenever the discriminant is negative: has roots . In AC circuits, a resistor and inductor in series have impedance , and Ohm’s law is solved with complex division. Euler’s formula links exponentials and trigonometry, giving the famous identity .
Frequently asked questions
How do you divide complex numbers?
Multiply the numerator and the denominator by the conjugate of the denominator. The denominator becomes the real number c² + d², and you split the result into real and imaginary parts. For example (2 + 5i)/(4 − i) = (3 + 22i)/17.
What is the modulus and argument of a complex number?
The modulus |z| = √(a² + b²) is the distance from the origin to the point (a, b). The argument θ is the angle from the positive real axis, computed with atan2(b, a) so that the quadrant is correct. For 3 + 4i, |z| = 5 and θ ≈ 53.13°.
What is the complex conjugate used for?
The conjugate of a + bi is a − bi. Multiplying a number by its conjugate gives the real number a² + b², which is how division is done. Conjugate pairs are also the non-real roots of polynomials with real coefficients.
Why does a complex number have two square roots?
Every non-zero complex number has exactly two square roots, negatives of each other, just as 4 has the roots 2 and −2. The calculator shows the principal root (non-negative real part) and the other one. The square roots of −4 are 2i and −2i.
Should I use degrees or radians?
Both describe the same angle; choose the unit your course or formula uses. The exponential form re^(iθ) always uses radians, so the calculator shows it in radians whatever unit you pick for the other outputs.
Sources
- OpenStax, Precalculus 2e, §3.1 Complex Numbers
- OpenStax, Precalculus 2e, §8.5 Polar Form of Complex Numbers (De Moivre’s theorem)
- Weisstein, E. W., Complex Number — Wolfram MathWorld
Last updated: