Rectangular to Polar Coordinates Logo
Rectangular to Polar Coordinates
Mathematics • July 23, 2026

Polar to Rectangular Coordinates: Conversion Formulas, Proofs & Solved Examples

Learn how to convert polar to rectangular coordinates (r, θ to x, y) using exact trigonometric formulas, proofs, and solved engineering examples.

Polar to Rectangular Coordinates: Conversion Formulas, Proofs & Solved Examples

Converting polar to rectangular coordinates (r,θ)→(x,y)(r, \theta) \to (x, y) is a fundamental mathematical operation used extensively across physics, engineering, computer graphics, and navigational systems. While polar coordinates define a location using a radius rr and angular direction θ\theta, Cartesian coordinates describe the exact horizontal (xx) and vertical (yy) placement on a rectangular grid.

Understanding how to transition between these coordinate systems is essential whether you are calculating vector components in static mechanics or developing digital graphics tools. You can perform bidirectional calculations instantly on our rectangular to polar coordinates converter or review the opposite transformation in How to Convert Rectangular to Polar Coordinates.


Fundamental Equations for Polar to Rectangular Coordinates

To calculate the horizontal coordinate xx and vertical coordinate yy from polar inputs rr (radial distance) and θ\theta (polar angle), use basic right-triangle trigonometry:

x=r⋅cos⁡(θ)x = r \cdot \cos(\theta)

y=r⋅sin⁡(θ)y = r \cdot \sin(\theta)

Trigonometric Derivation

Consider a right triangle formed in the Cartesian plane where:

  • The hypotenuse equals the polar radius rr.
  • The horizontal adjacent side represents xx.
  • The vertical opposite side represents yy.
  • The angle at the origin between the hypotenuse and the positive x-axis is θ\theta.

Applying standard cosine and sine definitions: cos⁡(θ)=AdjacentHypotenuse=xr  ⟹  x=r⋅cos⁡(θ)\cos(\theta) = \frac{\text{Adjacent}}{\text{Hypotenuse}} = \frac{x}{r} \implies x = r \cdot \cos(\theta)

sin⁡(θ)=OppositeHypotenuse=yr  ⟹  y=r⋅sin⁡(θ)\sin(\theta) = \frac{\text{Opposite}}{\text{Hypotenuse}} = \frac{y}{r} \implies y = r \cdot \sin(\theta)


Step-by-Step Solved Conversion Examples

Example 1: Standard Quadrant I Conversion

Given: r=10r = 10, θ=30∘\theta = 30^\circ (π6\frac{\pi}{6} radians)

  1. Calculate xx: x=10⋅cos⁡(30∘)=10⋅32≈8.6603x = 10 \cdot \cos(30^\circ) = 10 \cdot \frac{\sqrt{3}}{2} \approx 8.6603
  2. Calculate yy: y=10⋅sin⁡(30∘)=10⋅0.5=5.0000y = 10 \cdot \sin(30^\circ) = 10 \cdot 0.5 = 5.0000
  3. Cartesian Coordinate: (8.6603,5.0000)(8.6603, 5.0000)

Example 2: Quadrant III Angle (Negative Coordinates)

Given: r=7r = 7, θ=225∘\theta = 225^\circ (5π4\frac{5\pi}{4} radians)

  1. Calculate xx: x=7⋅cos⁡(225∘)=7⋅(−22)≈−4.9497x = 7 \cdot \cos(225^\circ) = 7 \cdot \left(-\frac{\sqrt{2}}{2}\right) \approx -4.9497
  2. Calculate yy: y=7⋅sin⁡(225∘)=7⋅(−22)≈−4.9497y = 7 \cdot \sin(225^\circ) = 7 \cdot \left(-\frac{\sqrt{2}}{2}\right) \approx -4.9497
  3. Cartesian Coordinate: (−4.9497,−4.9497)(-4.9497, -4.9497)

Technical Considerations in Engineering & Software

Angle Units: Degrees vs. Radians

A common source of calculation error in programming languages (such as JavaScript, Python, or C++) is passing degree values into trigonometric functions like Math.cos() or Math.sin(), which require radians.

To convert degrees to radians: θradians=θdegrees×(π180∘)\theta_{\text{radians}} = \theta_{\text{degrees}} \times \left(\frac{\pi}{180^\circ}\right)

In electrical engineering, phasor calculations expand on these principles. Learn more in our tutorial on converting complex numbers from rectangular to polar form.

In electrical engineering, phasor calculations expand on these principles when decomposing sinusoidal AC quantities into in-phase (real) and quadrature (reactive) parts. Learn more in our tutorial on converting complex numbers from rectangular to polar form.

Sign Determination from Trigonometric Quadrants

Because x=rcos⁡θx = r\cos\theta and y=rsin⁡θy = r\sin\theta, the signs of xx and yy are completely dictated by the signs of cos⁡θ\cos\theta and sin⁡θ\sin\theta:

  • Quadrant I (0∘<θ<90∘0^\circ < \theta < 90^\circ): cos⁡θ>0\cos\theta > 0 and sin⁡θ>0  ⟹  x>0,y>0\sin\theta > 0 \implies x > 0, y > 0
  • Quadrant II (90∘<θ<180∘90^\circ < \theta < 180^\circ): cos⁡θ<0\cos\theta < 0 and sin⁡θ>0  ⟹  x<0,y>0\sin\theta > 0 \implies x < 0, y > 0
  • Quadrant III (180∘<θ<270∘180^\circ < \theta < 270^\circ): cos⁡θ<0\cos\theta < 0 and sin⁡θ<0  ⟹  x<0,y<0\sin\theta < 0 \implies x < 0, y < 0
  • Quadrant IV (270∘<θ<360∘270^\circ < \theta < 360^\circ): cos⁡θ>0\cos\theta > 0 and sin⁡θ<0  ⟹  x>0,y<0\sin\theta < 0 \implies x > 0, y < 0

Frequently Asked Questions

Can θ\theta be greater than 360∘360^\circ (2π2\pi)?

Yes. Polar angles are periodic. An angle of 400∘400^\circ is co-terminal with 400∘−360∘=40∘400^\circ - 360^\circ = 40^\circ, yielding identical (x,y)(x, y) Cartesian coordinates.

What if r=0r = 0?

If r=0r = 0, both x=0⋅cos⁡(θ)=0x = 0 \cdot \cos(\theta) = 0 and y=0⋅sin⁡(θ)=0y = 0 \cdot \sin(\theta) = 0, placing the coordinate at the origin (0,0)(0,0) regardless of θ\theta.


• Rectangular to Polar Converter – Convert coordinates bidirectional online.

• Converting Complex Numbers to Polar – Electrical phasor & complex form calculations.

• Step-by-Step Rectangular to Polar Guide – Manual calculations and quadrant check examples.

• Understanding Quadrants and atan2 – In-depth guide to quadrant corrections.

• Rectangular to Polar Formulas – Mathematical proofs, identities, and derivations.