Maths & numbers

Complex roots by De Moivre’s theorem calculator

List every complex nth root in rectangular coordinates.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

For nonzero z the roots lie on a circle at equal angular spacing of 360°/n.

THE FORMULARoot magnitude = |z|^(1/n), θₖ = (arg z + 2πk)/n

A worked example

The fourth roots of −1 lie at 45°, 135°, 225°, and 315°.

Good to know

Zero has a single distinct root.

Divide the argument and include every full turn

The default problem finds all fourth roots of −1. In polar form, −1 has magnitude one and argument 180 degrees. Dividing 180 by four gives the first root angle of 45 degrees. Adding 360 degrees to the original argument before dividing produces the next angle, 135 degrees. Two more turns give 225 and 315 degrees.

Each root has magnitude one and coordinates whose components are ±√2/2. Raising a root to the fourth power multiplies its angle by four, returning an odd multiple of 180 degrees. The SVG places the four answers at equal 90-degree intervals on the unit circle.

The fourth roots of minus one occupy four evenly spaced points on the unit circle45°135°225°315°RealIm
Root angles are 45°, 135°, 225° and 315°. Each has magnitude 1 and fourth power −1.

Distinguish all roots from a principal power

For a nonzero complex number with magnitude R and argument θ, the nth roots have magnitude R^(1/n) and angles (θ + 360k)/n for k from zero through n − 1. These roots form a regular polygon centred at the origin. Using only k = 0 would omit the other answers.

Zero is a special case with one distinct root, zero, even though the equation has multiplicity n. The Integer power of i calculator explores a related rotation cycle for integer powers. These calculations use numerical trigonometry, so a displayed component close to zero can reflect rounding. Check a returned root by raising it to the requested integer power and comparing with the original complex number.

A few questions, answered

Why are the angles evenly spaced?

Successive k values add 360/n degrees, which disappears as a complete turn when the root is raised to the nth power.

Do negative real numbers have real roots?

An odd index gives one real negative root. An even index gives no real roots, although all roots still exist in the complex plane.

Find your calculator

Start typing to explore the library.