Complex Numbers • nth Roots • Polar Form

Complex Root Calculator

Use this Complex Root Calculator to find all \( n \)th roots of a complex number \( z = a + bi \). Enter the real part, imaginary part, and root index, then the calculator converts the number into polar form and returns every root in rectangular form and polar form.

The main idea is simple: a non-zero complex number has exactly \( n \) distinct \( n \)th roots. These roots are evenly spaced around a circle in the complex plane. This page gives you the calculator, the formula, the reasoning, the steps, worked examples, common mistakes, and FAQs in one section.

Find square roots Find cube roots Find all \( n \) roots Rectangular + polar answers

Quick formula

If \( z = r(\cos \theta + i\sin \theta) \), then:
\[ w_k = \sqrt[n]{r}\left(\cos\frac{\theta + 2\pi k}{n} + i\sin\frac{\theta + 2\pi k}{n}\right) \]

where \( k = 0, 1, 2, \ldots, n-1 \).

The calculator below uses this formula and rounds results to your selected number of decimal places.

Calculate complex roots

Enter the complex number in the form \( a + bi \). For example, \( 3 + 4i \) has real part \( 3 \) and imaginary part \( 4 \). To calculate cube roots, set \( n = 3 \). To calculate fourth roots, set \( n = 4 \).

Input rule: \( n \) must be a positive whole number. The calculator supports \( 1 \le n \le 50 \) to keep the root table readable on a web page.

Result

Enter values and press calculate.

What is a complex root?

A complex root is a complex number that becomes another complex number after being raised to a power. If \( w^n = z \), then \( w \) is an \( n \)th root of \( z \). For example, if \( w^2 = z \), then \( w \) is a square root of \( z \). If \( w^3 = z \), then \( w \) is a cube root of \( z \). The key difference between real roots and complex roots is that complex roots usually come in multiple directions around the complex plane, not just along the real number line.

A real-number root problem often feels like one-dimensional movement. For example, the square roots of \( 9 \) are \( 3 \) and \( -3 \), and both lie on the real axis. A complex-number root problem is two-dimensional because every complex number has a horizontal part and a vertical part. The horizontal part is the real component \( a \), and the vertical part is the imaginary component \( b \). This two-dimensional structure is why the roots of a complex number form a pattern around a circle.

When you calculate the \( n \)th roots of a non-zero complex number, you do not get just one answer. You get \( n \) distinct answers. These answers have the same distance from the origin, but different angles. In geometric terms, they sit evenly around a circle centered at the origin. The calculator on this page gives all of those roots so that you do not accidentally stop after only the principal root.

Complex root formula

The most reliable way to find roots of complex numbers is to use polar form. Rectangular form writes a complex number as \( z = a + bi \). Polar form writes the same number using a modulus \( r \) and an argument \( \theta \). The modulus tells you the distance from the origin, and the argument tells you the angle measured from the positive real axis.

Convert rectangular form to polar form
\[ z = a + bi \] \[ r = \sqrt{a^2 + b^2} \] \[ \theta = \operatorname{atan2}(b,a) \]

Once \( z \) is written as \( r(\cos\theta + i\sin\theta) \), the \( n \)th roots are found by taking the \( n \)th root of the modulus and dividing the possible angles by \( n \). Because complex angles repeat every \( 2\pi \), we add \( 2\pi k \) before dividing by \( n \). That is what produces all the distinct roots.

All \( n \)th roots of a complex number
\[ w_k = \sqrt[n]{r}\left(\cos\frac{\theta + 2\pi k}{n} + i\sin\frac{\theta + 2\pi k}{n}\right) \]

where \( k = 0, 1, 2, \ldots, n-1 \).

Variable meanings

Symbol Meaning How the calculator uses it
\( z \) The original complex number The number entered as \( a + bi \)
\( a \) Real part of the complex number The horizontal coordinate in the complex plane
\( b \) Imaginary part of the complex number The vertical coordinate in the complex plane
\( r \) Modulus of \( z \) Calculated as \( \sqrt{a^2+b^2} \)
\( \theta \) Argument of \( z \) Calculated using \( \operatorname{atan2}(b,a) \)
\( n \) Root index The calculator returns \( n \) roots
\( k \) Root counter Runs from \( 0 \) to \( n-1 \)
\( w_k \) The \( k \)th root Displayed in rectangular and polar form

How to calculate complex roots step by step

The complex root method may look advanced at first, but it follows a clear sequence. The reason the sequence works is that multiplication and powers are easier in polar form than in rectangular form. In rectangular form, powers require expanding expressions such as \( (a+bi)^n \), which quickly becomes long. In polar form, powers mainly multiply angles and raise moduli to powers. Roots reverse that process.

  1. Write the complex number in rectangular form. Start with \( z = a + bi \). Identify the real part \( a \) and the imaginary part \( b \). For example, in \( 3 + 4i \), \( a = 3 \) and \( b = 4 \).
  2. Calculate the modulus. Use \( r = \sqrt{a^2+b^2} \). This gives the distance of the complex number from the origin in the complex plane.
  3. Calculate the argument. Use \( \theta = \operatorname{atan2}(b,a) \). This gives the angle in the correct quadrant. The quadrant matters because the same tangent value can occur in different directions.
  4. Take the \( n \)th root of the modulus. The root modulus is \( \sqrt[n]{r} = r^{1/n} \). Every root has this same modulus.
  5. Calculate each root angle. Use \( \alpha_k = \frac{\theta + 2\pi k}{n} \) for \( k = 0,1,2,\ldots,n-1 \). These angles spread the roots evenly around a circle.
  6. Convert each root back to rectangular form. Use \( w_k = \rho(\cos\alpha_k+i\sin\alpha_k) \), where \( \rho = r^{1/n} \). The rectangular form is \( \rho\cos\alpha_k + i\rho\sin\alpha_k \).
  7. Check the answer if needed. Raising each root to the \( n \)th power should return the original complex number, allowing for small rounding differences.
Important: A non-zero complex number always has \( n \) distinct \( n \)th roots. The only special case is \( z = 0 \), where the only root is \( 0 \), although it is repeated algebraically.

Worked example: cube roots of \( 3 + 4i \)

Suppose we want to find the cube roots of \( 3 + 4i \). Here \( a = 3 \), \( b = 4 \), and \( n = 3 \). First, calculate the modulus:

\[ r = \sqrt{3^2 + 4^2} = \sqrt{9+16} = \sqrt{25} = 5 \]

Next, calculate the argument. Since the point \( (3,4) \) is in the first quadrant, the principal angle is:

\[ \theta = \operatorname{atan2}(4,3) \approx 0.9273 \text{ radians} \]

The modulus of every cube root is:

\[ \rho = \sqrt[3]{5} = 5^{1/3} \approx 1.710 \]

Now calculate the three root angles using \( \alpha_k = \frac{\theta + 2\pi k}{3} \).

Root Angle formula Approximate angle Approximate rectangular form
\( w_0 \) \( \frac{0.9273 + 2\pi(0)}{3} \) \( 0.3091 \) radians \( 1.629 + 0.520i \)
\( w_1 \) \( \frac{0.9273 + 2\pi(1)}{3} \) \( 2.4035 \) radians \( -1.264 + 1.151i \)
\( w_2 \) \( \frac{0.9273 + 2\pi(2)}{3} \) \( 4.4979 \) radians \( -0.365 - 1.670i \)

These three answers may look unrelated in rectangular form, but geometrically they are beautifully connected. They all lie on the same circle with radius approximately \( 1.710 \), and their angles differ by \( \frac{2\pi}{3} \), or \( 120^\circ \). That equal spacing is one of the most important patterns in complex roots.

Why complex roots are evenly spaced

Complex roots are evenly spaced because complex arguments repeat after a full rotation. A full turn in radians is \( 2\pi \). If \( z \) has argument \( \theta \), then \( \theta \), \( \theta + 2\pi \), \( \theta + 4\pi \), and \( \theta + 6\pi \) all point in the same direction. They represent the same complex number when used inside \( \cos \theta + i\sin \theta \).

When finding \( n \)th roots, the formula divides these repeated angles by \( n \). Dividing the repeated angles creates \( n \) different angles before the pattern repeats. That is why the counter \( k \) runs from \( 0 \) to \( n-1 \). After that, the next value produces an angle that lands on a root already found.

For example, square roots are separated by \( \pi \), or \( 180^\circ \). Cube roots are separated by \( \frac{2\pi}{3} \), or \( 120^\circ \). Fourth roots are separated by \( \frac{\pi}{2} \), or \( 90^\circ \). In general, the angular gap between neighboring \( n \)th roots is:

\[ \text{Angular gap} = \frac{2\pi}{n} \]

This geometric pattern is useful in algebra, trigonometry, electrical engineering, signal processing, control theory, roots of unity, polynomial factorization, and advanced calculus. Even when the calculation looks symbolic, the geometry explains why the answer has multiple roots and why they appear in a regular pattern.

Principal root versus all roots

Many learners see the first answer \( w_0 \) and think that is the complete answer. It is only the principal root. The principal root is the root produced when \( k = 0 \), usually using the principal argument of the complex number. It is useful because it gives one standard answer, but it does not represent all solutions unless \( n = 1 \) or the original number is \( 0 \).

For a complete algebra answer, you must include every value from \( k = 0 \) through \( k = n-1 \). For example, a fourth-root problem has four roots. If you only give one of them, you have solved only part of the equation. This calculator displays all roots automatically so that you can copy the full answer into homework, revision notes, or lesson material.

The principal root is most useful when a problem asks for “the principal square root” or when a software system needs a single standard output. The full set of roots is necessary when solving equations such as \( w^n = z \), factoring polynomials over complex numbers, or studying roots of unity.

Special cases and edge cases

When \( z = 0 \)

If the original complex number is \( 0 + 0i \), then the only root is \( 0 \). This is because \( 0^n = 0 \) for any positive integer \( n \). The usual polar-root formula becomes less informative because the argument of zero is undefined. The calculator handles this by returning \( 0 \) as the root.

When \( n = 1 \)

The first root of a complex number is the number itself. If \( n = 1 \), then the calculator returns exactly one root, and that root is \( z \). This is mathematically correct because \( z^1 = z \).

When \( b = 0 \)

If the imaginary part is zero, the number lies on the real axis. Positive real numbers have roots arranged symmetrically around the unit direction, while negative real numbers have arguments based on \( \pi \). Complex methods still work and often explain the answer better than real-only methods.

When results include tiny decimals

Computers sometimes show values such as \( 0.0000000001 \) instead of \( 0 \) because of floating-point rounding. This calculator rounds outputs and treats very tiny values as zero to make the result easier to read.

Common mistakes when finding complex roots

  • Using the tangent inverse without checking the quadrant. The expression \( \tan^{-1}(b/a) \) can give the wrong angle if the point is not in the first quadrant. Using \( \operatorname{atan2}(b,a) \) is safer because it handles quadrants correctly.
  • Forgetting the \( 2\pi k \) term. Without \( 2\pi k \), you only find the principal root. The term \( 2\pi k \) is what produces all roots.
  • Using degrees inside a radians-based formula. The standard formula uses radians. You can work in degrees, but then the full turn is \( 360^\circ \), not \( 2\pi \).
  • Taking the root of the real and imaginary parts separately. In general, \( \sqrt[n]{a+bi} \ne \sqrt[n]{a}+\sqrt[n]{b}i \). You must use modulus and argument.
  • Returning only one root when the question asks for all roots. A non-zero complex number has exactly \( n \) distinct \( n \)th roots, so a cube-root problem needs three answers and a fifth-root problem needs five answers.
  • Rounding too early. If you round \( r \), \( \theta \), or the angles too early, the final rectangular answers can drift. Keep more precision during calculations and round only at the end.

How to interpret the calculator output

The calculator gives each root in rectangular form and polar form. Rectangular form looks like \( x + yi \). This is usually the form students use when writing final answers in algebra. Polar form looks like \( \rho(\cos\alpha+i\sin\alpha) \). This form is often better for understanding the geometry of the roots.

The value \( \rho \) is the modulus of each root. Since every root has the same modulus, all roots are the same distance from the origin. The angle \( \alpha_k \) changes for each root. That changing angle is what moves the roots around the circle. If you plotted the roots, you would see a regular polygon centered at the origin.

The calculator also shows the original modulus \( r \) and original argument \( \theta \). These values are useful because they show how the calculator moved from \( a+bi \) to polar form. If your teacher asks for steps, you can use those values to show the method clearly.

For exact symbolic answers, especially in advanced math classes, you may need to keep values like \( \sqrt{2} \), \( \pi \), or trigonometric expressions rather than decimal approximations. This calculator is designed for fast numerical answers and conceptual clarity. It is excellent for checking work, exploring patterns, and preparing educational content, but your course may require exact forms for special angles.

FAQ

How many nth roots does a complex number have?

Every non-zero complex number has exactly \( n \) distinct \( n \)th roots. For example, a complex number has two square roots, three cube roots, and five fifth roots.

What is the formula for complex roots?

If \( z = r(\cos\theta+i\sin\theta) \), then its \( n \)th roots are \( w_k = \sqrt[n]{r}\left(\cos\frac{\theta+2\pi k}{n}+i\sin\frac{\theta+2\pi k}{n}\right) \), where \( k = 0,1,\ldots,n-1 \).

Why do we add \( 2\pi k \) in the complex root formula?

We add \( 2\pi k \) because complex angles repeat every full rotation. Adding multiples of \( 2\pi \) gives equivalent angles for the original number, and dividing those angles by \( n \) produces all distinct roots.

What is the principal complex root?

The principal complex root is the standard single root usually produced by taking \( k = 0 \) with the principal argument. It is useful, but it is not the full answer when a problem asks for all roots.

Can a real number have complex roots?

Yes. Real numbers are also complex numbers with imaginary part \( 0 \). For example, the cube roots or fourth roots of a real number may include non-real complex roots.

Why are complex roots arranged in a circle?

All roots have the same modulus \( r^{1/n} \), so they are the same distance from the origin. Their angles differ by \( \frac{2\pi}{n} \), so they are evenly spaced around a circle.