Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)

Complex Number Calculator

Add, subtract, multiply, and divide complex numbers with visual representation on the Argand diagram.

What is a Complex Number Calculator?

A complex number calculator is a specialized tool that performs arithmetic operations on complex numbers. Complex numbers have the form a + bi, where a is the real part, b is the imaginary part, and i is the imaginary unit (√-1).

Mathematical Foundation: Complex numbers extend the real number system by introducing the imaginary unit i, where i² = -1. This allows us to solve equations that have no real solutions, such as x² + 1 = 0.

Supported Operations

Addition

(a+bi) + (c+di) = (a+c) + (b+d)i

Combine real and imaginary parts separately

Subtraction

(a+bi) - (c+di) = (a-c) + (b-d)i

Subtract real and imaginary parts independently

Multiplication

(a+bi)(c+di) = (ac-bd) + (ad+bc)i

Apply FOIL method with i² = -1

Division

(a+bi) ÷ (c+di)

Uses conjugate to rationalize the denominator

Multiple Result Formats

Understanding complex numbers becomes easier when you can view them in different mathematical representations. Our calculator provides three complementary formats:

Rectangular Form

Standard algebraic notation: a + bi

  • Most intuitive format
  • Easy for addition/subtraction
  • Shows real and imaginary parts directly

Polar Form

Magnitude and angle: r∠θ

  • Ideal for multiplication/division
  • Shows geometric properties
  • Angle in degrees or radians

Exponential Form

Euler's notation: re

  • Compact mathematical representation
  • Used in advanced mathematics
  • Based on Euler's formula

Visual Representation

The Argand diagram provides an intuitive visual representation of complex numbers on the complex plane. Each number is displayed as a vector from the origin, making it easy to understand the geometric relationship between the inputs and result.

Visual Learning: The color-coded diagram helps you see how complex operations transform numbers geometrically—addition becomes vector addition, multiplication rotates and scales, and conjugates reflect across the real axis.

How to Use the Calculator

Follow these simple steps to perform complex number calculations efficiently:

1

Choose an Operation

Click one of the operation tabs at the top of the calculator:

  • Add (+) - Add two complex numbers together
  • Subtract (−) - Subtract the second number from the first
  • Multiply (×) - Multiply two complex numbers
  • Divide (÷) - Divide the first number by the second
2

Enter Complex Numbers

For each complex number (z₁ and z₂), enter the components:

  • Real part - The first input field (before the + sign)
  • Imaginary part - The second input field (before the i)
Example: To enter 3+4i, type 3 in the real field and 4 in the imaginary field. For 3-4i, enter 3 and -4.
3

Adjust Settings (Optional)

Customize the output format to match your needs:

  • Decimals - Choose precision: 2, 4, 6, or 8 decimal places
  • Angle - Select degrees (Deg) or radians (Rad) for angle display
4

Calculate

Click the Calculate button or press Enter to see the result instantly.

Understanding the Results

After calculation, the calculator displays comprehensive information about your result:

Primary Result

The answer displayed in rectangular form (a + bi), the most common notation for complex numbers.

Alternative Forms

Polar (r∠θ) and exponential (re) representations for different mathematical contexts.

Properties

Modulus |z|, argument arg(z), and conjugate z̄ calculated automatically.

Argand Diagram

Visual plot showing z₁, z₂, and the result on the complex plane with color-coded vectors.

Quick Examples

Click any example button to automatically fill in values and see the calculation in action. This is an excellent way to learn how complex number operations work and explore different scenarios.

Learning Tip: Try modifying the example values slightly to see how changes affect the result and its visual representation on the Argand diagram.

Features

Four Basic Operations

Perform all fundamental complex number arithmetic with precision and clarity:

Addition

Combine complex numbers by adding real and imaginary parts separately.

  • Straightforward component-wise addition
  • Geometrically represents vector addition
  • Commutative: z₁ + z₂ = z₂ + z₁

Subtraction

Find the difference between complex numbers.

  • Subtract components independently
  • Represents vector subtraction
  • Useful for finding distances

Multiplication

Apply the FOIL method with the rule i² = -1.

  • Multiplies magnitudes, adds angles
  • Rotates and scales in polar form
  • Commutative: z₁ × z₂ = z₂ × z₁

Division

Multiply by conjugate to rationalize the denominator.

  • Divides magnitudes, subtracts angles
  • Uses conjugate multiplication technique
  • Produces real denominator

Multiple Output Formats

View results in the format that best suits your mathematical needs or educational context:

Algebraic

Rectangular Form

a + bi

  • Standard algebraic notation
  • Best for addition and subtraction
  • Shows components directly
  • Most intuitive for beginners
Geometric

Polar & Exponential

r∠θ or re

  • Magnitude and angle representation
  • Ideal for multiplication and division
  • Reveals geometric properties
  • Used in advanced mathematics

Complex Number Properties

Instantly access important mathematical properties of your result:

Modulus |z|

The distance from origin: √(a² + b²)

Represents magnitude or absolute value

Argument arg(z)

The angle from positive real axis

Measured counterclockwise in degrees or radians

Conjugate z̄

Reflection across real axis: a - bi

Essential for division and finding modulus

Argand Diagram Visualization

Experience complex numbers visually on the complex plane with our interactive diagram:

  • z₁ shown in blue - First input number with vector from origin
  • z₂ shown in green - Second input number with vector representation
  • Result shown in purple - Output of the operation
  • Coordinate labels for precise positioning
  • Grid lines for easy reference
Geometric Insight: The Argand diagram transforms abstract algebra into visual geometry. Watch how addition creates parallelograms, multiplication rotates and scales, and division performs inverse transformations.

Customizable Settings

Decimal Precision

Choose between 2, 4, 6, or 8 decimal places to match your accuracy requirements or educational standards.

Angle Units

Switch seamlessly between degrees and radians depending on your mathematical context or preference.

Quick Examples

Pre-loaded examples demonstrate common operations and help you understand how complex arithmetic works in practice. Each example is carefully chosen to illustrate key concepts and typical use cases.

Educational Value: Examples range from simple operations to more complex scenarios, making this calculator suitable for students, educators, engineers, and professionals alike.

Frequently Asked Questions

What is a complex number?

A complex number has the form a + bi, where:

  • a is the real part
  • b is the imaginary part
  • i is the imaginary unit defined as √-1 (where i² = -1)

Complex numbers extend the real number system and are essential in many areas of mathematics, physics, engineering, signal processing, and quantum mechanics. They allow us to solve equations that have no real solutions, such as x² + 1 = 0.

Historical Note: Complex numbers were initially met with skepticism but are now fundamental to modern mathematics and science, particularly in electrical engineering and quantum physics.

How do I enter a complex number?

Enter the real part in the first field and the imaginary part in the second field:

  • For 3+4i, type 3 in the real field and 4 in the imaginary field
  • For negative imaginary parts like 3-4i, enter 3 and -4
  • For purely real numbers like 5, enter 5 and 0
  • For purely imaginary numbers like 3i, enter 0 and 3
Tip: You can use decimal values in both fields for more precise calculations, such as 2.5 + 3.7i.

What is the Argand diagram?

The Argand diagram (also called the complex plane or Gauss plane) is a geometric representation of complex numbers:

  • The horizontal axis represents the real part
  • The vertical axis represents the imaginary part
  • Each complex number corresponds to a unique point (or vector from the origin)
  • The distance from origin is the modulus |z|
  • The angle from the positive real axis is the argument arg(z)

This visualization makes complex number operations intuitive: addition becomes vector addition, multiplication rotates and scales, and conjugates reflect across the real axis.

What's the difference between polar and rectangular form?

Rectangular

a + bi

  • Uses real and imaginary components
  • Easy for addition and subtraction
  • Direct representation of coordinates
  • Example: 3 + 4i
Polar

r∠θ

  • Uses magnitude and angle
  • Ideal for multiplication and division
  • Shows geometric properties clearly
  • Example: 5∠53.13°

Both forms represent the same number in different ways. You can convert between them using:

  • Rectangular to Polar: r = √(a² + b²), θ = arctan(b/a)
  • Polar to Rectangular: a = r cos(θ), b = r sin(θ)

Why can't I divide by zero?

Division by 0+0i is undefined, just like division by zero in real numbers. This is because:

  • There is no number that, when multiplied by 0, gives a non-zero result
  • The operation would require dividing by a modulus of zero
  • It violates fundamental mathematical principles
Error Prevention: The calculator will display an error message if you attempt to divide by 0+0i, preventing undefined results.

What is the conjugate of a complex number?

The conjugate of a + bi is a - bi. It's the reflection of the number across the real axis on the Argand diagram.

Why Conjugates Are Important:

  • Division: Multiplying by the conjugate rationalizes the denominator
  • Modulus: |z|² = z × z̄ (product of a number and its conjugate)
  • Real part extraction: Re(z) = (z + z̄)/2
  • Imaginary part extraction: Im(z) = (z - z̄)/(2i)

Example: The conjugate of 3+4i is 3-4i. When multiplied: (3+4i)(3-4i) = 9 + 16 = 25 (a real number).

What is the modulus?

The modulus |z| of a complex number z = a + bi is its distance from the origin:

Formula: |z| = √(a² + b²)

The modulus represents the magnitude or absolute value of the complex number. It's always a non-negative real number.

Properties of Modulus:

  • |z₁ × z₂| = |z₁| × |z₂| (modulus of product = product of moduli)
  • |z₁ / z₂| = |z₁| / |z₂| (modulus of quotient = quotient of moduli)
  • |z̄| = |z| (conjugate has same modulus)
  • |z|² = z × z̄ (modulus squared equals product with conjugate)

Example: For z = 3+4i, the modulus is |z| = √(3² + 4²) = √(9 + 16) = √25 = 5.

What is the argument?

The argument arg(z) is the angle between the positive real axis and the line from the origin to the point representing z on the complex plane.

Formula: arg(z) = arctan(b/a), adjusted for the correct quadrant

Key Points:

  • Measured counterclockwise from the positive real axis
  • Can be expressed in degrees (0° to 360°) or radians (0 to 2π)
  • Also called the phase or angle of the complex number
  • The principal argument is typically in the range (-π, π] or (-180°, 180°]

Argument Properties:

  • arg(z₁ × z₂) = arg(z₁) + arg(z₂) (angles add in multiplication)
  • arg(z₁ / z₂) = arg(z₁) - arg(z₂) (angles subtract in division)
  • arg(z̄) = -arg(z) (conjugate has opposite angle)

Example: For z = 3+4i, the argument is arctan(4/3) ≈ 53.13° or ≈ 0.927 radians.

Enter Complex Numbers
+
i
+
+
i
Enter complex numbers to calculate
Result
Rectangular
Polar
Exponential
|z|
arg(z)
Argand Diagram
z₁ z₂ Result
Enter the real and imaginary parts separately for each complex number
Use the operation tabs to switch between Add, Subtract, Multiply, and Divide
View results in Rectangular, Polar, and Exponential forms
The Argand Diagram shows z₁, z₂, and the result as vectors
Press Enter to calculate quickly
All calculations are performed locally in your browser
Want to learn more? Read documentation →
1/7
Start typing to search...
Searching...
No results found
Try searching with different keywords