Skip to content
Other

Complex Number to Trigonometric Form Calculator

Enter the real part (a) and imaginary part (b) of a complex number and get its trigonometric (polar) form, exponential (Euler) form, modulus, and argument in both degrees and radians. The show-your-work panel walks through every step, and a reference table covers the most common cases.

Your details

The real component of z = a + bi.
The coefficient of i in z = a + bi.
Choose whether the argument (angle) is displayed in degrees or radians.
Number of decimal places shown in the result.
Modulus |z|Outside unit circle
1.4142

Distance from the origin to z in the complex plane.

Argument phi (degrees)45deg
Argument phi (radians)0.785398rad
Trigonometric form1.4142(cos(pi/4) + i*sin(pi/4))
Exponential (Euler) form1.4142 * e^(i * pi/4)
r cos(phi)1
r sin(phi)1
r cos(phi) = a (real)1
r sin(phi) = b (imaginary)1
00.711.4102345
Angle swept (degrees)
Value
Angle swept (degrees)r cos(theta) - real componentr sin(theta) - imaginary component
01.410
0.751.410.02
1.51.410.04
2.251.410.06
31.410.07
3.751.410.09
4.51.410.11
5.251.410.13
61.410.15
6.751.40.17
7.51.40.18
8.251.40.2
91.40.22
9.751.390.24
10.51.390.26
11.251.390.28
121.380.29
12.751.380.31
13.51.380.33
14.251.370.35
151.370.37
15.751.360.38
16.51.360.4
17.251.350.42
181.350.44
18.751.340.45
19.51.330.47
20.251.330.49
211.320.51
21.751.310.52
22.51.310.54
23.251.30.56
241.290.58
24.751.280.59
25.51.280.61
26.251.270.63
271.260.64
27.751.250.66
28.51.240.67
29.251.230.69
301.220.71
30.751.220.72
31.51.210.74
32.251.20.75
331.190.77
33.751.180.79
34.51.170.8
35.251.150.82
361.140.83
36.751.130.85
37.51.120.86
38.251.110.88
391.10.89
39.751.090.9
40.51.080.92
41.251.060.93
421.050.95
42.751.040.96
43.51.030.97
44.251.010.99
4511
  • r cos(theta) - real component
  • r sin(theta) - imaginary component

z = 1 + 1i has modulus 1.4142 and argument 45.0000 deg.

  • The modulus |z| = 1.4142 is the distance from the origin to z in the Argand plane.
  • The argument phi = 45.0000 deg places z in the Quadrant I (a > 0, b > 0).

Next stepTo multiply two complex numbers in polar form, multiply their moduli and add their arguments: |z1*z2| = |z1|*|z2|, phi(z1*z2) = phi1 + phi2.

Formula

r=a2+b2,φ=atan2(b,a),z=r(cosφ+isinφ)=reiφr = \sqrt{a^{2}+b^{2}}, \quad \varphi = \operatorname{atan2}(b,\,a), \quad z = r(\cos\varphi + i\sin\varphi) = r\,e^{i\varphi}

Worked example

For z = 3 + 4i: r = sqrt(9 + 16) = sqrt(25) = 5; phi = atan2(4, 3) = approx 0.9273 rad = approx 53.13 deg; trigonometric form = 5(cos 53.13 deg + i sin 53.13 deg); exponential form = 5 * e^(i * 0.9273).

What is the trigonometric form of a complex number?

Every complex number z = a + bi can be represented as a point in the Argand plane, where a is the horizontal (real) coordinate and b is the vertical (imaginary) coordinate. The trigonometric form - also called polar form - describes the same point using its distance from the origin (the modulus r) and the angle it makes with the positive real axis (the argument phi). The result is z = r(cos phi + i sin phi). This representation is particularly useful when multiplying or dividing complex numbers, raising them to powers, or finding roots, because these operations become simple arithmetic on r and phi.

How to convert rectangular to trigonometric form - step by step

Step 1 - Find the modulus: r = sqrt(a^2 + b^2). This is the straight-line distance from the origin to the point (a, b). Step 2 - Find the argument: phi = atan2(b, a). The atan2 function handles all four quadrants automatically: for a > 0 it equals arctan(b/a); for a < 0 and b >= 0 add pi; for a < 0 and b < 0 subtract pi; for a = 0 and b > 0 the angle is pi/2; for a = 0 and b < 0 it is -pi/2. The result lies in the range (-pi, pi] radians or (-180, 180] degrees. Step 3 - Substitute into the formula: z = r(cos phi + i sin phi). Step 4 - Write the exponential form using Euler's identity: z = r * e^(i*phi).

Euler's formula and the exponential form

Euler's formula states that e^(i*phi) = cos phi + i sin phi for any real phi. This remarkable identity connects the exponential function with trigonometry and means that the trigonometric form r(cos phi + i sin phi) and the exponential form r*e^(i*phi) are exactly the same thing written differently. The exponential form is especially compact and makes multiplication and exponentiation immediate: (r1 * e^(i*phi1)) * (r2 * e^(i*phi2)) = r1*r2 * e^(i*(phi1+phi2)). De Moivre's theorem follows directly: z^n = r^n * e^(i*n*phi) = r^n(cos(n*phi) + i sin(n*phi)).

Multiplying, dividing and taking powers in polar form

Once in polar form, complex number arithmetic simplifies significantly. Multiplication: multiply the moduli and add the arguments - |z1*z2| = |z1|*|z2| and phi(z1*z2) = phi1 + phi2. Division: divide the moduli and subtract the arguments - |z1/z2| = |z1|/|z2| and phi(z1/z2) = phi1 - phi2. Powers (De Moivre): z^n = r^n(cos(n*phi) + i sin(n*phi)). Roots: the k-th roots of z have modulus r^(1/k) and arguments (phi + 2*pi*j)/k for j = 0, 1, ..., k-1. Converting to polar form first and then applying these rules is almost always faster than working in rectangular form.

Common complex numbers in trigonometric form

Rectangular z = a + biModulus rArgument phi (exact)Trigonometric form
1 + 0i101(cos 0 + i sin 0)
0 + i1pi/21(cos pi/2 + i sin pi/2)
-1 + 0i1pi1(cos pi + i sin pi)
0 - i1-pi/21(cos(-pi/2) + i sin(-pi/2))
1 + isqrt(2)pi/4sqrt(2)(cos pi/4 + i sin pi/4)
-1 + isqrt(2)3*pi/4sqrt(2)(cos 3pi/4 + i sin 3pi/4)
-1 - isqrt(2)-3*pi/4sqrt(2)(cos(-3pi/4) + i sin(-3pi/4))
1 - isqrt(2)-pi/4sqrt(2)(cos(-pi/4) + i sin(-pi/4))
3 + 4i5arctan(4/3) approx 53.13 deg5(cos 53.13 deg + i sin 53.13 deg)
sqrt(3) + i2pi/62(cos pi/6 + i sin pi/6)

Standard values - exact angles are given in pi-fraction notation.

Frequently asked questions

What is the difference between modulus and argument?

The modulus (|z| or r) is the absolute magnitude of the complex number - the distance from the origin to the point (a, b) in the Argand plane, computed as sqrt(a^2 + b^2). It is always non-negative. The argument (phi) is the angle that the line from the origin to the point makes with the positive real axis, measured counter-clockwise and expressed in radians or degrees. Together they fully describe the position of z in the plane.

Why does the argument use atan2 instead of just arctan(b/a)?

The simple formula arctan(b/a) only works when a > 0 (Quadrant I and IV). When a < 0, a regular arctan gives a result that is off by pi radians. When a = 0, division by zero occurs. The atan2(b, a) function is the two-argument version of arctangent that correctly handles all four quadrants and the axes by examining the signs of both a and b separately. This calculator always uses atan2 so you get the correct angle regardless of quadrant.

What happens when both a and b are zero?

The zero complex number z = 0 + 0i has modulus r = 0, but its argument is undefined because there is no direction from the origin to itself. The trigonometric form is simply 0. This is the only complex number without a well-defined argument.

How do I convert back from trigonometric form to rectangular form?

Given z = r(cos phi + i sin phi), simply compute a = r*cos(phi) and b = r*sin(phi). For example, z = 5(cos 53.13 deg + i sin 53.13 deg) gives a = 5*cos(53.13 deg) = 3 and b = 5*sin(53.13 deg) = 4, returning 3 + 4i. The calculator's verification row confirms this by computing r*cos(phi) and r*sin(phi) and comparing with the original a and b.

What is the principal argument and why does it matter?

Because angles repeat every 2*pi radians, there are infinitely many valid arguments for any complex number: phi, phi + 2*pi, phi - 2*pi, and so on. The principal argument Arg(z) is the unique value in the range (-pi, pi] radians (equivalently (-180, 180] degrees). Using the principal value is a mathematical convention that makes the argument a well-defined single-valued function. This calculator always returns the principal argument.

What is Euler's formula and how does it relate to the trigonometric form?

Euler's formula is e^(i*phi) = cos phi + i sin phi. It follows that z = r(cos phi + i sin phi) = r*e^(i*phi). The exponential form is a compact shorthand for the trigonometric form. The special case phi = pi gives Euler's identity e^(i*pi) + 1 = 0, often called the most beautiful equation in mathematics because it connects five fundamental constants.

How do I find the cube root of a complex number using polar form?

Convert z to polar form: z = r(cos phi + i sin phi). The three cube roots are z_k = r^(1/3)(cos((phi + 2*pi*k)/3) + i sin((phi + 2*pi*k)/3)) for k = 0, 1, 2. For example, the cube roots of 8 (= 8 + 0i, r = 8, phi = 0) have r = 8^(1/3) = 2 and angles 0, 2*pi/3, 4*pi/3, giving 2, -1 + i*sqrt(3), and -1 - i*sqrt(3).

Sources

Written by Grace Mbeki, MSc Data Scientist & Educator · Nairobi, Kenya

Turning everyday numbers into clear, actionable answers for the decisions that matter most.

Search 3,500+ calculators

Loading search…