Complex Number Operations Explained: Add, Subtract, Multiply, Divide
ByMuhammad Ali•Founder of KruskalCode
16:31
7 min read

Complex numbers might sound intimidating, but performing basic arithmetic operations with them is straightforward once you understand the rules. They are fundamental in various scientific and engineering fields, offering solutions to problems that real numbers alone cannot address. This guide will walk you through how to add, subtract, multiply, and divide complex numbers, making these operations clear and easy to grasp.
Explanation
A complex number is typically written in the form \(a + bi\), where \(a\) is the real part, \(b\) is the imaginary part, and \(i\) is the imaginary unit, defined by \(i^2 = -1\). Understanding how to combine these numbers is essential for advanced mathematics. Let's break down each operation. ### Addition of Complex Numbers Adding complex numbers is as simple as combining their respective real and imaginary parts. Think of it like combining like terms in algebra. ### Subtraction of Complex Numbers Similar to addition, subtraction involves subtracting the real parts from each other and the imaginary parts from each other. ### Multiplication of Complex Numbers Multiplying complex numbers requires a bit more care, as you'll use the distributive property (like multiplying two binomials) and remember that \(i^2 = -1\). This step is crucial for simplifying the expression. ### Division of Complex Numbers Division is the most involved operation. To divide complex numbers, you need to eliminate the imaginary unit from the denominator. You achieve this by multiplying both the numerator and the denominator by the conjugate of the denominator. The conjugate of \(c + di\) is \(c - di\). This process ensures your final answer is in the standard \(a + bi\) form.
Formula
Let two complex numbers be \(z_1 = a + bi\) and \(z_2 = c + di\). **Addition:** \(z_1 + z_2 = (a + c) + (b + d)i\) **Subtraction:** \(z_1 - z_2 = (a - c) + (b - d)i\) **Multiplication:** \(z_1 \cdot z_2 = (ac - bd) + (ad + bc)i\) **Division:** \(\frac{z_1}{z_2} = \frac{a + bi}{c + di} = \frac{(ac + bd) + (bc - ad)i}{c^2 + d^2}\) (provided \(c^2 + d^2 \neq 0\))Example
Let's work through an example using the numbers from our calculator: \(z_1 = 2 + 3i\) and \(z_2 = 1 - 2i\). **Addition:** \(z_1 + z_2 = (2 + 1) + (3 + (-2))i = 3 + 1i = 3 + i\) **Subtraction:** \(z_1 - z_2 = (2 - 1) + (3 - (-2))i = 1 + (3 + 2)i = 1 + 5i\) **Multiplication:** \(z_1 \cdot z_2 = (2)(1) - (3)(-2) + ((2)(-2) + (3)(1))i\) \(= (2 + 6) + (-4 + 3)i = 8 - i\) **Division:** \(\frac{z_1}{z_2} = \frac{2 + 3i}{1 - 2i}\) Multiply by the conjugate of the denominator (\(1 + 2i\)): \(= \frac{(2 + 3i)(1 + 2i)}{(1 - 2i)(1 + 2i)}\) Numerator: \((2)(1) + (2)(2i) + (3i)(1) + (3i)(2i) = 2 + 4i + 3i + 6i^2 = 2 + 7i - 6 = -4 + 7i\) Denominator: \((1)^2 - (2i)^2 = 1 - 4i^2 = 1 - 4(-1) = 1 + 4 = 5\) Result: \(\frac{-4 + 7i}{5} = -\frac{4}{5} + \frac{7}{5}i\)
How to use the related calculator
Using the Complex Number Operations Calculator is straightforward. Simply input the real part of your first complex number into the 'Real Part of z₁ (a)' field and its imaginary part into the 'Imaginary Part of z₁ (b)' field. Do the same for your second complex number, \(z_2\), using the 'Real Part of z₂ (c)' and 'Imaginary Part of z₂ (d)' fields. The calculator will instantly display the results for addition, subtraction, multiplication, and division in the standard \(a + bi\) format. Remember to enter negative values with a minus sign, and the 'i' is handled automatically.
Try the related calculator
Open toolFAQ
What is a complex number?
A complex number is a number that can be expressed in the form 'a + bi', where 'a' and 'b' are real numbers, and 'i' is the imaginary unit, satisfying the equation i² = -1. 'a' is called the real part, and 'b' is called the imaginary part.
Why are complex numbers important?
Complex numbers are crucial in many fields, including electrical engineering (for analyzing alternating current circuits), quantum mechanics, signal processing, and fluid dynamics. They allow us to solve equations that have no real solutions, such as x² + 1 = 0.
How do you add and subtract complex numbers?
To add or subtract complex numbers, you simply add or subtract their corresponding real parts and imaginary parts separately. For example, (a + bi) + (c + di) = (a + c) + (b + d)i, and (a + bi) - (c + di) = (a - c) + (b - d)i.
How do you multiply complex numbers?
To multiply complex numbers (a + bi) and (c + di), you use the distributive property (similar to multiplying binomials) and remember that i² = -1. The formula is (ac - bd) + (ad + bc)i.
How do you divide complex numbers?
Dividing complex numbers involves multiplying the numerator and denominator by the conjugate of the denominator. If you have (a + bi) / (c + di), you multiply both by (c - di) to eliminate 'i' from the denominator. The general formula is [(ac + bd) / (c² + d²)] + [(bc - ad) / (c² + d²)]i.
Related articles

About the author
Muhammad Ali. Muhammad Ali is a full-stack developer and founder of KruskalCode. He builds SaaS platforms and automation systems with React and Laravel, and helps teams ship fast, scalable tools.
Need a custom calculator, dashboard, or automation workflow? Reach out to KruskalCode.