calculator with imaginary numbers

Complex Number Calculator

Enter two complex numbers in rectangular form (a + bi) and choose an operation.

Enter values and click Calculate to see the result.

What Are Imaginary Numbers?

Imaginary numbers let us work with square roots of negative values. The symbol i is defined as i² = -1. Once we combine regular real numbers with imaginary parts, we get a complex number: a + bi, where a and b are real.

At first, imaginary numbers can feel abstract, but they are practical and widely used in electrical engineering, control systems, wave analysis, signal processing, and quantum physics.

How This Calculator Works

This tool uses the standard arithmetic rules for complex numbers in rectangular form.

Addition and Subtraction

Combine real parts with real parts, and imaginary parts with imaginary parts:

  • (a + bi) + (c + di) = (a + c) + (b + d)i
  • (a + bi) - (c + di) = (a - c) + (b - d)i

Multiplication

Expand the terms like a binomial and use i² = -1:

  • (a + bi)(c + di) = (ac - bd) + (ad + bc)i

Division

Multiply numerator and denominator by the conjugate of the denominator:

  • (a + bi)/(c + di) = [(ac + bd) + (bc - ad)i] / (c² + d²)

Division is undefined when c = 0 and d = 0 because the denominator becomes zero.

Why Learn Complex Arithmetic?

  • Electrical circuits: AC impedance calculations rely on complex numbers.
  • Signals and Fourier transforms: Complex exponentials simplify oscillations and phase shifts.
  • Control systems: Poles and zeros are often complex.
  • Computer graphics and fractals: The Mandelbrot set is built from complex iteration.

Tips for Avoiding Mistakes

  • Always keep real and imaginary parts separate until the final form.
  • Remember that i² = -1, not +1.
  • When dividing, don’t forget to divide both parts by c² + d².
  • Check signs carefully, especially in subtraction and division formulas.

Quick Practice Example

Try z₁ = 2 + 3i and z₂ = 1 - 4i (pre-filled above):

  • Addition result: 3 - i
  • Subtraction result: 1 + 7i
  • Multiplication result: 14 - 5i
  • Division result: -10/17 + 11/17 i (approximately -0.588235 + 0.647059i)

Use the calculator to verify these and test your own numbers.

🔗 Related Calculators