Free Complex Number to Trigonometric Form Calculator

z = r × [cos(φ) + i × sin(φ)] r = √(a² + b²) φ = atan(b/a)

rφ

Enter the real and imaginary parts to convert to trigonometric form

This rectangular to trigonometric form calculator is a free online tool that converts a complex number from its standard a+bia+bi representation into the equivalent trigonometric (polar) form. By computing both the magnitude and argument of the number, it provides the expression r(cos⁡φ+isin⁡φ)r(\cos\varphi + i\sin\varphi) — a format that is indispensable for understanding the geometry of complex numbers and performing operations like multiplication, division, and exponentiation.

What Is the Trigonometric Form of a Complex Number?

Every complex number z=a+biz = a + bi (with real part aa and imaginary part bb) corresponds to a point (a,b)(a,b) in the complex plane. Its trigonometric form is:

z=r(cos⁡φ+isin⁡φ)z = r \bigl( \cos\varphi + i \sin\varphi \bigr)

where:

  • r=a2+b2r = \sqrt{a^{2} + b^{2}} is the modulus (the Euclidean distance from the origin to the point).
  • φ\varphi is the argument (the angle measured counter‑clockwise from the positive real axis to the radius vector).

The relations cos⁡φ=a/r\cos\varphi = a/r and sin⁡φ=b/r\sin\varphi = b/r follow directly from the geometry of a right triangle with legs aa and bb and hypotenuse rr.

How to Convert from Rectangular to Trigonometric Form Manually

If you want to perform the conversion by hand, follow these steps:

  1. Calculate the modulus

    r=a2+b2.r = \sqrt{a^{2} + b^{2}}.
  2. Determine the argument
    Use the arctangent function, but be careful with the quadrant:

    • If a>0a > 0: φ=arctan⁡(b/a)\varphi = \arctan(b/a).
    • If a<0a < 0 and b≥0b \ge 0: φ=arctan⁡(b/a)+π\varphi = \arctan(b/a) + \pi.
    • If a<0a < 0 and b<0b < 0: φ=arctan⁡(b/a)−π\varphi = \arctan(b/a) - \pi.
    • Special cases: a=0a = 0 and b>0  ⟹  φ=π/2b > 0 \implies \varphi = \pi/2; a=0a = 0 and b<0  ⟹  φ=−π/2b < 0 \implies \varphi = -\pi/2.

    The result is usually given as the principal argument in the interval (−π,π](-\pi, \pi] (or [0,2π)[0, 2\pi) in some conventions).

  3. Write the trigonometric form

    z=r(cos⁡φ+isin⁡φ).z = r \bigl( \cos\varphi + i \sin\varphi \bigr).

Example: Convert z=−1+iz = -1 + i

  • Modulus: r=(−1)2+12=2r = \sqrt{(-1)^{2} + 1^{2}} = \sqrt{2}.
  • Argument: a=−1<0a=-1<0 and b=1>0b=1>0 → second quadrant. The reference angle is π/4\pi/4. Adding π\pi gives φ=3π/4\varphi = 3\pi/4.
  • Result: z=2(cos⁡ ⁣(3π4)+isin⁡ ⁣(3π4)).z = \sqrt{2} \left( \cos\!\Bigl(\frac{3\pi}{4}\Bigr) + i \sin\!\Bigl(\frac{3\pi}{4}\Bigr) \right).

Using the Online Complex Number to Trigonometric Form Calculator

With this complex number magnitude and argument calculator, the process is fully automated:

  1. Enter the real part aa and the imaginary part bb in the corresponding input fields.
  2. The tool instantly computes rr and φ\varphi using the formulas above, including the automatic quadrant correction.
  3. The trigonometric form is displayed in two common angle formats: radians (decimal) and degrees. Additionally, when the argument is a rational multiple of π\pi, an exact representation (e.g., 3π4\frac{3\pi}{4}) is shown.

The calculator is designed for anyone who needs fast, accurate conversions — from students studying algebra to professionals working with phasors in electrical engineering.

Why Use the Trigonometric Form?

The trigonometric (or polar) representation simplifies many operations:

  • Multiplication: r1(cos⁡φ1+isin⁡φ1)⋅r2(cos⁡φ2+isin⁡φ2)=r1r2(cos⁡(φ1+φ2)+isin⁡(φ1+φ2))r_{1}\bigl(\cos\varphi_{1}+i\sin\varphi_{1}\bigr) \cdot r_{2}\bigl(\cos\varphi_{2}+i\sin\varphi_{2}\bigr) = r_{1}r_{2}\bigl(\cos(\varphi_{1}+\varphi_{2})+i\sin(\varphi_{1}+\varphi_{2})\bigr).
  • Division: The moduli divide and the arguments subtract.
  • Powers: De Moivre’s theorem states that (r(cos⁡φ+isin⁡φ))n=rn(cos⁡(nφ)+isin⁡(nφ))\bigl(r(\cos\varphi+i\sin\varphi)\bigr)^{n} = r^{n}\bigl(\cos(n\varphi)+i\sin(n\varphi)\bigr).

Thus, converting to trig form turns complex arithmetic into simple operations on magnitudes and angles.

Getting Started

Whether you call it the trigonometric form, polar form, or the magnitude‑argument representation, this free online converter gives you a clear, step‑by‑step result for any complex number. It is the ideal companion for homework, exam preparation, or engineering calculations.

FAQ

1. What is the trigonometric form of a complex number?

The trigonometric form writes a complex number as r(cos φ + i sin φ), where r is the modulus (distance from the origin) and φ is the argument (angle from the positive real axis). It is equivalent to the polar form and highlights the geometric meaning of the number.

2. How do I manually convert a+bi to trigonometric form?

Compute r = sqrt(a² + b²) for the modulus. Then determine φ using arctan(b/a), adjusting by π if the point lies in the second or third quadrant. Finally, write the result as r(cos φ + i sin φ).

3. How does the calculator handle the quadrant correction for the argument?

The calculator checks the signs of a and b. It uses the direct arctan result for a>0, adds π for a<0 and b≥0, subtracts π for a<0 and b<0, and handles the special cases when a=0. This ensures the argument always falls in the principal range.

4. Why is it useful to convert a complex number to trigonometric form?

The trigonometric form simplifies multiplication and division — moduli multiply/divide and arguments add/subtract. It also makes it easy to apply De Moivre's theorem for raising a complex number to any integer power.

How to Use

  1. Enter the real part (a) of the complex number in rectangular form.
  2. Enter the imaginary part (b) of the complex number.
  3. Click Calculate to see the magnitude, argument, and trigonometric form of the complex number.