BIPM-ratified constants · v1.0
Converter
Polar, to rectangular coordinates converter calculator.
Convert polar coordinates (r, θ) to rectangular (x, y) using x = r·cos(θ) and y = r·sin(θ). Supports degrees and radians for instant results.
From
degrees
degrees
Equivalents
horizontal
vertical
Common pairings
The conversion
How the value
is computed.
What Are Polar and Rectangular Coordinates?
Polar coordinates describe a point in a plane using two values: a radial distance r from the origin and an angle θ measured counterclockwise from the positive x-axis. Rectangular (Cartesian) coordinates describe the same point using a horizontal distance x and a vertical distance y from the origin. A polar to rectangular converter makes switching between these systems fast and error-free.
The Conversion Formula
Converting from polar to rectangular coordinates relies on trigonometric identities derived from the unit circle. For any point at radius r and angle θ, the rectangular coordinates are:
- x = r · cos(θ) — the horizontal component
- y = r · sin(θ) — the vertical component
Formula Derivation
The derivation follows directly from right triangle trigonometry. A point P at distance r from the origin forms a right triangle with the x-axis. By definition, the cosine of θ equals the adjacent side divided by the hypotenuse, and the sine of θ equals the opposite side divided by the hypotenuse. Setting the hypotenuse equal to r yields x = r·cos(θ) and y = r·sin(θ). This derivation is detailed in Paul's Online Math Notes — Calculus II: Polar Coordinates and confirmed by the University of Maryland Calculus 141 Polar Coordinates lecture notes.
Understanding the Variables
- r (Radius): The radial distance from the origin to the point. Any non-negative real number is valid. A radius of 0 always maps to the origin (0, 0) regardless of angle.
- θ (Theta): The angle measured counterclockwise from the positive x-axis. Expressed in degrees (0° to 360°) or radians (0 to 2π ≈ 6.2832). Common reference angles: 0° maps to (1, 0), 90° to (0, 1), 180° to (-1, 0), and 270° to (0, -1).
- Angle Unit: Specifies whether θ is entered in degrees or radians. Multiply degrees by π/180 to convert to radians; multiply radians by 180/π to convert to degrees.
- Output Coordinate: Selects which rectangular value to return — the x component or the y component.
Worked Examples
Example 1: r = 5, θ = 30°
x = 5 · cos(30°) = 5 · 0.8660 ≈ 4.33
y = 5 · sin(30°) = 5 · 0.5000 = 2.50
Rectangular coordinates: (4.33, 2.50).
Example 2: r = 10, θ = π/4 radians (45°)
x = 10 · cos(π/4) = 10 · (√2/2) ≈ 7.07
y = 10 · sin(π/4) = 10 · (√2/2) ≈ 7.07
Rectangular coordinates: (7.07, 7.07). Both components are equal because 45° bisects the first quadrant symmetrically.
Example 3: r = 3, θ = 270°
x = 3 · cos(270°) = 3 · 0 = 0
y = 3 · sin(270°) = 3 · (-1) = -3
Rectangular coordinates: (0, -3), a point directly below the origin on the negative y-axis.
Understanding Quadrants in Polar-to-Rectangular Conversion
The rectangular coordinate system divides the plane into four quadrants defined by the signs of the x and y coordinates. Understanding which quadrant a converted point occupies is essential for verifying your calculations and visualizing the point's location. The first quadrant spans 0° to 90°, where both x and y are positive. The second quadrant spans 90° to 180°, where x is negative and y is positive. The third quadrant spans 180° to 270°, where both x and y are negative. The fourth quadrant spans 270° to 360°, where x is positive and y is negative. This quadrant system provides a powerful sanity check: if your polar angle should place a point in the second quadrant, but your converted rectangular coordinates show positive x, an error has occurred. For example, converting the polar coordinates (5, 120°) should yield a point in the second quadrant. Computing x = 5·cos(120°) = 5·(-0.5) = -2.5 and y = 5·sin(120°) = 5·(0.866) ≈ 4.33 confirms this expectation, with negative x and positive y values placing the point correctly in the second quadrant.
Real-World Applications
- Navigation and GPS: Converting polar bearings and distances to x-y grid coordinates in mapping systems.
- Robotics: Translating LIDAR or sonar range-and-angle readings into Cartesian workspace coordinates for path planning.
- AC Circuit Analysis: Converting impedance magnitude and phase angle into resistance (real) and reactance (imaginary) components.
- Physics: Decomposing force and velocity vectors expressed as magnitude and direction into horizontal and vertical components.
- Computer Graphics: Placing objects whose positions are defined by radius and angle into screen pixel coordinate systems.
Reference