TTKTheTextKit

Complex Number Calculator

Type one or two complex numbers such as 3+4i and 1-2i, choose an operation, and get the result with its modulus, its argument in degrees and radians, its conjugate and its polar form. You can add, subtract, multiply and divide, raise a number to a whole power, take the principal square root, or list all the n-th roots. Everything runs in your browser.

z1 x z2
11 - 2i
11.1803 (cos -10.3048 deg + i sin -10.3048 deg)
Modulus |z|
11.18034
Distance from zero
Argument
-10.3048 degrees
-0.179853 radians
Conjugate
11 + 2i
The imaginary part changes sign

A complex number is written a + bi, where a is the real part, b is the imaginary part, and i is the square root of -1, so i times i is -1. Type it as 3+4i, 2-i, 5i or 7, and j works in place of i. To add or subtract, combine the real parts and the imaginary parts, and to multiply, use (a + bi)(c + di) = (ac - bd) + (ad + bc)i, so (3 + 4i)(1 - 2i) = 11 - 2i. To divide, multiply the top and bottom by the conjugate of the bottom, which gives (1 + 2i) / (3 - 4i) = -0.2 + 0.4i. The modulus is the distance from zero, the square root of a squared plus b squared, so 3 + 4i has modulus 5 and an argument of 53.13 degrees, and the polar form is r (cos t + i sin t). Whole number powers are exact, so (1 + i) squared is 2i. The principal square root has a real part of 0 or more, so the square root of -4 is 2i, and there are always n n-th roots, spread evenly around a circle, which the roots option lists. Everything runs in your browser.

Related Tools

[6 suggestions]

About the Complex Number Calculator

A complex number is a + bi, where a is the real part, b is the imaginary part, and i is the square root of -1. Add and subtract the parts separately, so (3 + 4i) + (1 - 2i) = 4 + 2i. Multiply with (a + bi)(c + di) = (ac - bd) + (ad + bc)i, so (3 + 4i)(1 - 2i) = 11 - 2i, the default of this tool. To divide, multiply the top and the bottom by the conjugate of the bottom, so (1 + 2i) / (3 - 4i) = (-5 + 10i) / 25 = -0.2 + 0.4i, and dividing by 0 gives an error. The modulus is the distance from zero, sqrt(a^2 + b^2), so 3 + 4i has modulus 5, and the argument is the angle from the positive real axis, 53.1301 degrees here, which gives the polar form 5 (cos 53.1301 deg + i sin 53.1301 deg). Whole number powers, positive or negative up to 1,000, use repeated squaring so exact results stay exact: (1 + i)^2 = 2i and (1 + i)^8 = 16. The principal square root has a real part of 0 or more, so the square root of -4 is 2i and the square root of 3 + 4i is 2 + i. A nonzero number has exactly n n-th roots, spread evenly around a circle, and the roots option lists up to 24 of them, such as 1, i, -1 and -i for the fourth roots of 1. Write numbers as 3+4i, 2-i, 5i, -i or 7, with j accepted for i. Tiny rounding noise is cleaned away from the display.

How do I multiply complex numbers?▾

Use (a + bi)(c + di) = (ac - bd) + (ad + bc)i. For example (3 + 4i)(1 - 2i) = 3 - 6i + 4i - 8i^2 = 11 - 2i, because i squared is -1.

How do I divide complex numbers?▾

Multiply the top and the bottom by the conjugate of the bottom number, which turns the bottom into a real number. So (1 + 2i) / (3 - 4i) = (1 + 2i)(3 + 4i) / 25 = (-5 + 10i) / 25 = -0.2 + 0.4i.

What are the modulus and argument?▾

The modulus is the distance of the number from zero, sqrt(a^2 + b^2). The argument is the angle it makes with the positive real axis, from -180 to 180 degrees here. Together they give the polar form.

How do I find the square root of a complex number?▾

Choose the square root option. The tool returns the principal root, the one with a real part of 0 or more. The other root is its negative. For example the square roots of 3 + 4i are 2 + i and -2 - i.

Can I raise a complex number to a fractional power?▾

Not directly here. Use the roots option to get all the n-th roots, which covers powers like 1/2 and 1/3, and the power option for whole numbers from -1,000 to 1,000.