Complex Number Calculator

Add, subtract, multiply or divide two complex numbers, and see the result with its modulus, argument and polar form.

z₁ = a + bi
z₂ = c + di

Results

Result (x + yi)
11 − 2i
Real part (x)
11
Imaginary part (y)
-2
Modulus |z| = √(x² + y²)
11.18034
Argument θ (from the positive real axis)
-10.3048
Polar form r(cos θ + i sin θ)
11.18034 (cos -10.3048° + i sin -10.3048°)

How it’s calculated

A complex number z = x + yi has a real part x and an imaginary part y, where i² = −1. It can also be drawn as a point (x, y) on a plane: its distance from the origin is the modulus r and the angle from the positive real axis is the argument θ.

(a + bi) + (c + di) = (a + c) + (b + d)i (a + bi)(c + di) = (ac − bd) + (ad + bc)i (a + bi) ÷ (c + di) = [(ac + bd) + (bc − ad)i] ÷ (c² + d²) r = |z| = √(x² + y²) θ = atan2(y, x) z = r(cos θ + i sin θ)

Example: (3 + 4i)(1 − 2i) = 3 − 6i + 4i − 8i² = 3 − 2i + 8 = 11 − 2i. Its modulus is √(121 + 4) = √125 ≈ 11.18 and its argument is atan2(−2, 11) ≈ −10.30°. Check: |z₁| · |z₂| = 5 · √5 = √125.

The argument is reported between −180° and 180°, choosing the angle that matches the quadrant of the point (OpenStax Precalculus 2e, §8.5). Add 360° to a negative angle for the 0° to 360° convention.

Frequently asked questions

What is the modulus of a complex number?

It is the distance from the origin, √(x² + y²). For 3 + 4i it is 5.

How do I divide complex numbers?

Multiply top and bottom by the conjugate of the denominator (c − di). The denominator becomes the real number c² + d².

Why is the argument of zero undefined?

Zero is at the origin, which lies in every direction, so no single angle describes it.

What does cis θ mean?

cis θ is shorthand for cos θ + i sin θ, so z = r cis θ.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator