Toolstia / Complex number calculator

Complex number calculator

Enter two complex numbers as a real part and an imaginary part and get their sum, difference, product and quotient. For the first number you also get the conjugate, modulus, argument, polar form, square root and any whole-number power.

A complex number is written a + bi, where i squared is -1. Leave a box empty to use 0. The argument is the angle from the positive real axis, from -180 to 180 degrees, and the square root shown is the principal one.

How it works

  1. Enter the real and imaginary parts of A and B.
  2. Set the power n if you want a power of A.
  3. Read all the results below.

Notation

A complex number is written a + bi, where i squared equals -1. Leave a box blank to use 0.

Polar form

The modulus is the distance from zero. The argument is the angle from the positive real axis, from -180 to 180 degrees.

Powers and roots

Powers use De Moivre's theorem. The square root shown is the principal one, and the other root is its negative.

Division

Dividing by zero is undefined, so the tool says so instead of giving a number.

Questions

Why do I see 0 for tiny values?

Rounding noise smaller than a trillionth is cleaned to zero. Everything happens in your browser, and nothing you enter is sent anywhere.

Can n be negative?

Yes, for any whole number from -100 to 100, as long as A is not zero.

What are complex numbers used for?

Electrical engineering, signal processing, physics and many areas of maths.