terican

Last verified · v1.0

Calculator · math

Complex Number To Polar Form Calculator

Convert a complex number z = a + bi to polar form. Compute magnitude r and argument theta in degrees or radians instantly.

FreeInstantNo signupOpen source

Inputs

Polar Form Component

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Polar Form Component

The formula

How the
result is
computed.

What Is the Polar Form of a Complex Number?

Every complex number z = a + bi exists in two equivalent representations: rectangular form (defined by real part a and imaginary part b) and polar form (defined by magnitude r and argument θ). The polar form is written as z = r(cos θ + i sin θ), or in compact exponential notation as z = re via Euler's formula. The complex number to polar form calculator converts between these representations using the standard formulas derived from coordinate geometry.

The Conversion Formula

Two quantities fully describe the polar form of any complex number:

  • Magnitude (r): r = √(a² + b²) — the Euclidean distance from the origin to the point (a, b) in the complex (Argand) plane.
  • Argument (θ): θ = atan2(b, a) — the angle the position vector makes with the positive real axis, measured counterclockwise in the range (−π, π].

Why atan2 Rather Than arctan?

The ordinary arctan(b/a) function returns values only in (−π/2, π/2), covering just two quadrants. The atan2(b, a) function examines the signs of both a and b independently to place the angle correctly in all four quadrants. For z = −1 + i, arctan(1/−1) incorrectly yields −45°, while atan2(1, −1) correctly returns 135°. This distinction is essential for unambiguous polar conversion.

Step-by-Step Derivation

Plot z = a + bi as a point on the Argand plane, with a on the horizontal axis and b on the vertical axis. The right triangle formed by a, b, and the position vector satisfies the Pythagorean theorem:

  • r = √(a² + b²) (hypotenuse length by the Pythagorean theorem)
  • cos θ = a/r and sin θ = b/r (trigonometric definitions of the angle)
  • Therefore θ = atan2(b, a) (four-quadrant inverse tangent)

This geometric derivation is presented in detail by Lamar University's Complex Number Primer and forms a standard result in undergraduate complex analysis.

Variable Reference

  • Real Part (a): Horizontal coordinate in the complex plane. For z = 3 + 4i, a = 3.
  • Imaginary Part (b): Vertical coordinate; the coefficient of i. For z = 3 + 4i, b = 4.
  • Magnitude (r): Always non-negative. For z = 3 + 4i, r = √(9 + 16) = 5.
  • Argument (θ): For z = 3 + 4i, θ = atan2(4, 3) ≈ 53.13° or 0.9273 radians.

Worked Examples

Example 1: First Quadrant (a > 0, b > 0)

Convert z = 3 + 4i. Magnitude: r = √(9 + 16) = 5. Argument: θ = atan2(4, 3) ≈ 53.13° (0.9273 rad). Polar form: 5∠53.13°.

Example 2: Second Quadrant (a < 0, b > 0)

Convert z = −1 + √3·i. Magnitude: r = √(1 + 3) = 2. Argument: θ = atan2(√3, −1) = 120° (2π/3 rad). Polar form: 2∠120°.

Example 3: Fourth Quadrant (a > 0, b < 0)

Convert z = 1 − i. Magnitude: r = √(1 + 1) = √2 ≈ 1.414. Argument: θ = atan2(−1, 1) = −45° (−π/4 rad). Polar form: √2∠−45°.

Real-World Applications

Polar form is indispensable across applied science, as explained in Khan Academy's treatment of polar and rectangular forms:

  • Electrical Engineering: AC impedance Z = R + jX converts to polar form to yield the impedance magnitude and phase angle used directly in phasor analysis and power factor calculations.
  • Signal Processing: Fourier transform coefficients are complex numbers; their polar form separates the amplitude spectrum from the phase spectrum.
  • Control Systems: Bode and Nyquist plots graph |H(jω)| and ∠H(jω) — the polar components of a transfer function evaluated on the imaginary axis.
  • Quantum Mechanics: Probability amplitudes are complex numbers; r² gives the probability and θ carries the quantum phase.

Degrees vs. Radians

Select the output unit to match the downstream application. Radians appear directly in Euler's formula e and are standard in calculus and physics. Degrees are conventional in many engineering contexts. Conversion is straightforward: multiply radians by 180/π to obtain degrees, or multiply degrees by π/180 to obtain radians. For example, π/3 radians equals exactly 60°, and 1 radian ≈ 57.296°.

Reference

Frequently asked questions

What is the polar form of a complex number?
The polar form of a complex number z = a + bi expresses z using its magnitude r and argument theta instead of its rectangular coordinates. Written as z = r(cos theta + i sin theta) or in exponential form as z = re^(i*theta), the polar form represents the number as a vector of length r at angle theta from the positive real axis. For example, 3 + 4i in polar form is 5 at 53.13 degrees, because r = sqrt(9+16) = 5 and theta = atan2(4,3) = 53.13 degrees.
How do you convert a complex number from rectangular to polar form?
To convert z = a + bi to polar form, compute the magnitude r = sqrt(a^2 + b^2) and the argument theta = atan2(b, a). For z = 5 + 12i, r = sqrt(25 + 144) = sqrt(169) = 13, and theta = atan2(12, 5) approximately equals 67.38 degrees. The polar form is therefore 13 at 67.38 degrees, meaning a vector of length 13 pointing 67.38 degrees above the positive real axis. This complex number to polar form calculator automates both steps.
Why does the calculator use atan2 instead of arctan to find the argument?
The standard arctan(b/a) function is undefined when a = 0 and only returns values in the range (-90 degrees, 90 degrees), covering just two quadrants. The atan2(b, a) function handles all four quadrants by inspecting the individual signs of both a and b independently. For z = -3 - 3i, the correct argument is -135 degrees (third quadrant), but arctan((-3)/(-3)) = arctan(1) = 45 degrees, which is entirely incorrect. The atan2 function returns -135 degrees as expected, ensuring accurate conversion for every complex number.
What does the magnitude r represent in the polar form of a complex number?
The magnitude r, also called the modulus or absolute value of the complex number, represents the Euclidean distance from the origin to the point (a, b) in the complex plane. It is always a non-negative real number. For z = 6 + 8i, r = sqrt(36 + 64) = sqrt(100) = 10. In electrical engineering, the magnitude of a complex impedance Z = R + jX equals the ratio of peak voltage to peak current in an AC circuit, making it a directly measurable physical quantity.
How do you convert polar form back to rectangular form?
To convert from polar form (r, theta) back to rectangular form z = a + bi, apply the inverse trigonometric relations: a = r times cos(theta) and b = r times sin(theta). For a complex number with r = 4 and theta = 30 degrees, a = 4 times cos(30 degrees) = 4 times (sqrt(3)/2) approximately equals 3.464, and b = 4 times sin(30 degrees) = 4 times 0.5 = 2. The rectangular form is therefore z = 3.464 + 2i. This conversion is the exact inverse of the polar form calculation.
Why is polar form preferred in electrical engineering and signal processing?
Polar form dramatically simplifies multiplication and division of complex numbers: multiplying two complex numbers in polar form means simply multiplying their magnitudes and adding their angles, with no cross-term algebra required. In AC circuit analysis, phasors represented in polar form directly expose the amplitude and phase shift that engineers measure on oscilloscopes. Dividing impedances, computing power factors, and cascading filter transfer functions all reduce to straightforward magnitude-ratio and angle-sum arithmetic in polar form rather than tedious rectangular algebraic expansions.