Account

What new tool do you want?

Math & Education

Complex Number Calculator

Add, subtract, multiply and divide complex numbers, and convert between rectangular (a + bi) and polar form (r∠θ), with modulus and conjugate.

How to use

  1. 1Enter the real and imaginary parts of each number.
  2. 2Choose the operation.

How it's calculated

(a + bi)(c + di) = (ac − bd) + (ad + bc)i. Division multiplies by the conjugate of the divisor. Modulus |z| = √(a² + b²); argument θ = atan2(b, a).

Frequently asked questions

What is i?

The imaginary unit, defined by i² = −1.

What is the complex conjugate?

The same number with the imaginary part's sign flipped: the conjugate of 3 + 4i is 3 − 4i.

Where are complex numbers used?

Electrical engineering (AC circuits), signal processing, quantum physics and control systems.

Why division checks for a zero denominator differently than you'd expect

Dividing by zero in the complex plane means dividing by 0 + 0i, which this calculator catches by checking whether c² + d² (the denominator after multiplying by the conjugate) is greater than zero — not by checking c and d individually. That's the correct check: c² + d² can only be zero when both c and d are exactly zero, since squares of real numbers can't be negative and can't cancel each other out, so this single combined test reliably catches the one genuine zero-divisor case (dividing by 0 + 0i) without ever misfiring on a divisor like 0 + 5i or 3 + 0i, which are perfectly valid (nonzero) complex numbers to divide by.

Worked example: multiplying (3 + 4i) by (1 − 2i)

Treating i like an unknown and expanding: (3 + 4i)(1 − 2i) = 3 − 6i + 4i − 8i². Since i² = −1 by definition, −8i² becomes +8, so the result collects to (3 + 8) + (−6 + 4)i = 11 − 2i, matching what this calculator returns. Division works by multiplying through by the conjugate of the divisor — dividing (3 + 4i) by (1 − 2i) means multiplying both top and bottom by (1 + 2i), which clears the imaginary part from the denominator and lands on exactly −1 + 2i.

Why the modulus of 3 + 4i is exactly 5

The modulus treats a complex number as a point on a plane — 3 units along the real axis, 4 along the imaginary axis — and measures its distance from the origin with the Pythagorean theorem: √(3² + 4²) = √25 = 5. That's not a coincidence of these particular numbers; it's the same 3-4-5 right triangle that shows up everywhere else in geometry, just applied to the complex plane instead of a physical triangle.

The conjugate is what makes division possible

Multiplying a complex number by its own conjugate always produces a real number — (c + di)(c − di) = c² + d², with no i term left over. That's precisely why dividing by the conjugate clears the denominator's imaginary part, which is the entire trick behind complex division. The conjugate shows up constantly in electrical engineering, where AC circuit impedance is handled as a complex number and the conjugate is used to compute power.

Polar form answers 'how far and which direction' instead of 'how much real, how much imaginary'

Rectangular form (a + bi) locates a complex number by its horizontal and vertical offset from the origin; polar form (r∠θ) locates the exact same point by its straight-line distance from the origin and the angle of that line from the positive real axis, computed with atan2(b, a) rather than a plain arctangent so it correctly places the angle in any of all four quadrants, not just the first. The two forms aren't competing answers — they're the same number described in two coordinate systems, and polar form is specifically the more natural one for multiplication and division, where distances multiply and angles simply add or subtract.

Related tools

More: Math & Education