A complex number calculator adds, subtracts, multiplies and divides complex numbers, finds the conjugate, the modulus and the angle, converts between rectangular and polar form, and works out powers, roots and powers of i. Enter the real and imaginary parts, choose the operation, and press the button. It uses the rules on Wikipedia's page on complex numbers, and it works in your browser. It covers the a plus bi form, the polar, rectangular and trigonometric forms, complex roots, the conjugate, division of complex numbers and the imaginary unit.
How to use the complex number calculator
- Choose what you want: an operation, a conversion, a power or the roots.
- Enter the real part a and the imaginary part b of the first number. Leave a box empty for zero.
- For an operation with two numbers, enter c and d for the second one.
- For a power or roots, enter the whole number n.
- Press Work out the result.
Complex numbers in the form a + bi
The Wikipedia page on complex numbers describes a complex number as a plus b times i, where a is the real part, b is the imaginary part, and i is the imaginary unit with the property that i squared is minus 1. These numbers can be drawn as points in a plane, with the real part on the horizontal axis and the imaginary part on the vertical axis. Real numbers are the special case in which b is zero, and a number such as 3 minus 2i is a perfectly good complex number.
Addition, subtraction and multiplication
The page gives the rules: the sum of a plus bi and c plus di is a plus c, plus b plus d times i, and the difference is the same with minus signs. The product is ac minus bd, plus ad plus bc times i. You get the product by multiplying each term by each term and using the fact that i squared is minus 1. For example, 3 plus 4i times 1 minus 2i is 3 minus 6i plus 4i minus 8 i squared, which is 11 minus 2i. The page's own example, 2 minus i times 3 plus 4i, is 10 plus 5i.
Division and the conjugate
The conjugate of a plus bi is a minus bi, which is its mirror image across the real axis. To divide, the page says to multiply the top and the bottom by the conjugate of the denominator, which turns the denominator into the real number c squared plus d squared. For 3 plus 4i divided by 1 minus 2i, the numerator becomes 3 plus 4i times 1 plus 2i, which is minus 5 plus 10i, and the denominator is 5, so the answer is minus 1 plus 2i. You can check it by multiplying back: minus 1 plus 2i times 1 minus 2i is 3 plus 4i.
Modulus, argument and polar form
The modulus of a plus bi is the square root of a squared plus b squared, which is its distance from zero. The argument is the angle from the positive real axis, measured counterclockwise. For 3 plus 4i, the modulus is 5 and the argument is about 53.13 degrees. The polar form writes the number as r times the cosine of the angle plus i times the sine of the angle, which is also written r times e to the power of i times the angle. The calculator gives the polar form of every result, and the polar to rectangular option goes the other way. This is the trigonometric form of the number.
Powers and the powers of i
Powers of a complex number are easy in polar form, by De Moivre's rule: the modulus is raised to the power and the angle is multiplied by it. The powers of i repeat in a cycle of four: i, minus 1, minus i, 1, and then again. This is why i to the power of 6 is minus 1, since 6 leaves a remainder of 2 when you divide by 4. The calculator does this for any whole number n, including negative ones, which is how it answers the questions about the number i and the imaginary number.
Roots of complex numbers
A non-zero complex number has exactly n different nth roots, which are spread evenly on a circle. They have the modulus equal to the nth root of the modulus of the number, and the angles are the angle of the number plus 360 degrees times k, divided by n, for k from 0 to n minus 1. The cube roots of 8, which is 8 plus 0i, are 2, minus 1 plus 1.73205i and minus 1 minus 1.73205i, and each one cubed gives 8. The calculator lists all the roots.
Complex numbers in practice
Complex numbers are used in electrical engineering, where the voltage and current of alternating circuits are written as complex numbers, in signal processing, in quantum mechanics and in the study of fractals. In algebra, they make sure that every polynomial equation has a solution. The calculator is useful for homework, for checking hand work, and for quick conversions between the two forms.
Common mistakes
- Forgetting that i squared is minus 1. It changes the sign of bd in a product.
- Dividing without the conjugate. Make the denominator real first.
- Using radians. The angles here are in degrees.
- Expecting one root. Every nth root problem has n answers.
What next
Use this often? Add Complex Numb to your Home screen.
Frequently asked questions
What is a complex number calculator?
A tool that does arithmetic with numbers of the form a + bi, and finds their conjugate, modulus, polar form, powers and roots.
How do you multiply complex numbers?
(a + bi)(c + di) = (ac − bd) + (ad + bc)i. For example (3 + 4i)(1 − 2i) = 11 − 2i.
How do you divide complex numbers?
Multiply the top and the bottom by the conjugate of the denominator. (3 + 4i) ÷ (1 − 2i) = −1 + 2i.
What is the polar form of a complex number?
r(cos θ + i sin θ), where r = √(a² + b²) is the modulus and θ is the angle. For 3 + 4i, r = 5 and θ ≈ 53.13°.
How many nth roots does a complex number have?
n different roots, spread evenly on a circle. The cube roots of 8 are 2 and −1 ± 1.732i.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.