StatGardenREF. DESK
Calculators/Maths/nth roots of a complex number
Maths

nth roots of a complex number calculator

All n complex roots of a+bi using De Moivre’s theorem, in polar and rectangular form.

What this calculator does

nth roots of a complex number works out all n complex roots of a+bi using De Moivre’s theorem, in polar and rectangular form. Enter your own figures above and the answer updates as you type: nothing is fixed in the code, so the result reflects exactly the numbers you supply.

The formula this calculator evaluates is printed under the tool and explained below, so you can check the working by hand or reuse it in a spreadsheet.

The formula

Formular=√(a²+b²), θ=atan2(b,a); roots = r^(1/n)·[cos((θ+2πk)/n)+i·sin((θ+2πk)/n)], k=0,…,n−1

The inputs explained

FieldWhat to enter
Real part aA number. Starts at 1.
Imaginary part bA number. Starts at 1.
Root degree nA number. Starts at 3.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

How the answer changes with real part a

Every other input is held at the calculator’s starting values while real part a varies. Select any row to load that scenario into the calculator.

How the answer changes with real part a
Real part aRoot k=0Magnitude of each rootOriginal: r, θ
0.50.9680 + 0.3744i1.0381.118, 63.43°
0.751.026 + 0.3277i1.0771.250, 53.13°
11.084 + 0.2905i1.1221.414, 45.00°
1.51.194 + 0.2370i1.2171.803, 33.69°
21.292 + 0.2013i1.3082.236, 26.57°
31.459 + 0.1571i1.4683.162, 18.43°