Complex Root Calculator
Find the principal square root of a complex number a + bi.
Every non-zero complex number has two square roots; this returns the principal one.
The math behind it
With modulus |z| = √(a² + b²), the principal root is √((|z|+a)/2) + sgn(b)·√((|z|−a)/2) i. The second root is its negative.
Worked example
√(3 + 4i) = 2 + i, since (2 + i)² = 3 + 4i.
FAQ
How do I get all n-th roots?
Use De Moivre's theorem in polar form; there are exactly n distinct n-th roots evenly spaced around a circle.