Cartesian to Polar Calculator

Convert (x, y) to (r, θ) — or reverse — with full working and unit options.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Converting between Cartesian coordinates (x, y) and polar coordinates (r, θ) is a fundamental operation in mathematics, physics, engineering, navigation, and computer graphics. A Cartesian point describes a location by its horizontal and vertical offsets from an origin; a polar point describes the same location by a radial distance r and an angle θ from a reference direction. Both representations are exact and lossless — every Cartesian point has a unique polar counterpart (except the origin, where θ is undefined), and vice versa.

The standard formulas

Cartesian to Polar:

  • r = √(x² + y²) — the Euclidean distance from the origin, always ≥ 0.
  • θ = atan2(y, x) — the four-quadrant inverse tangent, returning a value in (−π, π].

The calculator normalises θ to the range [0°, 360°) (or [0, 2π) in radians) so the angle is always a positive, unambiguous value. The signed form from atan2 is also shown for reference.

Polar to Cartesian:

  • x = r · cos(θ)
  • y = r · sin(θ)

These follow directly from the unit-circle definitions of cosine and sine.

Angle conventions explained

The math convention (also called the standard mathematical convention) measures θ counter-clockwise from the positive x-axis. This is what textbooks, physics equations like v = r·ω, and most programming libraries use by default.

The geographic convention measures θ as a bearing clockwise from North (the positive y-axis). Bearing = atan2(x, y), normalised to [0°, 360°). This is used in navigation, surveying, mapping APIs, and aviation. The calculator supports both so you can work directly in your domain without manual remapping.

Worked example

A point at (x = 3, y = 4) in the math convention, degrees:

  1. r = √(3² + 4²) = √(9 + 16) = √25 = 5
  2. θ = atan2(4, 3) ≈ 53.130°

So the polar form is (r = 5, θ ≈ 53.13°).

Reversing: start from (r = 5, θ = 53.13°):

  1. x = 5 · cos(53.13°) ≈ 5 × 0.6 = 3
  2. y = 5 · sin(53.13°) ≈ 5 × 0.8 = 4

Round-trip recovers the original point exactly (within floating-point precision).

xyrθ (math, deg)Quadrant
101+x axis
01190°+y axis
−101180°−x axis
0−11270°−y axis
34553.130°I
−345126.870°II
−3−45233.130°III
3−45306.870°IV

Where polar coordinates are used

Physics: Circular motion equations (centripetal force F = mv²/r, angular velocity ω = dθ/dt), planetary orbits (Kepler’s laws are elegant in polar form), wave optics, and electromagnetic field problems with radial symmetry all use polar or cylindrical coordinates naturally.

Engineering: Antenna radiation patterns, signal processing (complex numbers in polar form: z = r·e^(iθ)), control systems (Bode plots use the polar form of a transfer function), and stress tensors in circular cross-sections.

Navigation: Aircraft and ship bearings are geographic angles. Radar returns a (range, bearing) pair in polar form. GPS receivers convert ECEF Cartesian coordinates to latitude/longitude which is effectively spherical polar.

Computer graphics: Path-based drawing APIs (SVG arc commands, canvas arc), rotation transforms, particle systems, and procedural animation often work in polar coordinates and convert to screen-space Cartesian only at the rendering step.

Mathematics: Curves like the Archimedean spiral (r = aθ), rose curves (r = cos(nθ)), cardioids (r = 1 + cos θ), and lemniscates are far simpler in polar form than Cartesian. Integration over circular or annular regions is also dramatically easier in polar form using the Jacobian r dr dθ.

Ad placeholder (rectangle)