Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

Principal Square Root
2 + 1 i
the other root is its negative
Real part of root 2
Imaginary part of root 1
Modulus |z| 5
Modulus of root 2.236068

What is the Complex Number Square Root Calculator?

This tool finds the square root of any complex number written as a + bi, where a is the real part and b is the imaginary part. Every nonzero complex number has exactly two square roots that are negatives of each other; this calculator returns the principal root and notes that the other root is simply its negative.

How to use it

Enter the real part (a) and the imaginary part (b) of your complex number, then read off the result. For a purely real negative number such as -4, just set a = -4 and b = 0. The calculator also reports the modulus of the input and the modulus of the resulting root.

The formula explained

If z = a + bi with modulus \(|z| = \sqrt{a^2 + b^2}\), the principal square root is:

$$\sqrt{z} = \sqrt{\frac{|z| + a}{2}} + i\cdot\operatorname{sgn}(b)\cdot\sqrt{\frac{|z| - a}{2}}$$

The sign of b determines the sign of the imaginary part. When b = 0 and a ≥ 0 the root is purely real; when b = 0 and a < 0 the root is purely imaginary. The modulus of the root equals \(\sqrt{|z|}\).

Polar form showing modulus halving via square root and angle being halved
In polar form, taking a square root means halving the angle and square-rooting the modulus.
Complex number and its two square roots plotted on the complex plane
A complex number z and its two square roots, equal in modulus and pointing in opposite directions.

Worked example

Take z = 3 + 4i. Then \(|z| = \sqrt{9 + 16} = 5\). The real part of the root is \(\sqrt{\frac{5 + 3}{2}} = \sqrt{4} = 2\). Since b > 0, the imaginary part is \(+\sqrt{\frac{5 - 3}{2}} = \sqrt{1} = 1\). So $$\sqrt{3 + 4i} = 2 + i$$ (and the other root is −2 − i).

FAQ

Why are there two square roots? Squaring negates a sign, so if \(w^2 = z\) then \((-w)^2 = z\) too. The two roots always differ only by sign.

What is the principal root? By convention it is the root with non-negative real part (and, when the real part is zero, non-negative imaginary part).

Can I take the root of a negative real number? Yes. Set b = 0 and a negative; for example \(\sqrt{-4} = 2i\).

Last updated: