Complex Number Calculator
a + bi, r cis θ and re^(iθ): arithmetic, conversions, De Moivre powers and all nth roots.
Try before you buy.
- Free preview: a watermarked Argand diagram and the names of each table’s first rows (up to 3), with the answer, its working and every figure hidden.
- Locked until you unlock it: download and copy.
- Unlock: Pro pass, ₹179 for 30 days, a one-time payment that never renews.
Ways to unlock shows how to get the full result.
Printing this result is locked in the free preview.
Result
This is the last answer worked out. Fix the input above to update it.
Step by step
Locked in the free preview. Opens the ways to unlock this result.
Locked in the free preview. Batch runs unlock with a pass.
Locked in the free preview. Query results unlock with a pass.
About the Complex Number Calculator
Add, subtract, multiply and divide complex numbers written in any form — rectangular a + bi, polar r∠θ (or r cis θ) and exponential re^(iθ) — and see each answer in all three forms with its modulus, argument and conjugate. Every operation is worked step by step: multiplying out with i² = −1, dividing by the conjugate, and the same result by the polar route as a check.
Two more modes raise a number to any whole power with De Moivre’s theorem and find all n-th roots, laid out on an Argand diagram. Answers stay exact wherever the numbers allow — 1 + i, i√3, √2/2, π/4, the cube roots of 8 — and are given to the decimal places you choose otherwise. Everything is worked out in your browser.
How to use it
- Choose Arithmetic, Forms of z, Power zⁿ or Roots ⁿ√z.
- Type the numbers in any form:
3 + 4i,3 + 4j,5∠53.13°,2 cis 45°,5e^(iπ/4), or an expression such as(1 + i)^2,√(−9)orconj(2 − i). An angle without ° is read in degrees unless you choose radians under Angles, answer form and decimals. - For powers and roots, type n. Choose how the answer is shown (a + bi, r∠θ or re^(iθ)) and how many decimal places approximate values get.
- Read the answer, the other forms, the Argand diagram and the steps. With a pass, or after unlocking this result, copy the whole working or download it as a text file.
Examples
(3 + 4i) × (1 − 2i)
11 − 2i
3 − 6i + 4i − 8i² = 3 − 2i + 8.
(3 + 4i) ÷ (1 − 2i)
−1 + 2i
Multiply top and bottom by 1 + 2i: (−5 + 10i)/5.
3 + 4i
5∠53.1301° = 5e^(0.9273i)
r = √(3² + 4²) = 5 and θ = arctan(4/3).
2∠30° × 3∠60°
6∠90° = 6i
Multiply the moduli, add the arguments.
(1 + i)⁸
16
(√2)⁸ = 16 and 8 × 45° = 360°, which is 0°.
∛8
2, −1 + i√3, −1 − i√3
Three roots 120° apart on a circle of radius 2.
Common uses
- Checking complex number homework in algebra, trigonometry and further mathematics.
- Converting phasors between rectangular and polar form for AC circuit work.
- Finding all roots of a complex number, such as the n-th roots of unity, with a picture of where they lie.
- Seeing why multiplying complex numbers rotates and scales them on the Argand diagram.
The three forms and how to convert
A complex number z = a + bi is the point (a, b) on the Argand diagram. Its modulus r = |z| = √(a² + b²) is the distance from 0, and its argument θ is the angle from the positive real axis. This calculator gives the principal argument, −180° < θ ≤ 180° (−π < θ ≤ π), the single-valued choice described in NIST’s Digital Library of Mathematical Functions, §1.9. Because arctan only returns angles between −90° and 90°, the quadrant decides: θ = arctan(b/a) when a > 0, θ = π − arctan|b/a| in the second quadrant and θ = −π + arctan|b/a| in the third.
Then z = r(cos θ + i sin θ) = r∠θ, and by Euler’s formula e^(iθ) = cos θ + i sin θ the same number is re^(iθ). Going back, a = r cos θ and b = r sin θ.
Multiplying, dividing and De Moivre’s theorem
In rectangular form, multiply out and use i² = −1: (a + bi)(c + di) = (ac − bd) + (ad + bc)i. To divide, multiply the top and bottom by the conjugate of the bottom, which turns it into the real number c² + d². In polar form both are simpler: multiply the moduli and add the arguments, or divide the moduli and subtract the arguments.
Repeating the multiplication gives De Moivre’s theorem (DLMF 1.9.22): (cos θ + i sin θ)ⁿ = cos nθ + i sin nθ for every whole number n, so zⁿ = rⁿ(cos nθ + i sin nθ). The angle nθ is then brought back into −180° < nθ ≤ 180°.
All n-th roots
Every non-zero complex number has exactly n different n-th roots: w_k = r^(1/n) ∠ (θ + 360°·k)/n for k = 0, 1, …, n − 1. They lie on a circle of radius r^(1/n), spaced 360°/n apart, so for n ≥ 3 they are the corners of a regular polygon, and they always add up to 0. The principal root is w₀, the one a calculator’s z^(1/n) gives.
Limitations
- Exact answers use fractions, square roots and π. Values that need nested radicals or other numbers (sin 72° = √(10 + 2√5)/4, e, ln 2) are given as decimals, to up to 10 decimal places.
- Powers are whole numbers from −1,000 to 1,000 and roots from the 2nd to the 64th. Powers above 64 are worked with De Moivre’s theorem in floating point, about 15 significant digits, and a power whose modulus is above about 10³⁰⁸ (or closer to 0 than about 10⁻³²³) cannot be shown.
- sqrt, ln, z^w for a non-whole w and arg give principal values, with −π < arg z ≤ π.
- A polar angle such as 10∠45°/2 is read as 10∠(45°/2); write (10∠45°)/2 to divide the number.
Privacy
Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.
Frequently asked questions
What do I get without a pass?
Without a pass, Complex Number Calculator shows a watermarked Argand diagram and the names of each table’s first rows (up to 3), with the answer, its working and every figure hidden. Until you unlock it, the result can’t be downloaded or copied. A Pro, Premium or Ultimate pass, a one-time payment that never renews, unlocks the full result. The pricing page lists the passes and their prices.
How do you convert a + bi to polar form?
Find the modulus r = √(a² + b²) and the argument θ, taking the quadrant into account, then write r∠θ or re^(iθ). For 3 + 4i, r = √(9 + 16) = 5 and θ = arctan(4/3) ≈ 53.13°, so 3 + 4i = 5∠53.13° ≈ 5e^(0.9273i).
How do you divide complex numbers?
Multiply the top and the bottom by the conjugate of the bottom. For (3 + 4i) ÷ (1 − 2i), multiply both by 1 + 2i: the top becomes 3 + 6i + 4i + 8i² = −5 + 10i and the bottom 1² + 2² = 5, so the answer is −1 + 2i.
What is the principal argument?
The argument of z that lies in −π < θ ≤ π (−180° < θ ≤ 180°). Every complex number except 0 has infinitely many arguments, differing by whole turns; the principal one picks a single value, so −1 has argument π and −i has argument −π/2.
How many cube roots does a complex number have?
Three, for any number except 0: they have the same modulus and are 120° apart. The cube roots of 8 are 2, −1 + i√3 and −1 − i√3, at 0°, 120° and 240°.
Can I type j instead of i?
Yes. Engineers write j for the imaginary unit, so 3 + 4j and 3 + 4i are the same number here. Angles can be typed as 5∠53.13° (with ∠ or @), 5 cis 53.13° or 5e^(i·0.9273).