About the Complex Number to Polar Form Calculator
Every complex number z = a + bi can be plotted as a point (a, b) in the complex plane, where the horizontal axis is the real part and the vertical axis is the imaginary part. Polar form describes that same point using a distance from the origin and an angle instead of horizontal/vertical coordinates — the same idea as converting Cartesian (x, y) coordinates to polar (r, θ) coordinates in ordinary geometry.
The conversion formulas
- Modulus (r): r = √(a² + b²) — the distance from the origin to the point, always non-negative.
- Argument (θ): θ = atan2(b, a) — the angle from the positive real axis, using the signs of a and b to select the correct quadrant.
- Polar form: z = r(cos θ + i sin θ), often abbreviated r cis θ, or written in exponential form as z = r·e^(iθ) using Euler's formula.
Why atan2 instead of arctan
A plain arctan(b/a) only returns angles between −90° and 90°, so it cannot tell Quadrant I from Quadrant III or Quadrant II from Quadrant IV — both give the same ratio. The two-argument atan2(b, a) function looks at the sign of a and b separately, so it returns the correct angle across the full −180° to 180° range (or −π to π radians) without extra sign-checking logic.
Going back to rectangular form
The conversion is reversible: given r and θ, the rectangular components are a = r cos θ and b = r sin θ. This round trip underlies multiplying and dividing complex numbers in polar form, where moduli multiply and arguments add — a shortcut that is much harder to see in rectangular a + bi form.