Complex Number Calculator

Complex Number Calculator | Advanced

Complex Number Calculator

Add, subtract, multiply, divide, and more – with instant results!

First Complex Number

Second Complex Number

Result
4 + 6i
(3 + 2i) + (1 + 4i)
📜 Calculation History
No calculations yet

Complex number calculator

Add, subtract, multiply, divide, and find the modulus, argument, conjugate, and polar form of complex numbers — instantly, with step-by-step solutions.

Free to use Step-by-step solutions Polar & rectangular form No sign-up needed Works on mobile
Operations supported
12+
From basic arithmetic to De Moivre’s theorem
Accuracy
10 dec
High-precision floating-point results
Input formats
3
a+bi, polar, and exponential (Euler) form
Common use case
EE & Physics
AC circuits, signal processing, quantum mechanics

What is a complex number?

A complex number is a number of the form a + bi, where a is the real part and b is the imaginary part. The symbol i represents the imaginary unit, defined by the property i² = −1. Complex numbers extend the real number line into a two-dimensional plane, enabling solutions to equations that have no real roots — such as x² + 1 = 0.

Standard (rectangular) form
z = a + bi
Polar form
z = r(cos θ + i sin θ) where r = |z|, θ = arg(z)
Euler (exponential) form
z = r · e^(iθ)

All operations this calculator performs

Addition & subtraction
Add or subtract real and imaginary parts independently.
(a+bi)+(c+di) = (a+c)+(b+d)i
Multiplication
Uses FOIL method with i² = −1 applied automatically.
(a+bi)(c+di) = (ac−bd)+(ad+bc)i
Division
Multiplies by the conjugate of the denominator.
(a+bi)/(c+di) → multiply by (c−di)/(c−di)
Modulus (absolute value)
The distance of z from the origin in the complex plane.
|z| = √(a² + b²)
Argument (phase angle)
Angle from positive real axis, returned in radians or degrees.
arg(z) = atan2(b, a)
Conjugate
Flips the sign of the imaginary part. Used in division and signal processing.
z̄ = a − bi
Powers & roots
Raise to any integer power or find nth roots via De Moivre’s theorem.
zⁿ = rⁿ(cos nθ + i sin nθ)
Form conversion
Convert freely between rectangular, polar, and exponential form.
a = r cos θ, b = r sin θ

Visualizing complex numbers on the Argand diagram

The Argand diagram (complex plane) plots the real part on the horizontal axis and the imaginary part on the vertical axis. Every complex number corresponds to a unique point — or equivalently a vector from the origin.

Argand diagram — complex plane Re Im −2 2 2i −2i 3+2i 2−3i −2+i θ |z| = r O

The modulus is the length of the vector (r), and the argument is the angle θ measured counterclockwise from the positive real axis. These two values define the polar form of any complex number.

Common operations — worked examples

Multiplying two complex numbers

Example: (3 + 2i) × (1 − 4i)
= (3)(1) + (3)(−4i) + (2i)(1) + (2i)(−4i) = 3 − 12i + 2i − 8i² = 3 − 10i + 8 ← since i² = −1 = 11 − 10i

Dividing complex numbers

Example: (2 + i) ÷ (3 − 2i)
Multiply top and bottom by conjugate (3+2i): = (2+i)(3+2i) / (3−2i)(3+2i) = (6+4i+3i+2i²) / (9+4) = (4 + 7i) / 13 = (4/13) + (7/13)i ≈ 0.308 + 0.538i

Finding modulus and argument of 3 + 4i

Step-by-step breakdown
|z| = √(3² + 4²) = √(9+16) = √25 = 5 arg(z) = atan2(4, 3) ≈ 53.13° (or 0.9273 radians) Polar form: z = 5 (cos 53.13° + i sin 53.13°) Euler form: z = 5e^(0.9273i)

Polar form vs rectangular form — when to use which

TaskRectangular a+biPolar r(cosθ+i sinθ)
Addition / subtraction✓ Easy — add components✗ Requires conversion first
Multiplication✓ Possible via FOIL✓ Faster — multiply r, add θ
Division✓ Possible via conjugate✓ Faster — divide r, subtract θ
Powers / roots (De Moivre)✗ Very tedious✓ Trivial with De Moivre
Graphical interpretation✓ Direct plot on x-y plane✓ Direct magnitude and direction
AC circuits (impedance)✓ Adding impedances in series✓ Phase angle representation

Operation difficulty chart

Difficulty ratings for operations in each form.

Where complex numbers are used — real-world applications

Electrical engineering
Impedance, AC circuits, phasors, power factor analysis, and filter design.
Signal processing
Fourier transforms, convolution, and frequency domain analysis rely on complex arithmetic.
Quantum mechanics
Wave functions, Schrödinger’s equation, and probability amplitudes all use complex numbers.
Computer graphics
Rotations in 2D, Mandelbrot/Julia set rendering, and FFT-based texturing.
Control systems
Stability analysis via poles and zeros in the complex plane (Laplace, Z-transform).
Pure mathematics
Number theory, complex analysis, Riemann hypothesis, and algebraic geometry.
Usage distribution across fields.

How to use this calculator — step-by-step guide

  1. Choose your input format: rectangular (a + bi), polar (r, θ), or Euler form.
  2. Enter the real part (a) and imaginary part (b) for the first complex number.
  3. If performing a two-operand operation (add, multiply, etc.), enter the second complex number.
  4. Select the operation you want to perform from the dropdown or operation buttons.
  5. Click Calculate — the result is shown instantly in all three forms.
  6. Expand the Step-by-step section to see the full working for your problem.
  7. The Argand diagram updates to plot both input numbers and the result.

Pro tip: When computing powers or roots, switch to polar form — De Moivre’s theorem makes the calculation dramatically simpler, and the calculator handles the conversion automatically.

De Moivre’s theorem — powers and roots

De Moivre’s theorem is one of the most powerful tools in complex number arithmetic. It states that for any complex number in polar form and any integer n:

De Moivre’s theorem
(cos θ + i sin θ)ⁿ = cos(nθ) + i sin(nθ) ∴ zⁿ = rⁿ (cos nθ + i sin nθ)

Finding the nth roots of a complex number z = r·e^(iθ) gives exactly n distinct roots, evenly spaced around a circle of radius r^(1/n) in the complex plane:

nth roots formula
z_k = r^(1/n) · e^(i(θ + 2πk)/n), k = 0, 1, 2, …, n−1

Euler’s identity — widely considered the most beautiful equation in mathematics — is a direct consequence of complex exponential form:

e^(iπ) + 1 = 0

This connects five fundamental constants: e, i, π, 1, and 0.

Frequently asked questions

What is i² equal to?
By definition, the imaginary unit i satisfies i² = −1. This property is the foundation of all complex number arithmetic. Higher powers cycle: i³ = −i, i⁴ = 1, and the pattern repeats every four steps.
How do you multiply complex numbers?
Use FOIL (First, Outer, Inner, Last) exactly as with binomials, then substitute i² = −1. For example: (a+bi)(c+di) = ac + adi + bci + bdi² = (ac−bd) + (ad+bc)i. Alternatively, convert to polar form, multiply the moduli, and add the arguments.
What is the conjugate of a complex number?
The conjugate of z = a + bi is z̄ = a − bi (flip the sign of the imaginary part). The product z · z̄ = a² + b² is always a real number, which is why conjugates are used to rationalize complex fractions during division.
How do you convert from rectangular to polar form?
Given z = a + bi, the modulus is r = √(a²+b²) and the argument is θ = atan2(b, a). The polar form is then z = r(cos θ + i sin θ). This calculator performs the conversion instantly and handles all four quadrants correctly.
Can complex numbers be divided?
Yes. To divide (a+bi)/(c+di), multiply both numerator and denominator by the conjugate (c−di). This makes the denominator real: c²+d². The result is ((ac+bd)/(c²+d²)) + ((bc−ad)/(c²+d²))i. In polar form, simply divide the moduli and subtract the arguments.
What is the modulus of a complex number?
The modulus (or absolute value) |z| of z = a+bi is the distance from the origin to the point (a, b) in the complex plane, calculated as |z| = √(a²+b²). For a real number a+0i, this reduces to |a|.
How does this differ from a regular scientific calculator?
Standard scientific calculators handle complex numbers poorly or not at all. This tool is purpose-built: it shows step-by-step working, supports all three representations (rectangular, polar, Euler), computes De Moivre’s theorem, plots on an Argand diagram, and handles operations like finding nth roots — all in one place.
What is the argument of a complex number?
The argument arg(z) is the angle between the positive real axis and the vector representing z in the complex plane, measured counterclockwise. It is calculated using θ = atan2(b, a) and can be expressed in radians (principal value: −π < θ ≤ π) or degrees. This calculator returns both.

Why use an online complex number calculator?

Manual complex arithmetic is error-prone, especially for multiplication with four terms or division requiring conjugates. This calculator eliminates arithmetic mistakes, shows complete working so you can learn from each step, handles angle quadrant issues automatically in polar conversion, and lets you focus on understanding rather than mechanics. Students, engineers, and researchers all benefit from a reliable, always-available tool that handles the full range of complex operations.

Whether you’re solving AC circuit problems, working through a complex analysis textbook, or just need to quickly find the argument of a complex number — this calculator is designed to be the only tool you need. Bookmark it and come back whenever complex arithmetic slows you down.

Related Tools

Decimal to Fraction Calculator
Fraction To Decimal Calculator
Mixed Numbers Calculator
Percentage to Decimal Converter
What is My Screen Resolution?
Milliliters to Grams Calculator | Convert ml to Grams
Grams to mL Converter | Cooking Calculator for 50+ Ingredients
Grams to Teaspoons Converter (g to tsp)
Grams to Cups Converter (g to c)
Grams to Tablespoons Converter
Milliliters to Teaspoons Converter
Overtime Calculator
Log Calculator (Logarithm Calculator) – Calculate Log Values Online
Scientific Notation Converter (Step-by-Step)
Exponent Calculator – Instant Results with Steps
Scroll to Top