HomeCalculatorsMathComplex NumbersComplex Roots Calculator
Math calculator

Complex Roots Calculator

Calculate every nth root of a complex number and identify the principal root. View all roots on an Argand diagram, export complete results and inspect limits.

Instant result
Result
—

Enter values to calculate.

Inputs—
Mode—
Formula—
Trust summary CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published modes
Input interpretation
Enter values to calculate.
Result
—
Verified scope
all published modes
Assurance
Core
Declared partition coverage
PASS · 12/12 declared partitions (add, sub, mul, div, rect-to-polar, polar-to-rect, conjugate, modulus, power, root, euler, invalid-domain) · Matrix
Known limitations
  • Core CVP does not include live graph, viewport, or pointer interaction.
Model
All n nth-roots of one complex number, and an engine-linked Argand figure of the roots.
Scope
Integer n ≥ 2
Verification
Engine tested · Source checked · v1.3.0 · CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published modes· View Manifest · CVP overview · Specification
Versions
Calculation 1.3.0 · CVP protocol 1.0.0-proposed · Evidence 2026-10-29.math-uuce-fields-v1
Verification revision
2026-10-29.math-uuce-fields-v1 · 3/3 property · digest e0f5f79d4366
Legacy regression
18/18 tests · Production surface contract 5/5
Trust layers
Verification VERIFIED · Production CURRENT · Overall CVP state: VERIFIED under CVP 1.0.0-proposed
Reference
O1 model · O2 expected_values · O2 numerical_behavior
Interfaces
PASS · UI (SSR) / REST / MCP — ui-ssr is query-result HTML, not a live browser session. Error-path engine·REST·MCP 1/1 (status, code, calculation_version). SSR compared on URL-canonical requested calculations; empty query is idle (not an error) and JSON-typed object/array inputs are REST/MCP-only.
Supplemental domain review
Not performed
Named expert review
Not performed
CVP suite
643/643 golden · 5/5 CVP boundary · 9/9 invalid · 3/3 property · 4/4 metamorphic · 5/5 cross-interface · 2/2 cross-calculator · 5/5 CVP contract · Manifest
Evidence
6 legacy golden · 4 legacy boundary · legacy regression suite · 643/643 oracle-backed golden · 9/9 invalid · Artifact integrity PASS
This calculator CURRENT · Public schema 1.3.0 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓
Semantic contract
PASS
Full verification

Manifest identity, reference classes, interfaces, suite, and production records.

Formulas

Core equations used by this calculator.

De Moivrez^{1/n} = r^{1/n} (cos((θ+360k)/n) + i sin((θ+360k)/n))
Principalk = 0
iInteger n ≥ 2 and n ≤ 64. Principal root is k=0. Float64. Not a second complex engine. Not polynomial roots.

How to use

1

Enter re, im, and n

n ≥ 2. Cube roots of 1 are the roots of unity.

2

Read the principal root and the list

All n roots are returned. The Argand figure places them on a circle. Power and Euler form live on sibling discovery URLs.

Example calculations

Common configurations with formula and result.

ϟ

Cube roots of 1

re=1 im=0 n=3

1, ω, ω²
1, −1/2±i√3/2
ϟ

Square roots of −1

re=-1 im=0 n=2

±i
±i

Complex Roots calculator specification

Version 1.3.0 · Engine tested

Calculation status

Review policy · Evidence

Definition
The n nth-roots of z are r^{1/n} cis((θ+360°k)/n) for k=0…n−1. This page is mode=root on math.complex. Roots of unity are z=1. Not /calc/math/root (real nth root).
What it calculates
All n nth-roots of one complex number, and an engine-linked Argand figure of the roots.
Inputs
  • re
  • im
  • n
Outputs
  • re
  • im
  • roots
  • n_roots
Formula
r^{1/n} cis((θ+360k)/n)
Assumptions
  • Integer n ≥ 2
  • Principal k=0
  • Float64
  • Not a CAS
Units
  • dimensionless
  • degrees
Boundary conditions
  • n<2 → VALUE_MUST_BE_POSITIVE
  • n>64 → VALUE_ABOVE_MAX
Example
re=1 im=0 n=3 → 1, ω, ω²
Validation cases

2 published on this page · 18/18 tests · Production surface contract 5/5 · View evidence

  • re=1 im=0 n=3 → 3 roots, principal 1
  • re=1 im=0 n=1 → error VALUE_MUST_BE_POSITIVE
Sources
Calculation version
1.3.0

Background

Interpretation and common distinctions.

What does this complex roots calculator compute?

The n nth-roots of z are r^{1/n} cis((θ+360°k)/n) for k=0…n−1.

The published formula or method is r^{1/n} cis((θ+360k)/n). The following references support the stated mathematics or method:

Which inputs and limits should you check?

Keep Cartesian and polar representations consistent. Angle units and the selected root or power branch affect the interpretation of a complex result.

The worked example uses re=1 im=0 n=3 with 1, ω, ω². Compare it with the Example calculations and the complete result for the same inputs.

How can you verify and cite this result?

CalculatorX is responsible for this page. The mathematical references above explain the model; implementation checks and their scope are documented separately in the math.complex v1.3.0 Evidence and capability contract. Read the displayed verification and production state together with the specification's numerical limits.

Use the clean calculator URL to cite the tool. A shared input link identifies a particular calculation. Content updates, numerical verification, and domain reviews have separate dates and scopes.

Numerical policy and branch conventions

All angles use degrees. The principal argument lies in (−180°,180°]; a negative real number uses +180°, including a signed zero imaginary part. At the origin, the displayed argument0° is a convention, not a defined mathematical direction. Nonzero inputs and output components/modulus must be finite normal binary64 values (at least2⁻¹⁰²² in magnitude); scaling or intermediate range loss returns NUMERIC_RANGE with rescaling advice. Nonzero decimal text that converts to zero is rejected as NUMERIC_UNDERFLOW.

Power accepts integer |n|≤1000, including negative powers of nonzero numbers;0⁰ is undefined. Roots accept integer2≤n≤64 and return every distinct root in k order; zero has one distinct root. Principal root is k=0 with the argument convention above. Integer powers use scaled rectangular arithmetic; division scales both operands to avoid squared-denominator overflow/underflow. Polar angles are reduced modulo360° before trigonometry, with exact cardinal directions.

The verification budget is2e−11 times the result modulus for rectangular coordinates and modulus, and2e−9 degrees for argument on well-conditioned examples. Components near cancellation may have large relative error even with small vector error. Direction is sensitive near zero and discontinuous at the negative real axis; rounded angles alone cannot reconstruct tiny components. Values remain binary64 approximations, not arbitrary precision or symbolic results.

Interactive calculation runs in your browser. Opening a shared URL sends its query to the site for server rendering; REST/MCP also receive their inputs. The diagram shows all roots; the text work list and CSV/JSON export retain all64 possible roots without truncation.

Frequently asked questions

Key distinctions behind the calculation.

Is this a second complex engine?

No. It is mode=root on math.complex, the same engine as /calc/math/complex-number.

Is this the real nth-root calculator?

No. Real roots stay /calc/math/root. Polynomial roots stay /calc/math/polynomial-roots.