Complex Number Calculator
Perform operations on complex numbers in rectangular form (a+bi), convert to polar form (r∠θ), and calculate modulus, argument, and conjugate.
As an Amazon Associate and CJ Affiliate publisher we earn from qualifying purchases. Prices and availability may vary.
Complex Numbers Guide
What Are Complex Numbers?
A complex number z = a + bi, where a = real part, b = imaginary part, i = √(−1). The imaginary unit i satisfies i² = −1. Complex numbers arose from attempts to solve equations like x² = −1 (no real solution). The complex number system extends the real number line to a 2D plane (the Argand diagram). Every real number is also complex (with b = 0). Key powers of i: i¹ = i, i² = −1, i³ = −i, i⁴ = 1 (and the cycle repeats). Conjugate: z* = a − bi (change the sign of the imaginary part).
What's the key thing to understand about Operations on Complex Numbers?
Addition: (a+bi) + (c+di) = (a+c) + (b+d)i. Subtract: (a+bi) − (c+di) = (a−c) + (b−d)i. Multiply: (a+bi)(c+di) = ac + adi + bci + bdi² = (ac−bd) + (ad+bc)i. Division: multiply numerator and denominator by the conjugate of the denominator. (a+bi)/(c+di) = (a+bi)(c−di)/((c+di)(c−di)) = (a+bi)(c−di)/(c²+d²). The denominator becomes real (c²+d²).
What do I need to know about Polar Form and Modulus?
Modulus (magnitude): |z| = r = √(a² + b²). Argument (angle): arg(z) = θ = arctan(b/a) — adjusted for the correct quadrant. Polar form: z = r(cos θ + i sin θ) = re^(iθ) (Euler's form). Euler's formula: e^(iθ) = cos θ + i sin θ. The most beautiful identity in mathematics: e^(iπ) + 1 = 0 (when θ = π). Multiplication in polar form is elegant: r₁∠θ₁ × r₂∠θ₂ = r₁r₂∠(θ₁+θ₂) — multiply moduli, add arguments.
What's the key thing to understand about Applications of Complex Numbers?
AC circuit analysis: impedance Z = R + jX (engineers use j instead of i). Capacitors and inductors introduce imaginary impedance components. The phase relationship between voltage and current is captured by the argument of Z. Signal processing: Fourier transforms use complex exponentials to decompose signals into frequency components. Quantum mechanics: wave functions are complex-valued. Fluid dynamics: conformal mapping uses complex analysis to solve 2D flow problems. Fractals: the Mandelbrot set is generated entirely from repeated complex number operations, producing some of the most famous images in mathematics from a remarkably simple underlying formula.
What do I need to know about the Argand Diagram (Complex Plane)?
A complex number a + bi can be plotted as a single point on a two-dimensional plane called the Argand diagram (or complex plane), where the horizontal axis represents the real part (a) and the vertical axis represents the imaginary part (b). This geometric view turns algebraic operations into visual ones: adding two complex numbers corresponds to vector addition (placing one arrow at the tip of the other), and the modulus |z| = √(a²+b²) is simply the straight-line distance from the origin to the point, found using the Pythagorean theorem. The argument, arg(z), is the angle this line makes with the positive real axis, measured counterclockwise. Multiplying two complex numbers in polar form has an elegant geometric meaning: moduli multiply together while arguments add, meaning multiplication by a complex number rotates and scales a point on the plane simultaneously. This visual framework is why complex numbers are so useful in engineering fields like AC circuit analysis and signal processing, where rotation and phase relationships are central to the physics being modelled.
What should I know about De Moivre's Theorem?
De Moivre's Theorem provides a shortcut for raising a complex number to a power when it's expressed in polar form: if z = r(cos θ + i sin θ), then zⁿ = rⁿ(cos(nθ) + i sin(nθ)) for any integer n. In words, to raise a complex number to the nth power, raise its modulus to the nth power and multiply its argument by n — far simpler than repeatedly multiplying the rectangular (a + bi) form by itself. For example, to find (1 + i)⁴: first convert to polar form, where r = √2 and θ = 45° (π/4 radians), then apply the theorem: r⁴ = (√2)⁴ = 4, and 4 × 45° = 180°, giving 4(cos 180° + i sin 180°) = 4(−1 + 0i) = −4. De Moivre's Theorem also underlies finding the n distinct nth roots of a complex number (such as all four fourth-roots of a given value), which are evenly spaced around a circle on the complex plane — a technique essential in solving higher-degree polynomial equations and in signal processing applications.
What do I need to know about Complex Conjugates and Dividing Complex Numbers?
The complex conjugate of a + bi is a - bi — the same real part, with the imaginary part's sign flipped. Multiplying a complex number by its own conjugate always produces a real number: (a+bi)(a-bi) = a² + b², which is exactly the key trick used to divide complex numbers, since you can't divide directly by a complex number the way you divide by a real one. To compute (3+2i)/(1-i), multiply both the numerator and denominator by the denominator's conjugate, (1+i): this gives [(3+2i)(1+i)] / [(1-i)(1+i)] = (3+3i+2i+2i²)/(1+1) = (1+5i)/2 = 0.5 + 2.5i. This "multiply by the conjugate" technique is the complex-number equivalent of rationalizing a denominator with a square root, and it's the standard method for any complex division problem.
Worked Example: Dividing Complex Numbers and Finding Cube Roots
To divide (3 + 4i) ÷ (1 − 2i), multiply top and bottom by the conjugate of the denominator, (1 + 2i): numerator = (3 + 4i)(1 + 2i) = 3 + 6i + 4i + 8i² = 3 + 10i − 8 = −5 + 10i. Denominator = (1 − 2i)(1 + 2i) = 1 + 4 = 5. Result: (−5 + 10i)/5 = −1 + 2i. For roots, convert to polar form first. Take 8i: its modulus is 8 and its argument is 90° (π/2), since it lies straight up the imaginary axis. The three cube roots have modulus 8^(1/3) = 2 and arguments (90° + 360°k)/3 for k = 0, 1, 2 — that is, 30°, 150° and 270°: Root 1: 2(cos30° + i sin30°) = √3 + i ≈ 1.732 + i Root 2: 2(cos150° + i sin150°) = −√3 + i ≈ −1.732 + i Root 3: 2(cos270° + i sin270°) = −2i Check: cubing root 1 in polar form gives 2³∠(3×30°) = 8∠90° = 8i, confirming the answer.
Complex Number Operations Quick Reference
| Operation | Formula (z1=a+bi, z2=c+di) | Result type |
|---|---|---|
| Addition | (a+c)+(b+d)i | Complex |
| Subtraction | (a-c)+(b-d)i | Complex |
| Multiplication | (ac-bd)+(ad+bc)i | Complex |
| Division | [(ac+bd)+(bc-ad)i]/(c²+d²) | Complex |
| Modulus | √(a²+b²) | Real, non-negative |
| Conjugate | a-bi | Complex |
Complex Numbers in Electrical Engineering: an Impedance Example
AC circuit analysis represents impedance as a complex number Z = R + jX, where R is resistance and X is reactance (using j instead of i is an engineering convention to avoid clashing with current, i). For a series RLC circuit with resistance R = 50 Ω, inductive reactance X_L = 80 Ω and capacitive reactance X_C = 30 Ω, the net impedance is Z = R + j(X_L − X_C) = 50 + 50j Ω. Its magnitude, |Z| = √(50² + 50²) = √5000 ≈ 70.7 Ω, tells you the overall opposition to current flow, while the phase angle, arctan(50/50) = 45°, tells you how far the current lags the voltage — exactly the kind of calculation complex arithmetic was built to simplify.
Why Complex Numbers Were Invented in the First Place
Complex numbers weren't originally created to describe anything physical — they emerged in the 1500s from attempts to solve cubic equations, where intermediate steps in the formula required taking the square root of a negative number even when the final answer was a perfectly ordinary real number. Mathematicians like Cardano and Bombelli found that treating √−1 as a formal symbol and carrying it through the algebra, then having it cancel out, gave correct real answers — which is why "imaginary" numbers earned that slightly dismissive name centuries before their genuine utility in electrical engineering, quantum mechanics and signal processing was discovered.
Why Complex Numbers Had to Be Invented
Complex numbers weren't introduced to solve imaginary problems — they emerged from 16th-century Italian mathematicians (notably Cardano and Bombelli) wrestling with the general formula for solving cubic equations, which sometimes required taking the square root of a negative number as an intermediate step, even when the final answer was a perfectly ordinary real number. Rather than being a dead end, treating √(−1) as a valid intermediate quantity (later formalised as i) let mathematicians push through to correct real answers that the formula couldn't reach otherwise. Only centuries later did complex numbers find their now-familiar uses in electrical engineering (AC circuit analysis), signal processing, and quantum mechanics — practical applications that came long after the underlying mathematics was developed purely to make an existing algebra problem solvable, which is a useful reminder that 'imaginary' numbers were never about imagination so much as filling a genuine gap the real numbers alone couldn't cover.