Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Convert a Complex Number to Polar Form

Polar form describes z=a+biz = a + bi by its distance from the origin and its angle. The distance is one formula; the angle needs care, because tan⁡θ=ba\tan\theta = \frac{b}{a} alone cannot tell opposite quadrants apart.

Recognize the task

You have z=a+biz = a + bi and need r(cos⁡θ+isin⁡θ)r(\cos\theta + i\sin\theta), r cis θr\,\text{cis}\,\theta, reiθre^{i\theta}, or just ∣z∣|z| and arg⁡(z)\arg(z): for example −1+3i-1 + \sqrt{3}i, −2−2i-2 - 2i, −4i-4i. It is also the first step before raising to a power or taking roots. Test: the signs of aa and bb tell you the quadrant before you compute anything.
Modulus, argument and the trigonometric form are defined in the trigonometric form lesson.

Two ways to do it

Tangent plus a quadrant checkusual
θ=arctan⁡ba (+π in Q II, −π in Q III)\theta = \arctan\tfrac{b}{a} \ (+\pi \text{ in Q II},\ -\pi \text{ in Q III})
Take the arctangent, then adjust for the quadrant (quadrant considerations).
Cosine and sine of the angleunit circle
cos⁡θ=ar,sin⁡θ=br\cos\theta = \tfrac{a}{r}, \quad \sin\theta = \tfrac{b}{r}
Find the one angle in (−π,π](-\pi, \pi] with both values, as in finding unit circle values.

Steps

StepOn z=−1+3iz = -1 + \sqrt{3}i
1Locate the quadrant. Read the signs of aa and bb. A zero part puts zz on an axis, where the angle is 00, π2\frac{\pi}{2}, π\pi or −π2-\frac{\pi}{2}.a<0a < 0, b>0b > 0: quadrant II
2Find the modulus. The modulus is the distance from the origin.Modulus ↗r=1+3=2r = \sqrt{1 + 3} = 2
3Find the reference angle. Use the sizes of the parts only: α=arctan⁡∣ba∣\alpha = \arctan\left|\frac{b}{a}\right|, an acute angle.α=arctan⁡3=π3\alpha = \arctan\sqrt{3} = \frac{\pi}{3}
4Place the angle in its quadrant. Quadrant I: θ=α\theta = \alpha. II: π−α\pi - \alpha. III: −π+α-\pi + \alpha. IV: −α-\alpha. This gives the principal argument in (−π,π](-\pi, \pi].θ=π−π3=2π3\theta = \pi - \frac{\pi}{3} = \frac{2\pi}{3}
5Write the polar form. Put rr in front and the same θ\theta in both the cosine and the sine.z=2(cos⁡2π3+isin⁡2π3)z = 2\left(\cos\frac{2\pi}{3} + i\sin\frac{2\pi}{3}\right)

Worked examples

Example 1 · first quadrant

no adjustment
z=3+iz = \sqrt{3} + i: r=3+1=2r = \sqrt{3 + 1} = 2
modulus
θ=arctan⁡13=π6\theta = \arctan\frac{1}{\sqrt{3}} = \frac{\pi}{6}
quadrant I, no change
z=2(cos⁡π6+isin⁡π6)z = 2\left(\cos\frac{\pi}{6} + i\sin\frac{\pi}{6}\right)
assemble

Example 2 · third quadrant

quadrant check
z=−2−2iz = -2 - 2i: r=4+4=22r = \sqrt{4 + 4} = 2\sqrt{2}
modulus
α=arctan⁡1=π4\alpha = \arctan 1 = \frac{\pi}{4}
reference angle
θ=−π+π4=−3π4\theta = -\pi + \frac{\pi}{4} = -\frac{3\pi}{4}
both parts negative: quadrant III
z=22(cos⁡(−3π4)+isin⁡(−3π4))z = 2\sqrt{2}\left(\cos\left(-\frac{3\pi}{4}\right) + i\sin\left(-\frac{3\pi}{4}\right)\right)
assemble

Example 3 · a point on an axis

axis
z=−4iz = -4i: a=0a = 0, b=−4b = -4
ba\frac{b}{a} is undefined
r=4r = 4, θ=−π2\theta = -\frac{\pi}{2}
negative imaginary axis
z=4(cos⁡(−π2)+isin⁡(−π2))z = 4\left(\cos\left(-\frac{\pi}{2}\right) + i\sin\left(-\frac{\pi}{2}\right)\right)
assemble
Drag a point and watch rr and θ\theta update in the polar-rectangular converter.

See it happen

Draw the point (a,b)(a, b) and drop a perpendicular to the real axis. The right triangle has legs ∣a∣|a| and ∣b∣|b|, so its hypotenuse is rr and its angle at the origin is the reference angle. The arctangent only sees the ratio ba\frac{b}{a}, and −2−2i-2 - 2i has the same ratio as 2+2i2 + 2i. The signs of aa and bb are what tell the two points apart, so the quadrant check is never optional.

Common mistakes

Skipping the quadrant check

✗ −1+3i-1 + \sqrt{3}i: θ=arctan⁡(−3)=−π3\theta = \arctan(-\sqrt{3}) = -\frac{\pi}{3}
✓ quadrant II: θ=2π3\theta = \frac{2\pi}{3}; the angle −π3-\frac{\pi}{3} belongs to 1−3i1 - \sqrt{3}i

Using the reference angle as the argument

✗ arg⁡(−2−2i)=π4\arg(-2 - 2i) = \frac{\pi}{4}
✓ arg⁡(−2−2i)=−3π4\arg(-2 - 2i) = -\frac{3\pi}{4}, in quadrant III

Adding the parts for the modulus

✗ ∣3+4i∣=3+4=7|3 + 4i| = 3 + 4 = 7
✓ ∣3+4i∣=9+16=5|3 + 4i| = \sqrt{9 + 16} = 5

Dividing by a zero real part

✗ arg⁡(−4i)=arctan⁡−40\arg(-4i) = \arctan\frac{-4}{0}
✓ a point on an axis has a known angle: arg⁡(−4i)=−π2\arg(-4i) = -\frac{\pi}{2}