Free to Use

Complex Number Calculator

Perform operations with complex numbers in rectangular and polar forms. Add, subtract, multiply, divide, and convert between forms with detailed step-by-step solutions.

Complex Number 1 (z₁)

Complex Number 2 (z₂)

Real-World Complex Number Examples

⚡ AC Circuit Analysis

In an AC circuit, the impedance Z = 4 + 3j Ω (rectangular form). What is the impedance in polar form?

Magnitude: r = √(4² + 3²) = √25 = 5 Ω

Phase Angle: θ = tan⁻¹(3/4) = 36.87°

Polar Form: Z = 5∠36.87° Ω

Impedance in polar form makes it easier to analyze series and parallel AC circuits.

🔢 Adding Complex Numbers

Add z₁ = 3 + 2i and z₂ = 1 - 4i.

Step 1: Add real parts: 3 + 1 = 4

Step 2: Add imaginary parts: 2 + (-4) = -2

Result: z₁ + z₂ = 4 - 2i

Complex addition works like vector addition — components add independently.

✖️ Multiplying Complex Numbers

Multiply z₁ = 2 + 3i and z₂ = 1 - i.

Step 1: Use FOIL: (2)(1) + (2)(-i) + (3i)(1) + (3i)(-i)

Step 2: Simplify: 2 - 2i + 3i - 3i²

Step 3: Since i² = -1: 2 + i + 3 = 5 + i

The product of two complex numbers is another complex number.

🔄 Polar Form Multiplication

Two phasors in polar form: V₁ = 10∠30° V and V₂ = 5∠60° V.

Product: V₁ × V₂ = (10 × 5) ∠ (30° + 60°) = 50∠90° V²

Division: V₁ ÷ V₂ = (10 ÷ 5) ∠ (30° - 60°) = 2∠-30°

In polar form, multiply magnitudes and add angles; divide magnitudes and subtract angles.

Understanding Complex Numbers

A complex number is a number of the form a + bi, where a is the real part, b is the imaginary part, and i is the imaginary unit defined as i² = -1. Complex numbers are fundamental to electrical engineering, quantum mechanics, signal processing, control theory, and fluid dynamics.

Rectangular and Polar Forms

Rectangular: z = a + bi
Where a = Real part, b = Imaginary part
Polar: z = r(cos θ + i sin θ) = r∠θ
Where r = √(a² + b²), θ = tan⁻¹(b/a)

Conversion Formulas

Rectangular → Polar
r = √(a² + b²),   θ = tan⁻¹(b/a)
Angle must be adjusted for the correct quadrant
Polar → Rectangular
a = r cos θ,   b = r sin θ
θ in radians for calculation, degrees for display

Arithmetic Operations

Addition: (a+bi) + (c+di) = (a+c) + (b+d)i
Add real parts and imaginary parts separately
Subtraction: (a+bi) − (c+di) = (a−c) + (b−d)i
Subtract real and imaginary parts separately
Multiplication: (a+bi)(c+di) = (ac−bd) + (ad+bc)i
Use FOIL method: remember i² = -1
Division: (a+bi) ÷ (c+di) = (a+bi)(c−di) / (c²+d²)
Multiply numerator and denominator by the complex conjugate

Quick Tips for Working with Complex Numbers

🧮 Using i

Remember the powers: i¹ = i, i² = -1, i³ = -i, i⁴ = 1. Higher powers cycle through these four values.

📐 Quadrant Matters

When converting to polar form, the angle θ depends on the quadrant of (a,b). Use atan2(b,a) for correct quadrant.

🔗 Complex Conjugate

The conjugate of a+bi is a-bi. Multiplying by the conjugate gives a²+b², a real number. Essential for division.

⚡ Polar Multiplication

In polar form, multiply magnitudes and add angles. Divide magnitudes and subtract angles. Much easier than rectangular!

Add & Subtract
Add and subtract complex numbers component-wise. See the real and imaginary parts combined clearly with step-by-step working.
✖️
Multiply & Divide
Multiply using the FOIL method and divide using complex conjugates. Full step-by-step solutions with intermediate results.
🔄
Form Conversion
Convert between rectangular (a+bi) and polar (r∠θ) forms instantly. Includes magnitude, angle, and quadrant adjustment.
📝
Step-by-Step Solutions
Every calculation includes detailed steps — from intermediate FOIL expansions to conjugate multiplication and angle conversions.

What Are Complex Numbers?

A complex number extends the concept of one-dimensional real numbers to a two-dimensional complex plane by adding an imaginary component. Every complex number can be written as z = a + bi, where a and b are real numbers and i is the imaginary unit satisfying i² = -1. The real part is Re(z) = a and the imaginary part is Im(z) = b.

Complex numbers can be visualized as points or vectors on the complex plane (Argand diagram), where the horizontal axis represents the real part and the vertical axis represents the imaginary part. This geometric interpretation leads naturally to the polar form representation: z = r(cos θ + i sin θ) = r∠θ, where r is the magnitude (distance from origin) and θ is the argument (angle from the positive real axis).

Complex numbers are indispensable in modern science and engineering. They simplify the analysis of AC circuits, enable quantum mechanics through wave functions, provide the mathematical foundation for digital signal processing via Fourier transforms, and are essential in control theory for analyzing system stability using pole-zero plots.

Key Properties of Complex Numbers

How to Work with Complex Numbers

Addition and Subtraction: Add or subtract the real parts and imaginary parts independently. For example, (3 + 2i) + (1 - 4i) = (3 + 1) + (2 - 4)i = 4 - 2i. This is analogous to vector addition in 2D space.

Multiplication: Use the FOIL method (First, Outer, Inner, Last) and substitute i² = -1. For example, (2 + 3i)(1 - i) = 2(1) + 2(-i) + 3i(1) + 3i(-i) = 2 - 2i + 3i - 3i² = 2 + i + 3 = 5 + i.

Division: Multiply both numerator and denominator by the complex conjugate of the denominator to make the denominator real. For example, (a+bi)/(c+di) = (a+bi)(c-di)/(c²+d²).

Converting Between Forms

To convert from rectangular to polar, calculate the magnitude r = √(a² + b²) and the angle θ = tan⁻¹(b/a). The angle must be adjusted based on the quadrant: if a is negative, add π (180°) to the arctan result. The atan2(b, a) function handles this automatically.

To convert from polar to rectangular, use a = r cos θ and b = r sin θ. Make sure the angle is in radians when using trigonometric functions, or convert from degrees by multiplying by π/180.

Applications of Complex Numbers

⚡ Electrical Engineering

Impedance (Z = R + jX) in AC circuits is a complex number. Phasor analysis uses complex numbers to simplify AC circuit calculations, making it possible to apply Ohm's Law to reactive components.

📡 Signal Processing

The Fourier Transform, the foundation of all signal processing, naturally produces complex numbers. The real part represents amplitude, while the imaginary part represents phase information of frequency components.

🔄 Control Systems

System stability is analyzed using pole-zero plots in the complex s-plane. The location of poles determines whether a system is stable, oscillatory, or unstable. Root locus and Nyquist plots are fundamental tools.

🔬 Quantum Mechanics

The wave function ψ(x,t) is inherently complex-valued. The Schrödinger equation uses complex numbers, and the probability density is given by |ψ|², the magnitude squared of the complex wave function.

Frequently Asked Questions

What is a complex number and why do we need the imaginary unit i?
A complex number is a number of the form a + bi, where a and b are real numbers and i is the imaginary unit defined as i² = -1. We need complex numbers because they allow us to solve equations like x² + 1 = 0, which has no real solution. More broadly, complex numbers provide a complete algebraic system where every polynomial equation has a solution (the Fundamental Theorem of Algebra). They are essential in physics and engineering because they elegantly represent phenomena that involve rotation, oscillation, and wave behavior.
How do I convert a complex number from rectangular to polar form?
To convert from rectangular form (a + bi) to polar form (r∠θ): (1) Calculate the magnitude: r = √(a² + b²). (2) Calculate the angle: θ = tan⁻¹(b/a). (3) Adjust the angle for the correct quadrant using atan2(b, a): if a > 0, θ = tan⁻¹(b/a); if a < 0 and b ≥ 0, add 180°; if a < 0 and b < 0, subtract 180°; if a = 0 and b > 0, θ = 90°; if a = 0 and b < 0, θ = -90°. Our calculator handles all quadrant adjustments automatically.
How does complex number division work?
To divide (a + bi) ÷ (c + di): (1) Find the complex conjugate of the denominator: c - di. (2) Multiply both numerator and denominator by this conjugate. (3) The denominator becomes c² + d² (a real number). (4) The numerator becomes (a + bi)(c - di) = (ac + bd) + (bc - ad)i. (5) Divide the real and imaginary parts of the numerator by the real denominator. For example, (4 + 2i) ÷ (1 + i) = (4 + 2i)(1 - i) / (1² + 1²) = (4 - 4i + 2i - 2i²) / 2 = (4 - 2i + 2) / 2 = (6 - 2i) / 2 = 3 - i.
What is the difference between i and j notation?
In mathematics, the imaginary unit is conventionally denoted as i. However, in electrical engineering, the letter j is used instead, because i already represents electric current. So a mathematician would write 3 + 2i, while an electrical engineer would write 3 + 2j. Both mean exactly the same thing: a complex number with real part 3 and imaginary part 2. Our calculator uses i notation but the mathematics is identical for engineers using j.
What is the complex conjugate and why is it useful?
The complex conjugate of z = a + bi is z̄ = a - bi. It's formed by negating the imaginary part. The conjugate is useful for several reasons: (1) z × z̄ = a² + b² is always a real number, which is used in division to make the denominator real. (2) |z|² = z × z̄ gives the squared magnitude. (3) The sum z + z̄ = 2a gives twice the real part. (4) The difference z - z̄ = 2bi gives twice the imaginary part. (5) The roots of polynomials with real coefficients always come in conjugate pairs.
How do I multiply complex numbers in polar form?
Multiplying complex numbers in polar form is remarkably simple: multiply the magnitudes and add the angles. If z₁ = r₁∠θ₁ and z₂ = r₂∠θ₂, then z₁ × z₂ = (r₁ × r₂) ∠ (θ₁ + θ₂). For example, 5∠30° × 2∠45° = 10∠75°. Similarly, for division: z₁ ÷ z₂ = (r₁ ÷ r₂) ∠ (θ₁ - θ₂). This is why polar form is preferred for multiplication and division, while rectangular form is easier for addition and subtraction. Euler's formula e^(iθ) = cos θ + i sin θ provides the theoretical foundation for this elegant behavior.

⚠️ Important Note: This Complex Number Calculator is for educational and informational purposes only. While every effort has been made to ensure accuracy, results should be verified independently for critical applications such as circuit design, control system analysis, or scientific research. Always consult a qualified professional for complex number calculations in high-stakes contexts.