Complex Calculator
Calculate with complex literals: arithmetic, principal functions, polar form and all distinct nth roots, with a scaled complex-plane view.
About this tool
Select an operation; only the needed inputs appear. Formats include 3+4i, 3+i, −i, (3,4), (3;4), or radius@angle with the angle in degrees. j also means i. Decimal commas are accepted in ordinary and polar literals; in tuples use a semicolon to separate decimal-comma values, e.g. (3,5;4,5). These are literals, not general expressions. Calculate or press Enter to begin.
Select a root in the plot or table. Both highlight the same point. Arrow keys change the root, and Home and End jump to the ends of the list.
Log, square root and noninteger powers use principal branches. Signed imaginary zero selects the side of the negative-real-axis cut: (-1;0) gives sqrt=i and (-1;-0) gives sqrt=−i, following the numerical convention described in Python cmath. Arg(0) and Log(0) are undefined; its modulus is zero. Zero to a positive real power is zero; other zero powers are not accepted here.
Root degree is 1–64. All distinct roots are listed; zero has only one distinct root, with multiplicity n. Roots are plotted independently of the input magnitude so they remain visible. Other plots show input and result points. Real and imaginary axes use equal geometric scales; a displayed decimal exponent applies to both axes.
Arithmetic uses Float64, with scaling for division, logarithm and square root. Values below the representable range can underflow; nonrepresentable literals are rejected and overflowing results reported separately from undefined operations. Display uses ten significant digits without suppressing small nonzero values; Copy uses seventeen digits and preserves signed imaginary zero. It is not an arbitrary-precision calculator.
Calculate or press Enter for the first result. Afterwards, valid input or operation changes update directly after a brief typing pause. Invalid entries remain editable and remove old output. Only raw entries, including unfinished and inactive inputs, and the expanded polar panel are remembered. Reload and closing/reopening stay idle without reconstructing results. PNG exports the displayed plane with inputs, operation and colour legend.