Calculators.Life Calculator
Math

Complex Number Calculator

Input Parameters

Scenarios
Complex arithmetic expression or number

Computed Results

Result
1
Complex Form (a + bi)1.0000
Magnitude |z|1
Phase / Argument θ0

The complex number calculator evaluates mathematical expressions involving real and imaginary components. It performs basic arithmetic, exponentiation, and trigonometric operations on complex numbers, providing the result in standard form alongside its magnitude and phase angle.

How to Use the Complex Number Calculator

This tool processes complex arithmetic expressions and returns the evaluated result. Follow these steps to calculate your expression:

  1. Enter the Expression: Input your complex number or mathematical expression (e.g., (1+2i)*(3+4i) or sin(i)) into the Expression field.
  2. Set Decimal Places: Choose the level of precision for your results by selecting between 0 and 16 decimal places.
  3. Select Angle Mode: Choose how you want the phase angle displayed: Radians (RAD), Degrees (DEG), or Gradians (GRD).

Formula & Calculation Method

A complex number is typically written in the standard form

z = a + bi
where a is the real part, b is the imaginary part, and i is the imaginary unit defined by
i² = −1
.

The calculator evaluates the expression using standard complex arithmetic rules. For example, multiplication follows the distributive property:

(a + bi) × (c + di) = (ac − bd) + (ad + bc)i

In addition to the standard form, the calculator determines the magnitude (or absolute value) and the phase (or argument) of the resulting complex number.

Inputs & Outputs

FieldTypeDescription
ExpressionInputThe complex arithmetic expression or number to evaluate.
Decimal placesInputThe number of decimal places (0–16) to display in the results.
Angle ModeInputThe unit of measurement for the phase angle (RAD, DEG, or GRD).
ResultOutputThe real component of the evaluated expression.
Complex Form (a + bi)OutputThe full evaluated result in standard complex number format.
Magnitude |z|OutputThe distance of the complex number from the origin on the complex plane.
Phase / Argument θOutputThe angle of the complex number relative to the positive real axis.

Verified Scenario Walkthroughs

Here are examples of how the calculator evaluates different complex expressions based on specific inputs.

Basic complex multiplication in degrees

If you evaluate the expression (1+2i)*(3+4i), set to 2 decimal places with the angle mode in Degrees (DEG), the calculator processes the multiplication. The resulting complex form is -5.00 + 10.00i. The magnitude is 11.18, and the phase angle is 116.57 degrees.

High precision trigonometric function calculation

Evaluating the trigonometric function sin(i) with 12 decimal places and the angle mode in Radians (RAD) yields a complex form of 0.000000000000 + 1.175201193644i. The magnitude is 1.175201193644, and the phase is 1.570796326795 radians.

Complex division with gradient angle mode

For the division expression (1+2i)/(3+4i), calculated to 6 decimal places using Gradians (GRD), the result is 0.440000 + 0.080000i. The magnitude is 0.447214, and the phase is 11.449829 gradians.

Simple imaginary power with zero decimals

If you calculate i^3 with 0 decimal places in Radians (RAD), the complex form simplifies to 0 - 1i. The magnitude is 1, and the phase is -2 radians.

Practical Use Cases

Complex numbers are fundamental in various fields of mathematics, physics, and engineering. This calculator is useful for:

Frequently Asked Questions

What is the difference between magnitude and phase?

Magnitude represents the distance of the complex number from the origin on the complex plane, calculated using the Pythagorean theorem. Phase (or argument) is the angle the number makes with the positive real axis.

How does the calculator handle division by zero?

If a complex division operation results in a denominator of zero, the calculator will return Infinity for both the real and imaginary components.

Can I calculate trigonometric functions of complex numbers?

Yes, the calculator supports trigonometric functions like sine and cosine applied to complex numbers, evaluating them using hyperbolic functions.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.