Complex Number Calculator

What is (a + bi) times or divided by (c + di)?

Perform arithmetic on two complex numbers in rectangular form. Enter the real and imaginary parts of each number, choose your operation, and get the result in both rectangular and polar form — including magnitude and argument.

Updated July 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Picture a standard coordinate grid. Every point on that grid has an x-coordinate (horizontal) and a y-coordinate (vertical). A complex number a + bi is simply a label for the point at position (a, b) on this grid — called the complex plane. The real part a moves you left or right, and the imaginary part b moves you up or down. Nothing more exotic than that. The unusual part is what happens when you multiply two of these points together.

Adding and subtracting complex numbers works exactly like vector addition: combine the real parts, combine the imaginary parts, done. Multiplication is where the structure of complex numbers reveals itself. The rule i² = -1 means that squaring the imaginary unit flips you from the vertical axis to the negative real axis — a 90-degree rotation. Multiplying two complex numbers in general rotates one by the angle of the other and scales it by the other's distance from the origin. This rotation-and-scaling interpretation is why complex numbers show up in every field where cycles, oscillations, or rotations appear.

Division by a complex number uses a technique called multiplying by the conjugate. The conjugate of c + di is c - di. Multiplying the denominator by its own conjugate eliminates the imaginary part from the denominator: (c + di)(c - di) = c² + d², a plain real number. The numerator gets the same conjugate treatment, and the result splits cleanly into a real and imaginary component. This is the only legal path to dividing complex numbers in rectangular form without going through polar form first.

When To Use This
Right tool, right situation

Use this tool any time you need to combine two complex numbers in a single arithmetic step — checking homework, verifying a step in an AC circuit analysis, confirming a transfer function computation, or working through a signal processing problem. It is appropriate for any level from precalculus through graduate engineering as long as the numbers are in rectangular form.

This tool is not appropriate when you need to raise a complex number to a power, find roots of complex numbers, or compute functions like the complex exponential or complex logarithm. For repeated multiplication, polar form is more efficient — multiply magnitudes and add angles instead of applying FOIL multiple times. For roots, De Moivre's theorem gives a direct formula that this rectangular calculator does not implement.

The tool also does not handle symbolic inputs. Every entry must be a decimal number. If your problem involves variables or exact fractions, work through the algebra by hand and enter the final decimal values, or use a computer algebra system for exact symbolic answers.

Common Mistakes
Why results sometimes look wrong

Forgetting that i² = -1, not +1. The most common algebra error in complex multiplication is treating i² as positive one, which flips the sign of the real part of the result. If your multiplication result has a real part that seems too large or has the wrong sign, check whether you correctly subtracted bd from ac rather than adding it.

Entering the imaginary coefficient without the i. The input fields ask for the coefficient of i — the number that multiplies i. For 5 + 3i, enter 3 in the imaginary field, not 3i or the full expression. Entering a text string like '3i' into a number field will be read as not-a-number and the tool will reject it.

Expecting division to always produce a clean result. Division of two complex numbers with integer components almost never produces integer components in the output. The denominator c² + d² is shared by both the real and imaginary parts of the result, and only cancels cleanly in special cases. If your division result shows decimals, that is correct — do not round prematurely before using the result in further calculations.

The Math
Worked examples and deeper derivation

Every operation follows from two rules: the distributive property of algebra, and the identity i² = -1. Addition is direct: real parts add to real parts, imaginary parts add to imaginary parts. (a + bi) + (c + di) = (a + c) + (b + d)i. Subtraction is the same structure with minus signs: (a - c) + (b - d)i.

Multiplication expands like any binomial product. (a + bi)(c + di) = ac + adi + bci + bdi². Substituting i² = -1 turns the last term into -bd, giving real part (ac - bd) and imaginary part (ad + bc). For the example 2 + 3i multiplied by 1 + 4i: real = (2)(1) - (3)(4), imaginary = (2)(4) + (3)(1), yielding 4 + 6i when those inputs are used.

Division introduces the conjugate. To compute (a + bi)/(c + di), multiply top and bottom by (c - di). The denominator becomes 7.211103 squared — no, more precisely, c² + d², a real denominator. The numerator becomes (ac + bd) + (bc - ad)i. Divide each component by the same denominator to get the final rectangular result. Magnitude uses the Pythagorean theorem: |z| = √(a² + b²), treating the complex number as a point in the plane. Argument uses θ = atan2(b, a) to return the correct angle across all four quadrants, measured in degrees.

Adding two complex numbers: (3 + 4i) + (1 + 2i)
First number: 3 + 4i, Second number: 1 + 2i, Operation: Addition
Addition combines real parts and imaginary parts separately: (3 + 1) + (4 + 2)i. The result in rectangular form is 4 + 6i. Its magnitude is 7.211103 and its argument is 56.3099°, giving polar form 7.211103∠56.3099°.
Multiplying complex numbers: (2 + 3i) × (1 + 4i)
First number: 2 + 3i, Second number: 1 + 4i, Operation: Multiplication
Multiplication uses the FOIL method and replaces i² with -1: real part = (2)(1) - (3)(4), imaginary part = (2)(4) + (3)(1). The result is -10 + 11i. In polar form: 14.866069∠132.2737°. Notice how the negative real part places the result in the second quadrant, reflected in the argument 132.2737°.
Dividing complex numbers: (4 + 2i) ÷ (2 + 1i)
First number: 4 + 2i, Second number: 2 + 1i, Operation: Division
Division multiplies numerator and denominator by the conjugate of the denominator. The denominator becomes c² + d² = (2)² + (1)² = 5. Real part: (ac + bd)/5, imaginary part: (bc - ad)/5. The result is 2, a purely real number with magnitude 2 and argument 0°.
Expert Unlock
The thing most explanations skip

The rectangular form formulas assume exact arithmetic, but floating-point computation introduces rounding at roughly 15- 16 significant digits. When subtracting two nearly equal complex numbers, catastrophic cancellation can make the result far less accurate than the inputs suggest — a known limitation of any floating-point implementation. For high-precision work, verify that your inputs differ sufficiently that cancellation is not an issue.

Division in rectangular form is also numerically less stable than the equivalent polar calculation (divide magnitudes, subtract angles) when the denominator has very small magnitude. If c² + d² is close to the machine epsilon, the result components may be wildly inflated. In production code, this case is typically handled by scaling the denominator before dividing.

Got your result — what does it actually mean?

What is the imaginary part and why does it use the letter i?

The imaginary unit i is defined as the square root of -1. No real number satisfies x² = -1, so mathematicians introduced i as a new kind of number that does. The letter i stands for imaginary, a historical name that stuck even though complex numbers are thoroughly real in their applications. In engineering, j is often used instead of i to avoid confusion with electrical current, but the math is identical.

The imaginary part of a complex number is the coefficient multiplying i. For 3 + 4i, the imaginary part is 4 — not 4i. This distinction matters when you enter values into the calculator: you enter the coefficient, and the tool appends the i symbol in the result.

Why does complex number multiplication produce a negative real part sometimes?

The rule i² = -1 is what drives this. When you multiply (a + bi)(c + di) and expand the product, one of the terms is bi · di = bd · i² = -bd. That negative term subtracts from the real part of the result, which can push the real component negative even when all four inputs are positive. Geometrically, multiplication rotates a complex number in the plane, and rotation can land you in any quadrant regardless of where you started.

This is also why complex multiplication appears in wave physics and signal processing: multiplying by a complex number of unit magnitude is exactly a rotation, which models phase shifts in oscillating systems.

What does the polar form result mean and when would I use it?

Polar form expresses a complex number as a magnitude (distance from the origin) and an angle (direction from the positive real axis). The notation r∠θ means: the result sits at distance r from zero, at angle θ degrees counterclockwise from the real axis. It is an alternative to rectangular form — both describe the same point in the complex plane, just using different coordinate systems.

Polar form makes multiplication and division far simpler: to multiply two complex numbers in polar form, multiply their magnitudes and add their angles. To divide, divide the magnitudes and subtract the angles. Engineers working with AC circuits, control systems, and Fourier analysis routinely prefer polar form because it turns convolution into simple arithmetic on magnitude and phase.

Need something this doesn't cover?

Suggest a tool — we'll build it →