Skip to content

Complex Number Calculator with Polar and Exponential Forms

Add, subtract, multiply, divide, raise to a power or take square roots of complex numbers, with polar and exponential forms.

Your details

i
i
Angles in

Results update as you type

Result (a + bi)

11 − 2i

Modulus |z|
11.18034
Argument θ
−10.304846°
Polar form r∠θ
11.18034∠−10.304846°
Trigonometric form
11.18034(cos −10.304846° + i sin −10.304846°)
Exponential form re^(iθ)
11.18034·e^(−0.179853i)

Step-by-step solution
  1. Numbers: z₁ = 3 + 4i, z₂ = 1 − 2i
  2. Expand and use i² = −1:
  3. (3·1 − 4·(−2)) + (3·(−2) + 4·1)i = 11 − 2i

A complex number z=a+biz = a + bi has a real part aa, an imaginary part bb and the imaginary unit ii, defined by i2=−1i^2 = -1. Complex numbers make every quadratic equation solvable, describe alternating currents and impedances in electrical engineering, encode rotations in the plane and are the natural language of signal processing and quantum mechanics.

This complex number calculator performs the full set of operations on z1=a+biz_1 = a + bi and z2=c+diz_2 = c + di: addition, subtraction, multiplication and division, integer powers z1nz_1^n (positive or negative), the two square roots, the complex conjugate, and conversions between the rectangular form a+bia + bi and the polar form r∠θr\angle\theta. Every result is shown simultaneously in rectangular, polar, trigonometric r(cos⁡θ+isin⁡θ)r(\cos\theta + i\sin\theta) and exponential reiθre^{i\theta} form, together with its modulus ∣z∣|z| and argument θ\theta in degrees or radians.

The steps show the method you would use by hand — collecting real and imaginary parts, expanding a product with i2=−1i^2 = -1, multiplying by the conjugate to divide, or applying De Moivre’s theorem for powers — so you can check homework or follow a textbook example line by line. Division by zero and 00 raised to a negative power are reported as errors rather than producing meaningless numbers.

How to use this calculator

  1. Choose the operation from the list.
  2. Enter the real and imaginary parts of z1z_1 (for 3+4i3 + 4i type 3 and 4) and, for the four arithmetic operations, of z2z_2. A negative imaginary part such as 1−2i1 - 2i is entered as −2-2.
  3. For a power, type the integer exponent nn. For polar to rectangular, type the modulus rr and the angle θ\theta.
  4. Choose whether angles are in degrees or radians.
  5. Read the result in a+bia + bi form, then the modulus, argument, polar and exponential forms. Open the steps for the working.

The formula

With z1=a+biz_1 = a + bi and z2=c+diz_2 = c + di:

z1±z2=(a±c)+(b±d)i,z1z2=(ac−bd)+(ad+bc)iz_1 \pm z_2 = (a \pm c) + (b \pm d)i, \qquad z_1 z_2 = (ac - bd) + (ad + bc)i
z1z2=(a+bi)(c−di)c2+d2=ac+bdc2+d2+bc−adc2+d2 i(z2≠0)\frac{z_1}{z_2} = \frac{(a + bi)(c - di)}{c^2 + d^2} = \frac{ac + bd}{c^2 + d^2} + \frac{bc - ad}{c^2 + d^2}\,i \qquad (z_2 \neq 0)

Conjugate and modulus: zˉ=a−bi\bar z = a - bi,   ∣z∣=a2+b2\;|z| = \sqrt{a^2 + b^2},   zzˉ=∣z∣2\;z\bar z = |z|^2.

Polar form: z=r(cos⁡θ+isin⁡θ)=reiθz = r(\cos\theta + i\sin\theta) = re^{i\theta} with r=∣z∣r = |z| and θ=atan2⁡(b,a)\theta = \operatorname{atan2}(b, a), the principal argument in (−180°,180°](-180°, 180°]. Back to rectangular: a=rcos⁡θa = r\cos\theta, b=rsin⁡θb = r\sin\theta.

De Moivre’s theorem: zn=rn(cos⁡nθ+isin⁡nθ)z^n = r^n(\cos n\theta + i\sin n\theta).

Square roots: z=±(∣z∣+a2+i sgn⁡(b)∣z∣−a2)\sqrt z = \pm\left(\sqrt{\tfrac{|z| + a}{2}} + i\,\operatorname{sgn}(b)\sqrt{\tfrac{|z| - a}{2}}\right).

Worked example

Take z1=3+4iz_1 = 3 + 4i and z2=1−2iz_2 = 1 - 2i.

  • Addition: (3+1)+(4−2)i(3 + 1) + (4 - 2)i = 4 + 2i.
  • Subtraction: (3−1)+(4+2)i(3 - 1) + (4 + 2)i = 2 + 6i.
  • Multiplication: 3−6i+4i−8i2=3+8−2i3 - 6i + 4i - 8i^2 = 3 + 8 - 2i = 11 − 2i.
  • Modulus and argument of z1z_1: r=9+16r = \sqrt{9 + 16} = 5, θ\theta = 53.130102° (0.927295 rad).
  • Square roots of 3+4i3 + 4i: ±(2 + i), since (2+i)2=4+4i+i2=3+4i(2 + i)^2 = 4 + 4i + i^2 = 3 + 4i.

Division (OpenStax-style): 2+5i4−i=(2+5i)(4+i)16+1=3+22i17\dfrac{2 + 5i}{4 - i} = \dfrac{(2 + 5i)(4 + i)}{16 + 1} = \dfrac{3 + 22i}{17}, i.e. 0.176471 + 1.294118i. Multiplying back by 17 gives 3 + 22i.

Power: (1+i)5(1 + i)^5: r=2r = \sqrt2, θ=45°\theta = 45°, so (2)5(cos⁡225°+isin⁡225°)(\sqrt2)^5(\cos 225° + i\sin 225°) = −4 − 4i.

Polar to rectangular: 12∠30°12\angle 30° gives 10.392305 + 6i, that is 63+6i6\sqrt3 + 6i. And 1+i31 + i\sqrt3 has modulus 2 and argument 60°.

Rectangular, polar and exponential forms

The same complex number can be written three ways, and each one makes a different operation easy:

Form Example for 3+4i3 + 4i Best for
Rectangular a+bia + bi 3+4i3 + 4i addition, subtraction
Polar r∠θr\angle\theta 5∠53.13°5\angle 53.13° multiplication, division
Exponential reiθre^{i\theta} 5e0.9273i5e^{0.9273i} powers, roots, calculus

In polar form, multiplying two numbers multiplies their moduli and adds their arguments; dividing divides the moduli and subtracts the arguments. That is why powers are so simple with De Moivre’s theorem. Plotting a+bia + bi as the point (a,b)(a, b) — the complex plane or Argand diagram — shows that converting between the forms is exactly the conversion between Cartesian and polar coordinates.

Where complex numbers appear

The quadratic formula produces a pair of conjugate complex roots whenever the discriminant is negative: x2+4=0x^2 + 4 = 0 has roots ±2i\pm 2i. In AC circuits, a resistor and inductor in series have impedance Z=R+iωLZ = R + i\omega L, and Ohm’s law V=IZV = IZ is solved with complex division. Euler’s formula eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta links exponentials and trigonometry, giving the famous identity eiπ+1=0e^{i\pi} + 1 = 0.

Frequently asked questions

How do you divide complex numbers?

Multiply the numerator and the denominator by the conjugate of the denominator. The denominator becomes the real number c² + d², and you split the result into real and imaginary parts. For example (2 + 5i)/(4 − i) = (3 + 22i)/17.

What is the modulus and argument of a complex number?

The modulus |z| = √(a² + b²) is the distance from the origin to the point (a, b). The argument θ is the angle from the positive real axis, computed with atan2(b, a) so that the quadrant is correct. For 3 + 4i, |z| = 5 and θ ≈ 53.13°.

What is the complex conjugate used for?

The conjugate of a + bi is a − bi. Multiplying a number by its conjugate gives the real number a² + b², which is how division is done. Conjugate pairs are also the non-real roots of polynomials with real coefficients.

Why does a complex number have two square roots?

Every non-zero complex number has exactly two square roots, negatives of each other, just as 4 has the roots 2 and −2. The calculator shows the principal root (non-negative real part) and the other one. The square roots of −4 are 2i and −2i.

Should I use degrees or radians?

Both describe the same angle; choose the unit your course or formula uses. The exponential form re^(iθ) always uses radians, so the calculator shows it in radians whatever unit you pick for the other outputs.

Sources

Last updated:

More Math calculators

People also use