🧮
🧮 Math & statistics

Complex Number Rectangular ⇄ Polar & Powers (De Moivre)

Results update as you type.

Your numbers

Understanding the complex polar form and De Moivre calculator — concept and principle

Any complex number a + bi can be written in rectangular form (a, b) or in polar form r(cos θ + i sin θ), where r is the distance from the origin and θ is the angle from the positive real axis. This calculator converts a + bi to polar form, raises it to a power n with De Moivre's theorem and gives its principal square root. It is used for powers and roots of complex numbers, phasors in electrical engineering and rotations in the plane.

De Moivre: raising 1 + i to the fifth power1 + i has length 1.414 and angle 45°; its fifth power has length 5.657 and angle 225°, which is −4 − 4i.zⁿ: length to the power n, angle × nz²z³z⁴zz⁵z = 1 + ir = √2 ≈ 1.414 · θ = 45°Length1.414⁵ = 5.657Angle5 × 45° = 225°z⁵ = −4 − 4i5.657 × (cos 225° + i sin 225°)
Each multiplication by z turns 45° further and stretches by 1.414, landing on −4 − 4i.

How it is calculated

The inputs are plain numbers with no units; the angle is in degrees.

The principle

Multiplying two complex numbers multiplies their moduli and adds their angles. Multiplying z by itself n times therefore multiplies r by itself n times and adds θ to itself n times, which is exactly rⁿ and nθ. This is De Moivre's theorem, and it follows from Euler's formula e^(iθ) = cos θ + i sin θ, because (re^(iθ))ⁿ = rⁿe^(inθ). Going the other way, a square root halves the angle and takes the square root of the modulus. Because θ and θ + 360° describe the same point, halving gives two different answers, θ/2 and θ/2 + 180°, which are the two square roots, one the negative of the other.

Worked example

  1. Default inputs: a = 1, b = 1, n = 5.
  2. Modulus: r = √(1² + 1²) = √2 = 1.414213562.
  3. Angle: θ = atan2(1, 1) = 45°.
  4. Power: r⁵ = (√2)⁵ = 4√2 ≈ 5.656854, and 5θ = 225°. cos 225° = sin 225° = −√2/2, so z⁵ = 4√2 × (−√2/2)(1 + i) = −4 − 4i. The calculator shows -4 − 4i.
  5. Square root: √r = 2^(1/4) ≈ 1.189207, θ/2 = 22.5°. 1.189207 × cos 22.5° = 1.098684113 and 1.189207 × sin 22.5° = 0.4550898606, so the roots are ±(1.098684113 + 0.4550898606i).
How Modulus r changes with Real partHow Modulus r changes with Real part11.251.51.7522.250.250.50.7511.251.52Example: 1.414213562Real part
Each point is the calculator re-run with only “Real part” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Real partModulus r
0.251.030776406
0.51.118033989
0.751.25
11.414213562
1.251.600781059
1.51.802775638
22.236067977

How to read the result

If r > 1, powers grow quickly in size; if r < 1, they shrink toward 0; if r = 1, they stay on the unit circle and only rotate. The angle of zⁿ is nθ, which may exceed 360°; subtract multiples of 360° to bring it back. Tiny values such as 1e-15 in place of 0 are floating-point rounding.

Common mistakes

Keep in mind: For non-integer powers the result is the principal value only; a complex number has several fractional powers, and other branches exist.

Frequently asked questions

How do I find all n-th roots of a complex number?

Use r^(1/n) and the angles (θ + 360°·k)/n for k = 0, 1, …, n − 1. The roots sit evenly spaced on a circle.

What is Euler's formula?

e^(iθ) = cos θ + i sin θ. It lets you write z = re^(iθ), which makes multiplication and powers simple.

Why does the angle 45° give z⁵ in the third quadrant?

5 × 45° = 225°, which lies between 180° and 270°, so both parts are negative.

Sources: NIST Digital Library of Mathematical Functions, §1.9 and §4.14 (dlmf.nist.gov) · Needham, T., Visual Complex Analysis, Oxford University Press

Checked 8 Nov 2026. Standard formulas, computed in your browser with double-precision numbers.

🧮 All math & statistics tools →🌍 Calculators by country →