Complex Number Calculator
Test cases replayed : 4 of 4 match · Methodology · No outside source listed
Enter two complex numbers and an operation to get the result in a + bi form and in polar form.
Result
Result: real part
Result: imaginary part (× i)
- Modulus |z| = √(re² + im²)
- Argument (degrees, −180 to 180)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- First number: real part a: enter a number.
- First number: imaginary part b: enter a number.
- Operation: choose + Add, − Subtract, × Multiply or ÷ Divide.
- Second number: real part c: enter a number.
- Second number: imaginary part d: enter a number.
- Read the result: Result: real part; the panel also shows Result: imaginary part (× i), Modulus |z| = √(re² + im²) and Argument (degrees, −180 to 180).
How this calculator works
With i² = −1: (a + bi) + (c + di) = (a + c) + (b + d)i, and (a + bi)(c + di) = (ac − bd) + (ad + bc)i.
Division multiplies top and bottom by the conjugate c − di: (a + bi) ÷ (c + di) = [(ac + bd) + (bc − ad)i] ÷ (c² + d²).
The polar form is r(cos θ + i sin θ) with modulus r = √(re² + im²) and argument θ = atan2(im, re).
Worked example
| First number: real part a | 3 |
|---|---|
| First number: imaginary part b | 2 |
| Operation | × Multiply |
| Second number: real part c | 1 |
| Second number: imaginary part d | 4 |
| Result: real part | -5 |
|---|---|
| Result: imaginary part (× i) | 14 |
| Modulus |z| = √(re² + im²) | 14.8661 |
| Argument (degrees, −180 to 180) | 109.6538 |
Frequently asked questions
What is i squared?
−1. That is the definition of the imaginary unit i.
How do you divide complex numbers?
Multiply the numerator and the denominator by the conjugate of the denominator, which makes the denominator a real number c² + d².
What is (3 + 2i)(1 + 4i)?
3 + 12i + 2i + 8i² = 3 − 8 + 14i = −5 + 14i.