Complex numbers

Enter real coordinates, including 0 where needed. Polar angles accept explicit units such as 90*deg. Use Show complex as on a value result for polar presentation.

Keep coordinates, angle units and root choice explicit

Enter the real and imaginary coordinates separately, including zero where needed. Addition and subtraction combine matching coordinates. Multiplication uses (ac−bd)+(ad+bc)i. Division by c+di uses its conjugate and c²+d²; a zero divisor is undefined.

The modulus is the nonnegative length of the coordinate pair. The argument is the direction, using −π < Arg(z) ≤ π: a negative real value has argument +π, or 180°. Zero has a modulus but no argument. A bare polar angle follows DEG/RAD; explicit angle units override that setting. Changing a value result to polar presentation preserves its stored Cartesian coordinates.

A principal n-th root selects k=0. All n-th roots use angles (Arg(z)+2πk)/n, in internal radians, with k from 0 to n−1. A nonzero input has n distinct roots; zero has one distinct root of multiplicity n. Explicit complex input follows this branch convention; an ordinary real odd root retains its real sign.

Worked example: (1+2i)(3−4i) = 11+2i

The four products are ac=3, bd=−8, ad=−4 and bc=6. The real coordinate is 3−(−8)=11; the imaginary coordinate is −4+6=2. For division, (1+i)/(1−i) becomes (1+i)²/2=2i/2=i.

The fourth roots of 1 have angles 0, π/2, π and 3π/2. In index order they are 1, i, −1 and −i; only k=0 is the principal root. Polar radius 2 with angle 90*deg gives 2i, in either DEG or RAD mode.

Load example fills the form without calculating. Choose its primary action to work it out.

Sources and related calculators

The method and worked example here are original. Sources describe the underlying mathematics or notation; calculation choices and limits are in the precision and syntax guide.