🧮
🧮 Math & statistics

Complex Number Calculator

Results update as you type.

Your numbers

Understanding the complex number calculator — concept and principle

A complex number z = a + bi has a real part a and an imaginary part b, where i is the number whose square is −1. This calculator adds, subtracts, multiplies or divides two complex numbers z₁ = a + bi and z₂ = c + di, and also reports the modulus, argument and polar form of z₁. It is used in AC circuit analysis, signal processing and for equations with no real roots.

Adding two complex numbers on the plane3 + 4i plus 1 − 2i: real parts 3 + 1 = 4, imaginary parts 4 − 2 = 2, giving 4 + 2i; |z₁| = 5 at 53.13°.z₁ + z₂: add real and imaginary partsReIm53.13°3 + 4i1 − 2i4 + 2i5Real part3 + 1 = 4Imaginary part4 + (−2) = 2Result4 + 2i|z₁| = √(3² + 4²) = √25 = 5polar form of z₁: 5 ∠ 53.13°
Addition is arrow-after-arrow: place z₂ at the tip of z₁ and the sum is 4 + 2i.

How it is calculated

The principle

Complex numbers behave like ordinary algebra with one extra rule, i² = −1. Addition works component by component, exactly like adding vectors on a plane. In multiplication the product bi × di = bd·i² = −bd moves into the real part, which is why the real part is ac − bd. Division is made possible by the conjugate: (c + di)(c − di) = c² + d² is a real number, so multiplying numerator and denominator by c − di turns the denominator real. Geometrically, multiplying two complex numbers multiplies their moduli and adds their angles, which is why the polar form is so useful.

Worked example

  1. Default inputs: z₁ = 3 + 4i, operation +, z₂ = 1 − 2i.
  2. Real part: 3 + 1 = 4. Imaginary part: 4 + (−2) = 2. Result: 4 + 2i.
  3. Modulus of z₁: √(3² + 4²) = √25 = 5.
  4. Argument of z₁: atan2(4, 3) = 53.13010235°.
  5. Polar form of z₁: 5 ∠ 53.13010235°.

How to read the result

The result is shown as real part plus imaginary part. The modulus tells you the size of z₁ (in an AC circuit, the magnitude of an impedance in ohms); the argument tells you its direction or phase. A positive argument means z₁ lies above the real axis, a negative one below it. If you choose ÷ and z₂ = 0, the result is undefined.

Common mistakes

Keep in mind: Results are computed in floating-point arithmetic, so very large or very small inputs can show tiny rounding residues such as 1e-16 in place of 0.

Frequently asked questions

What is the conjugate of a complex number?

The conjugate of a + bi is a − bi. Multiplying a number by its conjugate gives a² + b², the square of its modulus.

How do I convert the polar form back to a + bi?

Use a = r cos θ and b = r sin θ. For 5 ∠ 53.13°, that gives 5 × 0.6 = 3 and 5 × 0.8 = 4.

Can complex numbers be ordered?

No. You cannot say 3 + 4i > 1 − 2i; compare their moduli instead, here 5 and √5.

Sources: NIST Digital Library of Mathematical Functions, §1.9 Calculus of a Complex Variable (dlmf.nist.gov) · Stewart, J., Calculus: Early Transcendentals, Appendix H: Complex Numbers

Checked 8 Nov 2026. Standard formulas, computed in your browser with double-precision numbers.

🧮 All math & statistics tools →🌍 Calculators by country →