Convert Polar and Rectangular Coordinates

Formulas, quadrant rules, and worked examples in radians and degrees

Overview

Rectangular coordinates \( (x, y) \) and polar coordinates \( (R, t) \) are related by specific formulas that let us convert points from one system to the other. The conversion is straightforward once you know the formulas and — for rectangular → polar — the quadrant correction rule.

The Conversion Formulas

Right triangle showing polar radius R, polar angle t, and rectangular coordinates (x, y)
Figure 1. The relationship between \( (x, y) \) and \( (R, t) \).

Polar → Rectangular

\[ x = R\cos t \qquad \text{and} \qquad y = R\sin t \]

Rectangular → Polar

\[ R^2 = x^2 + y^2 \qquad \text{and} \qquad \tan t = \frac{y}{x} \]

Caution: \( \tan t = \tfrac{y}{x} \) only fixes \( t \) up to a multiple of \( \pi \). To determine the correct quadrant, inspect the signs of \( x \) and \( y \):

Quadrant correction for \(t\)
Quadrant Signs of \( (x, y) \) Compute \( t \)
I\( x>0, y>0 \)\( t = \arctan(y/x) \)
II\( x<0, y>0 \)\( t = \arctan(y/x) + \pi \)
III\( x<0, y<0 \)\( t = \arctan(y/x) + \pi \)
IV\( x>0, y<0 \)\( t = \arctan(y/x) + 2\pi \)

The polar angle is typically reported in \( [0, 2\pi) \) or \( [0°, 360°) \), though \( (-\pi, \pi] \) or \( (-180°, 180°] \) is also common — either convention is valid as long as it is used consistently. Edge cases: if \( x = 0 \), then \( t = \pi/2 \) (when \( y > 0 \)) or \( t = 3\pi/2 \) (when \( y < 0 \)); \( \tan t \) is undefined at these points.

Worked Examples

Example 1 — Polar to Rectangular

Convert the polar coordinates \( (5, 2.01) \) and \( (0.2, 53^\circ) \) to rectangular coordinates, rounding to three decimal places.

Solution

First point: \( (5, 2.01) \) — angle in radians. Set the calculator to radians.

\[ x = 5\cos(2.01) \approx -2.126 \] \[ y = 5\sin(2.01) \approx 4.525 \]

So \( (5, 2.01) \approx (-2.126,\; 4.525) \).

Second point: \( (0.2, 53^\circ) \) — angle in degrees. Set the calculator to degrees.

\[ x = 0.2\cos(53^\circ) \approx 0.120 \] \[ y = 0.2\sin(53^\circ) \approx 0.160 \]

So \( (0.2, 53^\circ) \approx (0.120,\; 0.160) \).

Example 2 — Rectangular to Polar

Convert the rectangular coordinates \( (1, 1) \) and \( (-2, -4) \) to polar coordinates, rounding to three decimal places. Give \( t \) in both radians and degrees.

Solution

Point \( (1, 1) \)

Compute \(R\):

\[ R = \sqrt{1^2 + 1^2} = \sqrt{2} \]

Compute \( \tan t \):

\[ \tan t = \frac{1}{1} = 1 \]

Both \(x\) and \(y\) are positive → Quadrant I → no correction:

\[ t = \arctan(1) = \frac{\pi}{4} \text{ rad} = 45^\circ \]

Polar form: \( (\sqrt{2},\; \tfrac{\pi}{4}) \) or \( (\sqrt{2},\; 45^\circ) \).

Point \( (-2, -4) \)

Compute \(R\):

\[ R = \sqrt{(-2)^2 + (-4)^2} = \sqrt{20} = 2\sqrt{5} \]

Compute \( \tan t \):

\[ \tan t = \frac{-4}{-2} = 2 \]

Reference angle from the inverse tangent:

\[ t_{\text{ref}} = \arctan(2) \approx 1.107 \text{ rad} \approx 63.435^\circ \]

Both \(x\) and \(y\) are negative → Quadrant III → add \( \pi \) (or \(180^\circ\)):

\[ t = 1.107 + \pi \approx 4.249 \text{ rad} \] \[ t = 63.435^\circ + 180^\circ = 243.435^\circ \]

Polar form: \( (2\sqrt{5},\; 4.249) \) or \( (2\sqrt{5},\; 243.435^\circ) \).

Practice Exercises

Convert each pair of coordinates, then expand the answer to check your work.

Exercise 1 — Polar to rectangular

Convert \( (3, \tfrac{\pi}{6}) \) to rectangular coordinates.

Answer
\[ x = 3\cos\!\left(\tfrac{\pi}{6}\right) = 3 \cdot \tfrac{\sqrt{3}}{2} \approx 2.598 \] \[ y = 3\sin\!\left(\tfrac{\pi}{6}\right) = 3 \cdot \tfrac{1}{2} = 1.5 \]

Answer: \( \left(\tfrac{3\sqrt{3}}{2},\; \tfrac{3}{2}\right) \approx (2.598,\; 1.5) \).

Exercise 2 — Rectangular to polar (Q2)

Convert \( (-1, 1) \) to polar coordinates.

Answer
\[ R = \sqrt{(-1)^2 + 1^2} = \sqrt{2} \] \[ \tan t = \frac{1}{-1} = -1 \;\Rightarrow\; t_{\text{ref}} = \tfrac{\pi}{4} \]

\(x < 0\), \(y > 0\) → Quadrant II → add \( \pi \):

\[ t = \tfrac{\pi}{4} + \pi = \tfrac{5\pi}{4} \text{ rad} \; (225°) \]

Answer: \( \left(\sqrt{2},\; \tfrac{5\pi}{4}\right) \) or \( (\sqrt{2},\; 225°) \).

Exercise 3 — Rectangular to polar (Q4)

Convert \( (2, -2) \) to polar coordinates.

Answer
\[ R = \sqrt{2^2 + (-2)^2} = \sqrt{8} = 2\sqrt{2} \] \[ \tan t = \frac{-2}{2} = -1 \;\Rightarrow\; t_{\text{ref}} = \tfrac{\pi}{4} \]

\(x > 0\), \(y < 0\) → Quadrant IV → add \( 2\pi \):

\[ t = -\tfrac{\pi}{4} + 2\pi = \tfrac{7\pi}{4} \text{ rad} \; (315°) \]

(Equivalently, \( t = -\tfrac{\pi}{4} \) if using the \((-\pi, \pi]\) convention.)

Answer: \( \left(2\sqrt{2},\; \tfrac{7\pi}{4}\right) \) or \( (2\sqrt{2},\; 315°) \).

Frequently Asked Questions

How do you convert polar to rectangular coordinates?

Use \(x = R\cos t\) and \(y = R\sin t\), where \(R\) is the polar distance and \(t\) is the polar angle. For example, \((5, 2.01\text{ rad})\) becomes \(x \approx -2.126\) and \(y \approx 4.525\).

How do you convert rectangular to polar coordinates?

Compute \(R = \sqrt{x^2 + y^2}\), then find \(t\) using \(\tan t = y/x\) — but correct for the quadrant using the signs of \(x\) and \(y\).

Why does arctan give the wrong answer for some points?

The inverse tangent function returns angles in \((-90°, 90°)\) only — i.e., Quadrants I and IV. For points in Quadrants II and III, add \(180°\) (or \(\pi\)).

Can a polar angle be negative or greater than 360°?

Yes. Angles are periodic: \(t\) and \(t + 2\pi\) (or \(t + 360°\)) describe the same direction. Negative angles describe clockwise rotations. Conventions \([0, 2\pi)\) and \((-\pi, \pi]\) are both common.

More References on Polar Coordinates

Last updated: October 17, 2026