Complex Number Calculator

All free toolsAdvanced Mathematics
Advanced MathematicsFree online tool

Complex Number Calculator

Perform arithmetic with complex numbers in a + bi form.

Complex number A
Complex number B

Free online tool by SOCE. Check inputs and results before using them for important decisions.

Complex Number Calculator

The SOCE Complex Number Calculator is designed to help students, engineers, teachers, and mathematics enthusiasts work with complex numbers. Complex numbers are widely used in algebra, engineering mathematics, electrical engineering, structural dynamics, vibration analysis, and numerical methods.

A complex number contains a real part and an imaginary part and is generally written as a + bi, where i² = −1.

This guide explains complex number calculations, mathematical formulas, worked examples, modulus, conjugates, polar representation, and practical engineering applications.

What Is a Complex Number?

A complex number is a number consisting of a real component and an imaginary component.

Its standard form is:

z = a + bi

Where:

  • a = Real part of the complex number
  • b = Imaginary coefficient
  • i = Imaginary unit, satisfying i² = −1

For example:

z = 3 + 4i

Here, the real part is 3 and the imaginary part is 4.

Complex numbers extend the real number system and allow mathematical problems involving square roots of negative real numbers to be represented and solved.

How to Calculate Complex Numbers

Complex number arithmetic follows algebraic rules together with the identity i² = −1.

The four basic operations are addition, subtraction, multiplication, and division.

1. Complex Number Addition

For two complex numbers:

z₁ = a + bi

z₂ = c + di

The addition formula is:

z₁ + z₂ = (a + c) + (b + d)i

Example:

(3 + 4i) + (2 + 5i)

= (3 + 2) + (4 + 5)i

= 5 + 9i

Add the real parts and imaginary parts separately.

2. Complex Number Subtraction

The subtraction formula is:

z₁ − z₂ = (a − c) + (b − d)i

Example:

(7 + 6i) − (3 + 2i)

= (7 − 3) + (6 − 2)i

= 4 + 4i

3. Complex Number Multiplication

The multiplication formula is:

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

This formula follows from expanding the brackets and using i² = −1.

Example:

(3 + 4i)(1 − 2i)

= 3 − 6i + 4i − 8i²

= 3 − 2i + 8

= 11 − 2i

4. Complex Number Division

The division formula is:

(a + bi)/(c + di) = [(ac + bd) + (bc − ad)i]/(c² + d²)

The denominator must be non-zero.

Example:

(4 + 2i)/(1 + i)

Multiply the numerator and denominator by the conjugate of the denominator:

= [(4 + 2i)(1 − i)]/[(1 + i)(1 − i)]

= (6 − 2i)/2

= 3 − i

Complex Number Modulus

The modulus represents the distance of a complex number from the origin in the complex plane.

For z = a + bi:

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

Example:

z = 3 + 4i

|z| = √(3² + 4²)

= √25

|z| = 5

The modulus is always non-negative.

Complex Conjugate

The complex conjugate is obtained by changing the sign of the imaginary part.

For:

z = a + bi

The conjugate is:

z̄ = a − bi

Example:

z = 5 + 3i

z̄ = 5 − 3i

An important property is:

z × z̄ = a² + b² = |z|²

Complex conjugates are useful in complex number division and mathematical simplification.

Complex Number Polar Form

A complex number can be represented using its modulus and argument.

The polar form is:

z = r(cos θ + i sin θ)

Where:

  • r = Modulus of the complex number
  • θ = Argument or angle
  • r = √(a² + b²)
  • θ = atan2(b, a)

Example:

z = 3 + 4i

Modulus:

r = 5

Argument:

θ ≈ 53.13°

Therefore:

z = 5(cos 53.13° + i sin 53.13°)

The angle must be interpreted using the correct quadrant. The argument of zero is undefined.

Rectangular Form vs Polar Form

Rectangular Form Polar Form
z = a + bi z = r(cos θ + i sin θ)
Uses real and imaginary components Uses magnitude and angle
Convenient for addition and subtraction Convenient for multiplication and division
Represents coordinates in the complex plane Represents modulus and direction

Important Properties of Complex Numbers

Addition Is Commutative

z₁ + z₂ = z₂ + z₁

Multiplication Is Commutative

z₁z₂ = z₂z₁

Addition Is Associative

(z₁ + z₂) + z₃ = z₁ + (z₂ + z₃)

Multiplication Is Associative

(z₁z₂)z₃ = z₁(z₂z₃)

Conjugate of a Sum

conj(z₁ + z₂) = conj(z₁) + conj(z₂)

Modulus of a Product

|z₁z₂| = |z₁||z₂|

Modulus of a Quotient

|z₁/z₂| = |z₁|/|z₂|, provided z₂ ≠ 0.

Applications of Complex Numbers in Engineering

Electrical Engineering

Complex numbers are widely used in alternating-current circuit analysis to represent voltage, current, impedance, and phase relationships.

Structural Dynamics

Complex numbers are used in harmonic response analysis, frequency-domain methods, and the mathematical representation of oscillatory motion.

Mechanical Engineering

Complex representations simplify certain vibration and dynamic system calculations.

Control Systems

Complex poles and eigenvalues are important in analysing the stability and dynamic response of control systems.

Signal Processing

Complex numbers are fundamental to Fourier transforms, frequency-domain analysis, and digital signal processing.

Engineering Mathematics

Complex numbers are used in polynomial equations, differential equations, matrix eigenvalue problems, and numerical methods.

Frequently Asked Questions (FAQs)

1. What is a complex number?

A complex number is a number written as a + bi, where a and b are real numbers and i² = −1.

2. How do you add complex numbers?

Add the real parts together and the imaginary parts together.

For example:

(2 + 3i) + (4 + 5i) = 6 + 8i

3. How do you multiply complex numbers?

Expand the expressions algebraically and replace i² with −1.

The formula is:

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

4. How do you divide complex numbers?

Multiply the numerator and denominator by the complex conjugate of the denominator, then simplify.

5. What is the modulus of a complex number?

The modulus is the distance from the origin in the complex plane.

For z = a + bi:

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

6. What is a complex conjugate?

The conjugate of a + bi is a − bi. It is obtained by reversing the sign of the imaginary part.

7. What is the polar form of a complex number?

The polar form is:

z = r(cos θ + i sin θ)

where r is the modulus and θ is the argument.

8. Can a complex number have a negative imaginary part?

Yes. For example, 5 − 3i is a valid complex number.

9. What is the value of i²?

The imaginary unit satisfies:

i² = −1

10. Why are complex numbers important in engineering?

Complex numbers simplify mathematical representations of oscillations, electrical circuits, frequency-domain responses, and dynamic systems.

Calculate Complex Numbers Online with SOCE

Use the SOCE Complex Number Calculator as a resource for studying complex number operations and checking mathematical calculations.

Understanding complex numbers helps build a strong foundation in algebra, engineering mathematics, structural dynamics, electrical engineering, and numerical methods.

Explore more free mathematics and engineering calculators in the SOCE Advanced Mathematics Tools collection.