GintiCalcEvery calculation

ComplexLab

Complex Number Calculator

Complex arithmetic without the pain.

Complex arithmetic: sum, difference, product and modulus

Addition and subtraction work component by component. Multiplication uses FOIL with i squared replaced by -1.

z1z2SumDifferenceProductModulus of z1
3 + 4i1 + 2i4 + 6i2 + 2i-5 + 10i5.0000
1 + 1i1 - 1i2 + 0i0 + 2i2 + 0i1.4142
2 + 3i4 - 1i6 + 2i-2 + 4i11 + 10i3.6056
5 + 0i0 + 5i5 + 5i5 - 5i0 + 25i5.0000
-2 + 3i1 + 4i-1 + 7i-3 - 1i-14 - 5i3.6056

Row two multiplies a number by its own conjugate and the imaginary part vanishes, leaving a purely real 2 - that is always true, and it is the trick used to divide complex numbers by rationalising the denominator. Row one shows why multiplication is not component-wise: 3 times 1 is 3, yet the real part of the product is -5, because the 4i times 2i term contributes -8. The modulus is the distance from the origin, so 3 + 4i has modulus exactly 5 by the same Pythagorean triple that appears everywhere else.

Numbers with two parts

A complex number a + bi has a real part (a) and an imaginary part (b), where i is defined as √−1 — a number that doesn't exist on the ordinary number line but is essential for solving equations like x² = −1.

Not just theoretical

Electrical engineers use complex numbers to model AC circuits, and they're fundamental to signal processing and quantum mechanics — 'imaginary' doesn't mean 'not useful.'

Frequently asked questions

How do I multiply (3 + 2i) by (1 − 4i)?

Use FOIL: (3)(1) + (3)(−4i) + (2i)(1) + (2i)(−4i) = 3 − 12i + 2i − 8i². Since i² = −1: 3 − 10i − 8(−1) = 3 − 10i + 8 = 11 − 10i.

What is the modulus of a complex number and when is it useful?

The modulus of a + bi is √(a² + b²) — the distance from the origin in the complex plane. For 3 + 4i, |z| = √(9 + 16) = 5. In AC circuits, the modulus of impedance gives the total opposition to current flow.

How are complex numbers related to the quadratic formula?

When the discriminant (b² − 4ac) is negative, the quadratic formula produces complex roots. For x² + 1 = 0, the discriminant is −4, giving roots x = ±i. The polynomial roots calculator shows this connection with full discriminant analysis.

Related Math calculators

You might also like

Last updated: September 6, 2026