CCalcNest AI

Complex Number Calculator

Add and multiply complex numbers.

Enter values above — results appear instantly as you type.
AI Insight: Complex numbers aren't 'imaginary' in any useless sense — they're the natural language of anything that rotates or oscillates, from AC electricity to quantum mechanics. The i just means 'rotate 90 degrees.'
Notice: This calculator is provided for educational reference. Results depend entirely on the values you enter, and you should verify any figure used for academic, professional, or safety-critical purposes. See our full disclaimer.
Written with AI assistance and checked by automated validation · Last updated: August 2026 · How we build and check this · Methodology
Looking for a different calculator? Try our AI Finder — describe what you need in plain English. Try AI Finder →

Formula

(a+bi)+(c+di); (a+bi)(c+di)

Example

(3+2i)+(1+4i) = 4+6i.

Embed this calculator on your site

Add this free calculator to your own website with one line of code. The embedded version is responsive, ad-free, and includes a small attribution link back to CalcNest AI.

<iframe src="https://calcnestai.com/embed/complex-number-calculator.html" width="100%" height="700" frameborder="0" style="border: 1px solid #e5e5e5; border-radius: 12px; max-width: 720px;" loading="lazy" title="Complex Number Calculator — Free Tool by CalcNest AI"></iframe>

Understanding the Complex Number Calculator

A complex number calculator adds and multiplies two complex numbers and gives their magnitudes. Complex numbers were invented reluctantly to make cubic equations work and turned out to be the natural language for rotation, waves, and quantum mechanics.

How it actually works

Enter the real and imaginary parts of two numbers. The calculator adds componentwise, multiplies using the distributive rule with i squared as minus one, and computes each magnitude by Pythagoras. Three plus 4i and one plus 2i give a sum of 4 plus 6i and a product of minus 5 plus 10i.

Operations and their geometric meaning
OperationGeometrically
AdditionVector addition
MultiplicationRotate and scale
MagnitudeDistance from origin
ConjugateReflection across the real axis

The deeper context most people miss

Multiplication being rotation is the key insight. Multiplying by i rotates a point 90 degrees anticlockwise, so multiplying by i twice rotates 180 degrees, which lands on minus one and is exactly why i squared equals minus one rather than being an arbitrary rule.

Why complex numbers were invented

They did not arise from wanting square roots of negative numbers as an abstract exercise. Sixteenth-century Italian mathematicians working on cubic equations found that Cardano's formula, applied to cubics with three real roots, required taking square roots of negative numbers in intermediate steps even though every input and output was real. The imaginary quantities appeared, cancelled, and left correct real answers, which was intellectually intolerable and undeniably useful. Bombelli worked out the arithmetic rules in 1572 to make the manipulation systematic. For two centuries they remained suspect, with Descartes coining imaginary as a term of dismissal and Euler and others using them productively while remaining uneasy. Legitimacy arrived with the geometric interpretation, developed independently by Wessel, Argand, and Gauss around 1800, which showed complex numbers as points in a plane with addition as translation and multiplication as rotation and scaling. Once they were pictures rather than symbols the mystery dissolved. Hamilton later gave a formal construction as ordered pairs of reals with defined operations, removing any need for a mysterious square root of minus one at all. The fundamental theorem of algebra then justified them completely: every polynomial of degree n has exactly n roots in the complex numbers, so extending from reals to complex closes the number system algebraically and nothing further is needed.

A worked example: why the product rotates

Multiplying 3 plus 4i by 1 plus 2i gives minus 5 plus 10i, and the geometry explains the result better than the algebra does. In polar form, a complex number has a magnitude and an angle, and multiplication multiplies the magnitudes while adding the angles. The first number has magnitude 5 and the second has magnitude root 5, so the product has magnitude 5 root 5, which matches. The angles add. This is the whole content of complex multiplication and it makes several results immediate. De Moivre's theorem, giving powers by multiplying the angle, follows directly. The nth roots of unity are evenly spaced points on the unit circle, since dividing the full turn into n equal angles produces numbers whose nth powers all return to 1, and this is why they form a regular polygon. Euler's formula, e to the iθ equals cosine θ plus i sine θ, connects the exponential to rotation and produces Euler's identity as the case at θ equals π, linking e, i, π, 1, and 0 in one equation. That identity is celebrated partly for elegance and partly because it genuinely encodes that rotating half a turn from 1 lands on minus 1. Once rotation is the mental model, complex arithmetic becomes geometric rather than symbolic.

Deciding where complex numbers earn their place

They are indispensable in several practical fields rather than being a curiosity. Alternating current analysis uses complex impedance, where resistance, capacitance, and inductance combine into a single complex quantity and the phase relationships that make AC circuits difficult become simple arithmetic, which is why electrical engineers use j rather than i to avoid clashing with current. Signal processing rests on the Fourier transform, which decomposes signals into complex exponentials, and the fast Fourier transform is among the most consequential algorithms ever devised, underpinning audio and image compression, spectral analysis, and a great deal of scientific computing. Control theory analyses stability through pole locations in the complex plane. Quantum mechanics uses complex amplitudes fundamentally, with probability given by the squared magnitude, and the complex structure is not a computational convenience but appears to be physically necessary. Fluid dynamics uses complex potentials for two-dimensional flow. Fractals including the Mandelbrot set are defined by iteration in the complex plane. In each case, the appeal is that complex numbers package a magnitude and a phase into a single object that multiplies correctly, which real numbers cannot do, and that pairs of real equations collapse into one complex equation.

The fundamental theorem and what complex numbers close

Extending the number system happens repeatedly in mathematics, each time to solve equations the previous system could not. Naturals do not allow subtraction generally, so integers extend them. Integers do not allow division, so rationals extend them. Rationals do not contain solutions to x squared equals 2, so reals extend them. Reals do not contain solutions to x squared equals minus 1, so complex numbers extend them. The remarkable point is that the process stops there for polynomial equations: the fundamental theorem of algebra states that every non-constant polynomial with complex coefficients has a complex root, and therefore exactly as many roots as its degree counting multiplicity. Gauss gave proofs from 1799 onward and every known proof uses analysis or topology rather than algebra alone, which is itself notable. The consequence is that complex numbers are algebraically closed, so no further extension is needed for polynomial root-finding, and this is why they are the natural setting for algebra rather than a special case. Extensions beyond complex numbers exist and lose properties: quaternions abandon commutative multiplication and are used for three-dimensional rotation in graphics and robotics precisely because they handle rotation without the gimbal lock that Euler angles suffer, and octonions abandon associativity as well.

Variations: polar form, conjugates, and computation

Cartesian form gives real and imaginary parts and suits addition. Polar form gives magnitude and angle and suits multiplication, division, and powers. Exponential form using Euler's formula is polar form written compactly and is standard in engineering. Conversion between them uses trigonometry, and the two-argument arctangent is required to get the angle's quadrant right, which is a recurring source of bugs. The conjugate flips the sign of the imaginary part, and multiplying a number by its conjugate gives the squared magnitude as a real number, which is how division is performed by rationalising the denominator. Roots of complex numbers are multivalued, with n distinct nth roots arranged symmetrically, which is why the principal value convention exists and why care is needed with fractional powers. In computation, most languages provide complex types either natively or through libraries, and the main practical concerns are the branch cuts of logarithm and power functions and the handling of signed zero, which affects which side of a branch cut a computation lands on and is specified in IEEE 754 for exactly that reason.

Working with complex numbers

Think of multiplication as rotating and scaling, which makes i squared equalling minus one intuitive rather than arbitrary, since two 90 degree rotations reach 180 degrees. Use Cartesian form for addition and polar or exponential form for multiplication, division, and powers, converting between them as convenient. Use the two-argument arctangent when converting to polar form, since the single-argument version loses the quadrant. Divide by multiplying numerator and denominator by the conjugate, which makes the denominator real. Expect n distinct nth roots arranged evenly around a circle, rather than a single root. Note that engineers write j rather than i to avoid clashing with current, so both notations appear depending on field. Consider quaternions rather than Euler angles for three-dimensional rotation, since they avoid gimbal lock. Watch branch cuts when using logarithm and power functions on complex arguments. And recognise that pairs of real equations frequently collapse into one complex equation, which is much of why they are used.

What people get wrong

  • Treating i squared equalling minus one as an arbitrary rule, when it follows from multiplication being rotation and two quarter turns reaching a half turn.
  • Using single-argument arctangent to find a complex number's angle, which loses the quadrant where the two-argument version resolves it correctly.
  • Expecting a single nth root of a complex number, when there are exactly n distinct roots arranged evenly around a circle in the complex plane.
  • Assuming complex numbers are a computational convenience in quantum mechanics, when the complex structure appears to be physically necessary rather than a bookkeeping device.

Where the math comes from

Addition adds real and imaginary parts separately. Multiplication expands (a+bi)(c+di) to (ac−bd) + (ad+bc)i, using i² = −1. Magnitude is √(a²+b²). In polar form, multiplication multiplies magnitudes and adds angles, which is the geometric content of the operation and makes powers and roots straightforward through De Moivre's theorem.

Questions and answers

What is the difference between percent and percentage point?

Percent change is relative (going from 5% to 10% is a 100% increase). Percentage point change is absolute (the same shift is a 5 percentage point increase). News stories often confuse these.

How do I calculate a discount?

Discount amount = original x discount %. Final price = original x (1 - discount %). For 20% off $100: discount $20, final $80.

What is the formula for compound percentage?

Final = original x (1 + r1) x (1 + r2) x ... where each r is a percentage as decimal. A 10% raise then 10% cut: 1.10 x 0.90 = 0.99 = 99% of original.

How do I reverse a percentage?

If $80 is 80% of original: original = $80 / 0.80 = $100. To reverse 'X% off' to find original: original = final / (1 - X/100).

How do percentages work in tax?

Marginal tax rate applies to income within a bracket. Effective rate is total tax / total income. They diverge because of progressive brackets.

Why does i squared equal minus one?

Because multiplying by i rotates a point 90 degrees in the complex plane, so multiplying by i twice rotates 180 degrees, which takes 1 to minus 1. It follows from the geometry rather than being an arbitrary definition.

Why were complex numbers invented?

To make Cardano's cubic formula work. Applied to cubics with three real roots, it required square roots of negative numbers in intermediate steps even though inputs and outputs were real, and Bombelli worked out the arithmetic in 1572 to systematise it.

What does multiplying complex numbers do geometrically?

Multiplies the magnitudes and adds the angles. That single fact explains De Moivre's theorem, the roots of unity forming regular polygons, and Euler's formula, and it makes complex arithmetic geometric rather than symbolic.

Why do engineers write j instead of i?

To avoid clashing with i for electric current, which appears constantly in the circuit analysis where complex numbers are used most heavily. Both notations mean the same thing, and which appears depends on the field.

How many nth roots does a complex number have?

Exactly n, arranged evenly around a circle in the complex plane. This is why fractional powers of complex numbers are multivalued and why a principal value convention is needed to make functions single-valued.

What is the fundamental theorem of algebra?

That every non-constant polynomial with complex coefficients has a complex root, so a degree n polynomial has exactly n roots counting multiplicity. It means complex numbers are algebraically closed and no further extension is needed for polynomial equations.

Where are complex numbers actually used?

AC circuit analysis through complex impedance, signal processing through the Fourier transform, control theory through pole locations, quantum mechanics through complex amplitudes, and fluid dynamics through complex potentials. In each, they package magnitude and phase into one object.

Related calculators

Trigonometry · Normal Distribution · Roman Numeral Converter · Weighted Average · Scientific Notation