Convert between polar (r, θ) and Cartesian (x, y) coordinates instantly with step-by-step solutions and an interactive graph.
Convert between polar (r, θ) and Cartesian (x, y) coordinate systems. Essential for advanced trigonometry, complex numbers, physics vectors, and engineering applications.
x = r · cos(θ)
y = r · sin(θ)
r = √(x² + y²)
θ = atan2(y, x)
Coordinate systems are the foundation of analytic geometry, enabling us to describe any point in a plane using numbers. The two most widely used systems are the Cartesian coordinate system and the polar coordinate system. While Cartesian coordinates locate a point by its horizontal and vertical distances from an origin (x, y), polar coordinates describe the same point using a distance from the origin and an angle from the positive x-axis (r, θ).
The Cartesian system, named after René Descartes, excels at describing straight lines, rectangles, and algebraic relationships. In contrast, the polar system is the natural choice for anything involving circles, spirals, rotations, or radial symmetry. Many equations that are cumbersome in Cartesian form become elegant in polar form. For example, a circle of radius 5 centered at the origin is simply r = 5 in polar coordinates, while in Cartesian coordinates it requires x² + y² = 25.
Converting between the two systems relies on basic trigonometric relationships from the right triangle formed by any point (x, y), the origin, and the projection onto the x-axis.
Given the radius r and angle θ, the x-coordinate is the adjacent side of the triangle (r cos θ) and the y-coordinate is the opposite side (r sin θ). This follows directly from the definitions of cosine and sine on the unit circle.
The radius is the hypotenuse of the right triangle, found via the Pythagorean theorem. The angle is computed using the two-argument arctangent function (atan2), which correctly handles all four quadrants, unlike the basic arctan function.
Convert the polar coordinate (5, 45°) to Cartesian form:
Polar-Cartesian conversion is not just an academic exercise. It is essential in numerous fields:
When performing conversions, keep these important points in mind. First, always check whether your angle is measured in degrees or radians, as mixing them up is the most common source of error. Second, when converting from Cartesian to polar, use atan2(y, x) rather than atan(y/x) to correctly handle all four quadrants and avoid division by zero when x = 0. Third, remember that polar coordinates are not unique: the point (r, θ) is the same as (r, θ + 2πn) for any integer n, and also the same as (-r, θ + π).