Complex Root Calculator

This calculator finds every nth root of a complex number, applying De Moivre's theorem to do in seconds what otherwise takes several steps of trigonometry by hand. You enter a complex number in rectangular form, its real part (a) and imaginary part (b), then choose the root degree n, from square roots (n = 2) up to an eighth root, or type in a custom degree between 2 and 20, and pick whether angles display in degrees or radians. The calculator first converts your number to polar form, showing its modulus and argument, then works out the modulus every root will share. It returns a full results table listing all n distinct roots, each shown in rectangular form (a + bi) and polar form, alongside a verification column that raises each root back to the power of n to confirm it returns your original number. A worked example panel walks through the maths step by step using the default inputs, and a summary note explains how the roots sit evenly spaced around a circle in the Argand plane, forming a regular polygon with n vertices. Use it to check homework, verify hand calculations, or explore how complex roots behave for different values of n. Because every non-zero complex number has exactly n distinct nth roots, expect n rows in the table every time you change the degree.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner: Health Based Building
Method verified  De Moivre's theorem. Standard result from complex analysis.

1. Complex Number

Enter the complex number z = a + bi whose nth roots you want to find.

z = 8

2. Root Degree

Choose which root to compute. n = 2 gives square roots, n = 3 gives cube roots, and so on.

Results Summary

Modulus |z|
8
Distance from origin
Argument arg(z)
0 deg
Angle in chosen units
Root modulus |z|^(1/n)
2
Modulus of each root

All nth Roots

Root k Rectangular form (a + bi) Modulus r Argument θ Verification z_k^n

Input in Polar Form

Real part (a)8
Imaginary part (b)0
Modulus r = sqrt(a^2 + b^2)8
Argument theta = atan2(b, a)0 deg
Root degree n3
Root modulus r^(1/n)2
Angle spacing 2*pi/n120 deg

Worked Example (Default)

Inputz = 8 + 0i
Root degreen = 3 (cube root)
Modulusr = 8
Argumenttheta = 0 deg
Root modulus8^(1/3) = 2
Root k=02 + 0i
Root k=1-1 + 1.7321i
Root k=2-1 - 1.7321i
Note: All roots lie on a circle of radius |z|^(1/n) in the Argand plane, equally spaced by 2pi/n radians.

How to Calculate nth Roots of a Complex Number

Any non-zero complex number has exactly n distinct nth roots in the complex plane. The method relies on expressing the number in polar form and applying De Moivre's theorem in reverse.

The Formula

Given a complex number z = a + bi, first convert to polar form:

Then the n distinct nth roots are:

z_k = r^(1/n) × [ cos((θ + 2πk) / n) + i × sin((θ + 2πk) / n) ]

where k = 0, 1, 2, ..., n-1. Each root has the same modulus r^(1/n) but a different argument, equally spaced by 2π/n radians around the circle.

Worked Example: Cube Roots of 8

Find all cube roots of z = 8 (i.e. a = 8, b = 0, n = 3).

  1. Convert to polar form: r = 8, θ = 0
  2. Root modulus: 8^(1/3) = 2
  3. Angle spacing: 2π/3 = 120 degrees
kAngleRectangular formCheck: z_k³
00 deg2 + 0i8 + 0i = 8 ✓
1120 deg-1 + 1.7321i8 + 0i = 8 ✓
2240 deg-1 - 1.7321i8 + 0i = 8 ✓

The three cube roots of 8 are 2, -1+√3 i, and -1-√3 i. Only z_0 = 2 is the familiar real cube root; the other two are complex conjugates of each other.

De Moivre's Theorem

De Moivre's theorem states that for a complex number in polar form z = r(cos θ + i sin θ) and any integer n:

z^n = r^n × (cos(nθ) + i sin(nθ))

This theorem, named after Abraham de Moivre (1667-1754), is the basis for calculating roots. To find the nth roots, you reverse the process: instead of multiplying the angle by n, you divide it by n (and account for all n distinct values by adding multiples of 2π/n).

Geometrical Interpretation

The nth roots of a complex number always form a regular polygon with n vertices inscribed in a circle of radius |z|^(1/n) centred at the origin in the Argand diagram. For example, the cube roots of any number form an equilateral triangle, the fourth roots form a square, and the sixth roots form a regular hexagon. The vertices are equally spaced by 360/n degrees.

Special Cases

Related Calculators

Method: De Moivre's theorem for nth roots of complex numbers. Standard result from complex analysis; see any undergraduate complex analysis or algebra textbook (e.g. Stewart, Complex Analysis; Brown and Churchill, Complex Variables and Applications).

Results are calculated in double-precision floating point. Rounding to 6 significant figures may cause small discrepancies in verification. For exact symbolic results, use a computer algebra system.