🧮 Maths & science

Complex number calculator

Enter two complex numbers as a + bi. Every result comes back in both rectangular and polar form.

Free · no signup Runs in your browser

Result—

    How do you multiply complex numbers?

    Expand as you would with brackets, then replace i² with −1. So (a + bi)(c + di) gives ac + adi + bci + bdi², and since i² = −1 the last term becomes −bd. The result is (ac − bd) + (ad + bc)i. Division multiplies top and bottom by the conjugate of the denominator.

    Why i² = −1 changes everything

    Complex arithmetic looks like ordinary algebra until multiplication, and then one substitution rearranges the whole thing.

    Addition and subtraction are unremarkable: real parts combine with real parts, imaginary with imaginary, and the two never interact. Multiplication is where they mix, because multiplying the two imaginary parts produces i², which is −1 — so that term lands in the real part with its sign flipped.

    That single rule is the source of every surprising result in complex arithmetic, including the fact that multiplying two purely imaginary numbers gives a purely real one.

    The four operations

    Written with z₁ = a + bi and z₂ = c + di.

    • z₁ + z₂ = (a + c) + (b + d)i
    • z₁ − z₂ = (a − c) + (b − d)i
    • z₁ × z₂ = (ac − bd) + (ad + bc)i
    • z₁ ÷ z₂ = (ac + bd)/(c² + d²) + (bc − ad)/(c² + d²) i
    • modulus |z| = √(a² + b²)
    • argument arg z = atan2(b, a)
    • conjugate z̄ = a − bi

    Division is the operation worth understanding rather than memorising. Multiplying numerator and denominator by the conjugate of the denominator turns the bottom into (c + di)(c − di) = c² + d², which is a plain real number. Once the denominator is real, the division is ordinary.

    Polar form matters because multiplication becomes trivial in it: moduli multiply and arguments add. That is why rotations and oscillations are almost always handled in polar rather than rectangular form.

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

    Multiplying two complex numbers by expanding and then applying i² = −1.

    1. Expand the brackets3 − 12i + 2i − 8i²
    2. Collect the imaginary terms3 − 10i − 8i²
    3. Replace i² with −13 − 10i + 8
    4. Combine the real parts11 − 10i

    (3 + 2i)(1 − 4i) = 11 − 10i

    The −8i² became +8, which is the step that catches people. Its modulus is √(121 + 100) ≈ 14.866, and its argument is about −42.3°.

    Rectangular and polar, and when to use each

    • Rectangular form a + bi is easier for addition and subtraction
    • Polar form r(cos θ + i sin θ) is easier for multiplication, division and powers
    • Multiplying in polar form multiplies the moduli and adds the arguments
    • De Moivre's theorem raises a complex number to a power in one step from polar form
    • The conjugate reflects a number across the real axis and leaves the modulus unchanged

    Assumptions and limits

    • Arguments are returned in the range −180° to 180°, the principal value
    • Division by zero is undefined here as it is for real numbers
    • Results are rounded for display, so a value that should be exactly zero may show as a very small number
    • Powers and roots of complex numbers are not covered by this tool

    Common questions

    What is i?

    The imaginary unit, defined as the number whose square is −1. No real number squares to a negative, so i is defined into existence to fill that gap. Every complex number is built from a real part and a multiple of i.

    How do you divide complex numbers?

    Multiply the numerator and denominator by the conjugate of the denominator. That turns the denominator into c² + d², a plain real number, after which the division is ordinary arithmetic. The calculator shows the conjugate it used.

    What is the modulus of a complex number?

    Its distance from the origin on the complex plane, calculated as the square root of the sum of the squares of the real and imaginary parts. For 3 + 4i the modulus is 5, which is the same Pythagorean calculation as the length of a vector.

    What is a complex conjugate?

    The same number with the sign of the imaginary part flipped, so the conjugate of a + bi is a − bi. Multiplying a number by its conjugate always gives a real result, which is why conjugates are the standard tool for clearing complex denominators.

    Why do engineers write j instead of i?

    Because i already means current in electrical engineering. The mathematics is identical; only the letter changes. This calculator uses i, the convention in mathematics.

    Where these numbers come from

    Last verified 2026-08-01 The method on this page is checked against the sources above at least once a year. Spotted something out of date? Tell us and we will fix it.

    🧮 Maths and science calculators

    Homework tools that explain the method rather than just handing over an answer.

    See all 30 calculators in this section