Try an Example
Pick a scenario to see how the calculator works, then adjust the values
Signal Addition
Add two phasor signals in complex form to find the resultant.
Key values: z₁ = 3 + 4i · z₂ = 1 − 2i · Addition
Circuit Impedance
Divide two impedances to compute the transfer ratio.
Key values: z₁ = 3 + 4i · z₂ = 1 + 2i · Division
De Moivre Power
Raise a complex number to the 10th power using De Moivre's theorem.
Key values: z₁ = 1 + i · n = 10 · Power
Cube Roots of −8
Find all three cube roots of −8, visualized as equidistant points on a circle.
Key values: z₁ = −8 + 0i · n = 3 · nth Root
How we ensure accuracy
- Formulas sourced from
- National Institute of Standards and TechnologyNational Institute of Standards and TechnologyLibreTexts MathematicsLibreTexts Mathematics+4 more
- Research validated by
- 4 independent research systems— multi-source consensus methodology
- Last reviewed
- March 2025(formula v1.0)
- Methodology
- Full process details
Verified against NIST Mathematical Standards
About This Calculator
Complex numbers extend the real number line into a two-dimensional plane, allowing every polynomial equation to have roots. A complex number has the form where is the real part, is the imaginary part, and satisfies .
This calculator supports nine operations: addition, subtraction, multiplication, division, modulus, argument, conjugate, integer powers (De Moivre's theorem), and nth roots. Results are displayed in both rectangular and polar form.
How to Use
- Select an operation from the radio cards: Add, Subtract, Multiply, Divide, Modulus, Argument, Conjugate, Power, or nth Root.
- Enter z₁ by filling in the real part (a) and imaginary part (b).
- Enter z₂ (for binary operations only) by filling in c and d.
- For Power, enter the integer exponent n. For nth Root, enter the root degree n (must be at least 2).
- Click Calculate to see the result in rectangular and polar form, along with the modulus and argument.
Formulas
Representations
A complex number can be expressed in rectangular, polar, or exponential form:
where and .
Addition and Subtraction
Multiplication
In polar form: multiply moduli and add arguments.
Division
In polar form: divide moduli and subtract arguments.
Modulus
Argument
Important: Use , not , because correctly identifies all four quadrants.
Conjugate
Key identity: .
Powers (De Moivre's Theorem)
Valid for all integers n (positive, negative, and zero). For the polar form advantage, trigonometric identity derivation, and applications, see the De Moivre Calculator guide.
nth Roots
for . This produces exactly distinct roots, equally spaced around a circle of radius . For the geometric arrangement, roots of unity, and worked examples, see the nth Root Calculator guide.
Worked Examples
Example 1: Adding Phasor Signals
Two signals have phasor representations and . Find the resultant phasor.
Modulus: . Argument: .
Example 2: Dividing Complex Numbers
Compute .
Example 3: Power via De Moivre
Compute .
In polar form: , .
Since , the result is .
Example 4: Cube Roots of −8
Find all cube roots of .
Polar form: , . Cube root of modulus: .
These three roots are equally spaced at 120° intervals on a circle of radius 2.
Example 5: AC Circuit Impedance
An RLC series circuit has impedance . Find the magnitude and phase angle.
The impedance magnitude is approximately 107.7 Ω with a phase angle of 21.8°.
Tips and Common Mistakes
- Use atan2, not atan: correctly identifies the quadrant for the argument. Plain is ambiguous for quadrants II and III.
- Radians vs. degrees: The argument is computed in radians by default. Multiply by to convert to degrees.
- Division requires the conjugate: When dividing, multiply both numerator and denominator by the conjugate of the denominator to rationalize it.
- All n roots exist: When computing nth roots, there are always exactly distinct values. Do not stop at the principal root.
- arg(0) is undefined: The argument of has no defined value because there is no direction from the origin to itself.
- Precision matters: Floating-point arithmetic can introduce small rounding errors. Results like are effectively zero.
- Engineering convention: Electrical engineers use instead of because represents electric current.
Glossary
- Complex Number
- A number of the form with real part and imaginary part .
- Real Part
- The component in . Denoted .
- Imaginary Part
- The component in . Denoted .
- Modulus (Absolute Value)
- The distance from the origin: . Always non-negative.
- Argument (Phase Angle)
- The angle from the positive real axis to the point .
- Polar Form
- Expressing as or .
- Rectangular (Cartesian) Form
- Expressing as .
- Argand Diagram
- A graphical representation of complex numbers on a 2D plane with real and imaginary axes.
- De Moivre's Theorem
- The formula for integer powers of complex numbers.
- nth Root
- One of distinct values satisfying .
- Conjugate
- The number , obtained by flipping the sign of the imaginary part.
Frequently Asked Questions
What is a complex number?
A complex number has the form , where and are real numbers and . Complex numbers extend the real number system and are essential in engineering, physics, and mathematics.
Why do engineers use j instead of i?
In electrical engineering, already represents electric current. To avoid confusion, engineers use for the imaginary unit. Mathematically, — they are the same concept.
What is the difference between modulus and argument?
The modulus is the distance from the origin (how far from zero). The argument is the angle from the positive real axis (which direction from the origin). Together they define the polar form.
Why does the nth root of a complex number have n values?
The Fundamental Theorem of Algebra guarantees that the equation has exactly solutions in the complex numbers. These roots are equally spaced around a circle on the Argand diagram, separated by angles of .
What is Euler's formula?
Euler's formula states . The special case gives Euler's identity: , connecting five fundamental constants.
Can I compute negative powers?
Yes. For any nonzero , . De Moivre's theorem handles negative exponents naturally: . The only restriction is , which is undefined.
References
- NIST Digital Library of Mathematical Functions: Complex Variables — National Institute of Standards and Technology (2024)
- NIST DLMF: Euler's Formula and Exponential Function — National Institute of Standards and Technology (2024)
- Mathematics LibreTexts: The Polar Form of Complex Numbers — LibreTexts Mathematics (2023)
- Mathematics LibreTexts: De Moivre's Theorem and Powers of Complex Numbers — LibreTexts Mathematics (2023)
- Wikipedia: Euler's Formula — Wikipedia / Community peer review (2024)
- Wikipedia: De Moivre's Formula — Wikipedia / Community peer review (2024)
- Wikipedia: Complex Number — Wikipedia / Community peer review (2024)
- Wikipedia: Fundamental Theorem of Algebra — Wikipedia / Community peer review (2024)
Disclaimer
This calculator is provided for educational and reference purposes. While we strive for accuracy, floating-point arithmetic inherently introduces small rounding errors. Results should not be used as the sole basis for engineering decisions in safety-critical applications. Always verify critical calculations independently.
The formulas implemented follow standard complex analysis conventions as documented by NIST, Wolfram MathWorld, and standard university-level textbooks. The principal argument convention used is .
Specialized Calculators
Choose from 11 specialized versions of this calculator, each optimized for specific use cases and calculation methods.
Operation
11 CalculatorsRelated Calculators
6 CalculatorsMore Math calculators