Complex Number Calculator

COMPLEX NUMBERS

Add, subtract, multiply, or divide two complex numbers. Enter both numbers and pick the operation.

Result
—
Complex result.

Usage Tip

Multiply complex numbers by distributing (FOIL) and replacing i squared with −1.

THE MATH
(a + bi) and (c + di) combined by the chosen operation
i² = −1
Complex numbers extend the reals with i, the square root of −1.
They add and subtract component-wise; multiplication and division use i squared equals minus one.
Enter the real and imaginary parts of both numbers.
Division requires a non-zero second number.
The modulus of the result is shown.
Practical Notes

Complex numbers are added and subtracted by combining the real parts and the imaginary parts separately. Multiplication follows the distributive rule, using the fact that i squared equals minus one, so (a + bi)(c + di) gives (ac – bd) + (ad + bc)i.

Division is the trickiest operation. To divide, multiply the top and bottom by the conjugate of the denominator, which makes the denominator a plain real number. Dividing by zero, meaning a denominator with both real and imaginary parts equal to zero, is undefined, just as with ordinary numbers.

Worked Examples

Take A = 3 + 2i and B = 1 – 4i. Their sum is 4 – 2i and their difference is 2 + 6i. For the product, multiply every term: 3 times 1 is 3, 3 times -4i is -12i, 2i times 1 is 2i, and 2i times -4i is -8 times i squared, which equals +8. Adding up gives 11 – 10i.

If you need to confirm a division, multiply the quotient by the divisor and see whether you get the original numerator back. Rounding in the displayed answer can leave tiny differences in the last decimal place.

Spotted an error or have a suggestion for this calculator? Let us know →
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.