Free · Complex number calculators

Complex Magnitude & Phase to a + bi

Convert a complex number’s nonnegative magnitude and phase to its real and imaginary components.

  • Formula & worked example
  • Private in your browser
  • No signup
Go to tool

Calculator inputs

Loading calculator…

How to use this calculator

  1. Enter the known values in the units shown. Results update as you type.
  2. Where results are editable, change one to solve backwards. Lock a value to hold it fixed.
  3. Use the worked example to check the method. Reset restores the starting fields.

Private by default

Inputs and results stay in this browser tab. Bookify does not upload or store the values you enter.

Formula and method

Magnitude 2 with phase 90° represents 0 + 2i. Magnitude 5 with phase 180° represents −5 + 0i.

a = r cos φ; b = r sin φ; z = a + bi

Worked example

Enter these known values and leave the other values blank.

Nonnegative complex magnitude
2
Complex phase angle
90 deg
Real component a
0
Imaginary coefficient b
2

Assumptions and limitations

  • Magnitude r is nonnegative. Phase is measured counterclockwise from the positive real axis, using the selected degrees or radians.
  • The imaginary field returns the real coefficient b multiplying i. It does not display a second complex number.
  • This is a forward polar-to-rectangular conversion with read-only components. It does not recover a phase from arbitrary component inputs.
  • Zero magnitude gives zero real and imaginary components for every phase. The phase of the zero complex number is not uniquely determined.

Common questions

Does b include the imaginary unit i?

The numeric output is the coefficient b. Write the final number as a + bi, including the sign of b.

Can the real or imaginary component be negative?

Yes. A nonnegative magnitude can have either signed component because cosine and sine vary with phase.

References

Bookify requires a nonnegative complex magnitude while retaining signed phase and components.

Explore complex number calculators or browse all math calculators.