Boneyard Tools

Complex Number Calculator

Work with complex numbers of the form a + bi. Enter two numbers and choose an operation to add, subtract, multiply or divide them, and read off the modulus, argument, conjugate and polar form of the result instantly.

How to use the complex number calculator

  1. Enter the first complex number as its real part a and imaginary part b.
  2. Enter the second number and pick an operation: add, subtract, multiply or divide.
  3. Read the result in rectangular (a + bi) and polar form, with its modulus and argument.

Examples

Multiply two complex numbers

(1 + 2i) x (3 + 4i)
-5 + 10i

Divide and reach a real result

(1 + 0i) / (0 + 1i)
0 - 1i

Modulus and argument

3 + 4i
modulus 5, argument 53.13 degrees

Frequently asked questions

What is a complex number?

A complex number has the form a + bi, where a is the real part, b is the imaginary part and i is the square root of -1. Numbers like 3 + 4i, -2i and 7 are all complex numbers, with 7 having an imaginary part of 0.

How do you multiply and divide complex numbers?

Multiplication uses the rule (a + bi)(c + di) = (ac - bd) + (ad + bc)i, remembering that i squared is -1. Division multiplies the top and bottom by the conjugate of the denominator, so (a + bi) / (c + di) becomes a real denominator c squared plus d squared. The calculator does both for you.

What are the modulus and argument?

The modulus is the distance from the origin, the square root of (a squared plus b squared), so 3 + 4i has modulus 5. The argument is the angle the number makes with the positive real axis, found with atan2 and shown here in both radians and degrees.

What is the polar form of a complex number?

Polar form writes a number as r at angle theta, where r is the modulus and theta is the argument. It is handy for multiplication, division and powers, since you multiply the moduli and add the angles. The calculator shows both rectangular (a + bi) and polar form.

What happens if I divide by zero?

Dividing by 0 + 0i is undefined, just as it is for ordinary numbers, so the calculator reports an error instead of a result. Every other pair of complex numbers divides cleanly.

Is my data private?

Yes. Every calculation runs entirely in your browser, and nothing you type is uploaded or stored anywhere.

Related tools