Algebra & Equations

Polar to Rectangular Calculator

This polar to rectangular calculator converts polar coordinates (r,θ)(r, \theta) to rectangular (Cartesian) form x+yix + yi or (x,y)(x, y) with x=rcos⁡θx = r\cos\theta and y=rsin⁡θy = r\sin\theta.

Try
Convert

The distance from the origin, usually positive.

Measured counterclockwise from the positive x-axis. In radians you can type expressions such as 3pi/4.

Angle unit

Result

Rectangular form of (2, 60°): 1 + √3 i

Rectangular form of (2, 60°)

z=1+3iz = 1 + \sqrt{3}i

≈ 1 + 1.732050808i

Rectangular form
1+1.732050808i1 + 1.732050808i
Exact form
1+3i1 + \sqrt{3}i
Point (x, y)
(1, 1.732050808)
Engineering form (j)Electrical engineering writes j for i
1 + j1.732050808
Real part x = r cos θ
1
Imaginary part y = r sin θ
√3 ≈ 1.732050808
Principal polar formPositive r and θ in (−180°, 180°]
2∠60∘2\angle 60^\circ
Exponential form
2eπ3i2\,e^{{\frac{\pi}{3}}i}
Location
Quadrant I

Walking 2 units from the origin in the direction 60° lands on the point (1, 1.732050808), which is the complex number 1 + 1.732050808i.

Point in the complex plane
z
Step-by-step working (3 steps)
  1. Find the real part x

    cos 60° is the exact value 1/2.

    x=rcos⁡θ=2cos⁡60∘=2⋅12=1x = r\cos\theta = 2\cos 60^\circ = 2 \cdot \frac{1}{2} = 1
  2. Find the imaginary part y

    sin 60° is the exact value √3/2.

    y=rsin⁡θ=2sin⁡60∘=2⋅32=3≈1.732050808y = r\sin\theta = 2\sin 60^\circ = 2 \cdot \frac{\sqrt{3}}{2} = \sqrt{3} \approx 1.732050808
  3. Write the rectangular form

    z=x+yi=1+3iz = x + yi = 1 + \sqrt{3}i

It also converts rectangular to polar with r=x2+y2r = \sqrt{x^2 + y^2} and θ=atan2(y,x)\theta = \operatorname{atan2}(y, x), in degrees or radians, with every step and exact values.

By Hira Noor, mathematicianLast reviewed Free, no sign-up, runs in your browserReport a problem

How to use this calculator

  1. Choose the direction: polar to rectangular (the default) or rectangular to polar.
  2. For polar input, enter the modulus r and the angle θ. In radians you can type 3pi/4 or pi/6.
  3. For rectangular input, type a complex number such as -2+2i (engineers can write -2+2j) or a point such as (-2, 2).
  4. Pick degrees or radians for the angle. Results show both, with the principal angle between −180° and 180°.

Formulas

Polar to rectangular

x=rcos⁡θ,y=rsin⁡θ,z=r(cos⁡θ+isin⁡θ)=reiθx = r\cos\theta, \qquad y = r\sin\theta, \qquad z = r(\cos\theta + i\sin\theta) = re^{i\theta}

Plain-text formula: x = r cos θ, y = r sin θ, z = r(cos θ + i sin θ) = re^(iθ)

r
Modulus: the distance from the origin
θ
Angle (argument), counterclockwise from the positive x-axis
x, y
Rectangular (Cartesian) coordinates: the real and imaginary parts

Multiply the modulus by the cosine and sine of the angle. For multiples of 30° and 45° the values are exact, such as cos⁡60°=12\cos 60° = \frac{1}{2} and sin⁡60°=32\sin 60° = \frac{\sqrt{3}}{2}, so (2,60°)(2, 60°) is exactly 1+3i1 + \sqrt{3}\,i.

Rectangular to polar

r=x2+y2,θ=atan2(y,x)r = \sqrt{x^2 + y^2}, \qquad \theta = \operatorname{atan2}(y, x)

Plain-text formula: r = √(x^2 + y^2), θ = atan2(y, x)

atan2 starts from the reference angle α = arctan|y/x| and corrects it for the quadrant: θ = α in quadrant I, 180° − α in quadrant II, −(180° − α) in quadrant III and −α in quadrant IV. A plain arctan(y/x) gets quadrants II and III wrong.

Reading the result

In polar form, r is the distance from the origin and θ is the direction, measured counterclockwise from the positive x-axis (the real axis). In rectangular form, x is how far the point is across and y how far up. Both describe the same point, so converting back gives the numbers you started with.

Angles that differ by 360° (or 2π) point the same way, so the converter reports the principal angle in (−180°, 180°] and also the equivalent angle in [0°, 360°). The most common mistake is to compute θ = arctan(y/x) without checking the quadrant. For (−3, −4), arctan(4/3) ≈ 53.13°, but the point is in quadrant III, so θ ≈ −126.87° (or 233.13°).

Rectangular, Cartesian and polar coordinates

Rectangular form and Cartesian form are two names for the same thing: a point written as (x,y)(x, y), or a complex number written as x+yix + yi. Polar coordinates (r,θ)(r, \theta) describe the same point by its distance from the origin and its direction. Drawn for a complex number, the plane is called the complex plane or an Argand diagram, with the real part across and the imaginary part up.

Electrical engineers write polar form as a phasor, r∠θr\angle\theta, and use jj for the imaginary unit. A voltage of 120∠30°120\angle 30° V has x=120cos⁡30°=603≈103.92x = 120\cos 30° = 60\sqrt{3} \approx 103.92 and y=120sin⁡30°=60y = 120\sin 30° = 60, so it is 103.92+j60103.92 + j60 V in rectangular form. Choose the Phasor 120∠30° example at the top of the calculator to see each step.

The same point in both systems: r and θ in polar form, x and y in rectangular form. r is the hypotenuse of the right triangle.

How to convert rectangular to polar, quadrant by quadrant

Find r=x2+y2r = \sqrt{x^2 + y^2}, then the reference angle α=arctan|y/x|\alpha = \arctan|y/x|, then use the signs of x and y to place θ in the right quadrant. For −2+2i-2 + 2i: r=8=22r = \sqrt{8} = 2\sqrt{2}, α=45°\alpha = 45°, and x < 0, y > 0 puts it in quadrant II, so θ=180°−45°=135°\theta = 180° - 45° = 135°. The table gives the rule for every quadrant.

The angle θ from the reference angle α in each quadrant
QuadrantSignsθ in (−180°, 180°]θ in [0°, 360°)Example
Ix > 0, y > 0αα(3, 4): r = 5, θ ≈ 53.13°
IIx < 0, y > 0180° − α180° − α(−2, 2): r = 2√2, θ = 135°
IIIx < 0, y < 0−(180° − α)180° + α(−3, −4): r = 5, θ ≈ −126.87° or 233.13°
IVx > 0, y < 0−α360° − α(3, −4): r = 5, θ ≈ −53.13° or 306.87°
On an axisx = 0 or y = 00°, 90°, 180° or −90°0°, 90°, 180° or 270°(0, 2): r = 2, θ = 90°

Converting on a Casio or TI calculator

Set the calculator to degree or radian mode first; the angle you get back follows that mode.

Casio fx-991ES PLUS and fx-570ES PLUS: Pol is SHIFT then +, and Rec is SHIFT then −. In degree mode, Pol(√2, √2) returns r = 2 and θ = 45, and Rec(√2, 45) returns X = 1 and Y = 1; θ comes back between −180° and 180°. In CMPLX mode the ∠ sign is SHIFT then (−), so typing 2∠45 gives √2 + √2i.

TI-84 Plus: press 2nd then APPS for the ANGLE menu. Options 5 and 6, R►Pr( and R►Pθ(, give r and θ from x and y; options 7 and 8, P►Rx( and P►Ry(, give x and y from r and θ, one value per command.

TI-30X Pro MathPrint: press 2nd and the key marked R▸P to open the R▸P menu. 1:P▸Rx( and 2:P▸Ry( give x and y from r and θ; 3:R▸Pr( and 4:R▸Pθ( give r and θ from x and y, so R▸Pr(3, 4) is 5 and R▸Pθ(3, 4) is about 53.13 in degree mode.

TI-36X Pro: use the complex menu. For polar to rectangular, type r, press 2nd then complex, choose 1: ∠, type θ and press enter: 5∠30 gives about 4.33 + 2.5i in degree mode. For rectangular to polar, type x + yi, press 2nd then complex and choose 4: r∠θ.

A handheld calculator gives the answer but not the working. This page also shows each step, including the quadrant check, and gives exact values such as 222\sqrt{2} and 3π4\frac{3\pi}{4} alongside the decimals.

Worked example

Convert (6, 150°) from polar to rectangular form

Find x, y and the complex number x + yi for r = 6 and θ = 150°.

  1. Real part: x=rcos⁡θ=6cos⁡150°=6⋅(−32)=−33≈−5.196152423x = r\cos\theta = 6\cos 150° = 6 \cdot \left(-\frac{\sqrt{3}}{2}\right) = -3\sqrt{3} \approx -5.196152423.
  2. Imaginary part: y=rsin⁡θ=6sin⁡150°=6⋅12=3y = r\sin\theta = 6\sin 150° = 6 \cdot \frac{1}{2} = 3.
  3. x < 0 and y > 0, so the point is in quadrant II, which matches an angle between 90° and 180°.

Answer: (6,150°)=(−33,3)≈(−5.196,3)(6, 150°) = (-3\sqrt{3}, 3) \approx (-5.196, 3), so 6∠150°=−33+3i6\angle 150° = -3\sqrt{3} + 3i.

Frequently asked questions

How do you convert polar to rectangular?

Use x=rcos⁡θx = r\cos\theta and y=rsin⁡θy = r\sin\theta. For (2,60°)(2, 60°): x=2cos⁡60°=1x = 2\cos 60° = 1 and y=2sin⁡60°=3≈1.732y = 2\sin 60° = \sqrt{3} \approx 1.732, so the rectangular form is 1+3i1 + \sqrt{3}\,i, or the point (1,1.732)(1, 1.732).

How do you convert rectangular to polar?

Find r=x2+y2r = \sqrt{x^2 + y^2}, then θ=atan2(y,x)\theta = \operatorname{atan2}(y, x). For (3,4)(3, 4): r=9+16=5r = \sqrt{9 + 16} = 5 and θ=arctan(4/3)≈53.13°\theta = \arctan(4/3) \approx 53.13°, because the point is in quadrant I. In quadrant II use 180°−α180° - \alpha, in quadrant III −(180°−α)-(180° - \alpha) and in quadrant IV −α-\alpha, where α=arctan|y/x|\alpha = \arctan|y/x|.

Why not just use arctan(y/x)?

Because arctan only returns angles between −90° and 90°, which covers quadrants I and IV. Points with negative x need 180° added or subtracted. atan2(y, x) does this automatically and also handles x = 0.

How do you write 2i in polar form?

2i2i is the point (0,2)(0, 2), on the positive imaginary axis. Its modulus is 2 and its angle is 90°, or π2\frac{\pi}{2}, so 2i=2∠90°=2eiπ/22i = 2\angle 90° = 2e^{i\pi/2}.

What is the principal argument?

It is the angle θ in the range (−180°, 180°], or (−π, π] in radians. Every nonzero complex number has exactly one principal argument, even though infinitely many angles describe the same direction.

What is the polar form of 0?

The modulus is 0 and the angle is undefined, because every direction from the origin leads back to the origin. Many books write 0∠0° by convention.

Can r be negative?

Usually r is taken as nonnegative. If you enter a negative r, the point lies in the opposite direction: (−3, 30°) is the same point as (3, 210°), which is (3, −150°) in principal form.

Can it convert polar equations such as r = 2 sin θ?

No, it converts points and complex numbers. To convert an equation, substitute x=rcos⁡θx = r\cos\theta, y=rsin⁡θy = r\sin\theta and r2=x2+y2r^2 = x^2 + y^2. Multiplying r=2sin⁡θr = 2\sin\theta by r gives r2=2rsin⁡θr^2 = 2r\sin\theta, so x2+y2=2yx^2 + y^2 = 2y: a circle of radius 1 centered at (0, 1). The graphing calculator plots polar curves such as r = 2sin(θ), so you can check the shape.

How do I multiply numbers in polar form?

Multiply the moduli and add the angles: 2∠30°×3∠45°=6∠75°2\angle 30° \times 3\angle 45° = 6\angle 75°. The complex number calculator does this and shows the arithmetic in both forms.

Complex Number Calculator

Complex arithmetic, powers and roots with steps, in rectangular, polar and exponential form.

Algebra & Equations

Trigonometry Calculator

All six trig functions of an angle, or the angle from a ratio, with exact values, quadrant and steps.

Trigonometry

Graphing Calculator

Plot functions, equations, inequalities, parametric and polar curves; find roots and intersections.

Tools

Scientific Calculator

Type or tap expressions with exact fractions, memory, variables, constants and complex mode.

Tools

Learn more: Polar form makes multiplying and dividing easy: see how to divide complex numbers, and complex mode in the scientific calculator for polar input.

Sources and further reading

  1. Polar Coordinates (Section 8.3, Precalculus 2e) (opens in a new tab), OpenStax, Rice University
  2. Polar Form of Complex Numbers (Section 8.5, Precalculus 2e) (opens in a new tab), OpenStax, Rice University
  3. NIST Digital Library of Mathematical Functions, §1.9(i) Complex Numbers (opens in a new tab), National Institute of Standards and Technology

Results are calculated in your browser with methods checked by automated tests, and are intended for learning and general use. For engineering, medical, financial, legal or safety-critical decisions, verify important values independently and follow the rounding rules your work requires. How accurate are these results?