Math

Complex Number Calculator

Add, subtract, multiply or divide complex numbers and inspect the result in rectangular and polar form.

Exact method explained belowEditable inputs
Complex plane
Complex plane

Calculate in rectangular form, then inspect magnitude, phase and position.

See the method

Enter real and imaginary parts

Runs on your device

Complex result

Your result

Let’s calculate.

Use the Calculate button to see your result.

Review the method below for assumptions and conventions.

How to use this tool

  1. Enter a: real part, a: imaginary part, b: real part, b: imaginary part, operation.
  2. Select Calculate to view the result.
  3. Check the method and assumptions below before using the result.

The method, explained

Use i² = −1. For division, multiply numerator and denominator by the conjugate of B. Magnitude = hypot(real, imaginary); phase = atan2(imaginary, real).

A WORKED EXAMPLE

Using a: real part = 3, a: imaginary part = 4, b: real part = 1, b: imaginary part = -2, operation = multiply, the result is 11 − 2i. Change these example inputs to match your task; use the method above to check each step.

What to keep in mind

Finite real input components only. Phase uses the principal angle between −180 and 180 degrees; the phase of zero is undefined. Finite-precision arithmetic is used. Check the domain and the stated convention before using an approximation.

Common questions

What is rectangular form?

A complex number is written as a + bi, with a its real part and b its imaginary coefficient. Enter b alone in an imaginary-part input, without the letter i.

Does a negative imaginary part change the magnitude?

Magnitude uses the squares of both components and is nonnegative. The signs affect the position and phase in the complex plane.

Methodology maintained by ClarityKit. How these tools are built and checked.