Last verified · v1.0
Calculator · math
Imaginary (Complex) Number Calculator
Add, subtract, multiply, or divide two complex numbers (a + bi) and display results in rectangular form, modulus, or argument instantly.
Inputs
Result (selected component of z₁ ∘ z₂)
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
What Is a Complex Number?
A complex number takes the rectangular form z = a + bi, where a is the real part and b is the imaginary part. The symbol i denotes the imaginary unit, defined as i = √(−1), so i² = −1. Every real number is a special case of a complex number with b = 0, making the complex number system a complete superset of the reals. The complex plane maps a along the horizontal axis and b along the vertical axis, giving every complex number a unique geometric position.
Core Formulas
Modulus (Absolute Value)
The modulus of z = a + bi measures its distance from the origin in the complex plane: |z| = √(a² + b²). This follows directly from the Pythagorean theorem. For z = 3 + 4i, |z| = √(9 + 16) = √25 = 5. For z = 5 + 12i, |z| = √(25 + 144) = √169 = 13. The modulus is always a non-negative real number and equals the amplitude of the corresponding phasor in AC circuit analysis.
Argument (Phase Angle)
The argument θ = atan2(b, a) gives the counterclockwise angle from the positive real axis to the vector representing z, expressed in radians. For z = 1 + i, θ = atan2(1, 1) = π/4 ≈ 0.7854 rad (45°). For z = −1 + 0i, θ = π radians (180°). For z = 0 + 1i, θ = π/2 ≈ 1.5708 rad (90°). The argument is undefined when z = 0.
Arithmetic Operations
Addition and Subtraction
Addition and subtraction combine real and imaginary parts independently. Given z₁ = a + bi and z₂ = c + di:
- Addition: z₁ + z₂ = (a + c) + (b + d)i
- Subtraction: z₁ − z₂ = (a − c) + (b − d)i
Example: (3 + 2i) + (1 + 5i) = 4 + 7i. Example: (3 + 2i) − (1 + 5i) = 2 − 3i. Addition in rectangular form is straightforward and is the preferred method when summing impedances in AC circuits.
Multiplication
Apply the distributive (FOIL) property and substitute i² = −1: z₁ · z₂ = (ac − bd) + (ad + bc)i. Example: (2 + 3i)(4 − i) = (2·4 − 3·(−1)) + (2·(−1) + 3·4)i = (8 + 3) + (−2 + 12)i = 11 + 10i. In polar form, multiplication becomes elegant: |z₁ · z₂| = |z₁| · |z₂| and arg(z₁ · z₂) = arg(z₁) + arg(z₂), making polar representation the preferred choice for multiplying phasors.
Division
Multiply numerator and denominator by the complex conjugate z₂* = c − di to eliminate i from the denominator: z₁ / z₂ = (ac + bd)/(c² + d²) + (bc − ad)/(c² + d²) · i. Example: (3 + 2i)/(1 + 5i) — multiply by (1 − 5i)/(1 − 5i) to obtain [(3 + 10) + (2 − 15)i]/(1 + 25) = (13 − 13i)/26 = 0.5 − 0.5i. Division requires z₂ ≠ 0 (c and d cannot both equal zero).
Polar and Exponential Forms
Any complex number converts to polar form as z = |z| · (cos θ + i sin θ), or equivalently to Euler's exponential form z = |z| · e^(iθ). According to the Complex Number Primer by Paul Dawkins at Lamar University, the polar form is especially powerful for raising complex numbers to integer powers and extracting nth roots via De Moivre's theorem. For z = 2 + 2i: |z| = √8 ≈ 2.828 and θ = π/4, so z = 2√2 · e^(iπ/4).
Real-World Applications
Complex numbers model physical phenomena across science and engineering:
- Electrical engineering: Impedance Z = R + jX (engineers use j instead of i to avoid confusion with current) combines resistance R and reactance X. A 50 Ω resistor in series with a 75 Ω inductive reactance gives Z = 50 + 75j Ω, with |Z| ≈ 90.1 Ω.
- Signal processing: The Fast Fourier Transform (FFT) decomposes time-domain signals into complex frequency components, enabling MP3 audio compression and JPEG image encoding.
- Quantum mechanics: Wave functions ψ are complex-valued; the squared modulus |ψ|² gives the probability density of finding a particle at a given location.
- Control systems: Pole-zero placement in the complex s-plane determines whether a feedback control system is stable, oscillatory, or divergent.
How to Use This Imaginary Number Calculator
Enter the real parts a and c and the imaginary parts b and d for z₁ = a + bi and z₂ = c + di. Select the arithmetic operation (+, −, ×, ÷) and choose the desired output format: full rectangular result, modulus |z|, or argument arg(z) in radians. As the TCC Engineering reference on complex number representation confirms, engineers routinely switch between rectangular and polar form — rectangular for addition and subtraction, polar for multiplication and division. This imaginary number calculator handles both representations instantly, with no manual conversion required.
Reference