Rectangular to Polar Coordinates Calculator

Enter a point's Cartesian (x, y) coordinates to convert it to polar form: radius r = √(x² + y²) and angle θ = atan2(y, x).

Quick Facts

Radius formula
r = √(x² + y²)
The straight-line (Euclidean) distance from the origin to the point.
Angle formula
θ = atan2(y, x)
Four-quadrant arctangent; unlike arctan(y/x), it uses the sign of both x and y to place θ in the correct quadrant.
Quadrant rule
Signs of x and y
(+,+) → QI, (−,+) → QII, (−,−) → QIII, (+,−) → QIV.

Your Results

Calculated
Radius (r)
-
r = √(x² + y²)
Angle (θ), selected unit
-
θ = atan2(y, x)
Angle (θ), other unit
-
Same angle, converted
Location
-
Quadrant or axis

Ready

Enter x and y, then press Calculate.

Formula and Method for Rectangular to Polar Conversion

Every point in a plane can be described two ways: rectangular (Cartesian) coordinates (x, y), which give the horizontal and vertical distance from the origin, or polar coordinates (r, θ), which give the straight-line distance from the origin (r) and the angle (θ) measured counterclockwise from the positive x-axis. The two formulas that convert (x, y) into (r, θ) are r = √(x² + y²) and θ = atan2(y, x).

How the calculation works

The radius r is found with the Pythagorean theorem: x and y are the two legs of a right triangle, and r is the hypotenuse, so r = √(x² + y²). The angle θ is found with the two-argument arctangent function atan2(y, x) rather than plain arctan(y/x). Ordinary arctan only sees the ratio y/x, so it cannot tell (2, 3) apart from (−2, −3) — both give the same ratio, but they point in opposite directions. atan2 looks at the sign of x and y separately, so it returns the true angle anywhere in the full (−180°, 180°] range (equivalently (−π, π] radians). This calculator computes θ in radians internally with atan2, then converts to degrees by multiplying by 180/π when needed.

Common mistakes

  • Using arctan(y/x) instead of atan2(y, x): plain arctan gives the wrong quadrant for any point with a negative x-coordinate — always use the two-argument form, or manually add or subtract 180° based on the sign of x.
  • Mixing degrees and radians: most calculators, spreadsheets, and programming languages expect radians in trig functions by default — convert with θ(rad) = θ(°) × π/180 before feeding an angle into sin, cos, or tan.
  • Forgetting the origin is a special case: at (0, 0), r = 0 but θ is undefined, since a point with no distance from the origin has no meaningful direction.

Real-world applications

  • Robotics and navigation use polar coordinates to express heading and distance from a reference point.
  • Engineering and physics use polar (and their 3D extensions, cylindrical and spherical) coordinates for problems with rotational symmetry, like orbital motion or antenna radiation patterns.
  • Electrical engineering represents AC signals and impedance as phasors in polar form (magnitude and phase angle).
  • Computer graphics use polar coordinates to rotate points, generate circular or spiral layouts, and interpolate along curved paths.

Frequently Asked Questions

What is the formula for converting rectangular coordinates to polar coordinates?
The radius is r = √(x² + y²), the Euclidean distance from the origin to the point. The angle is θ = atan2(y, x), the four-quadrant arctangent, which can be converted to degrees by multiplying by 180/π.
Why use atan2(y, x) instead of arctan(y/x)?
Plain arctan(y/x) cannot tell the quadrants apart — points (1, 1) and (-1, -1) give the same ratio and the same arctan result even though they point in opposite directions. atan2(y, x) looks at the signs of both x and y separately and returns the correct angle across the full (-180°, 180°] range.
What is the polar form of the origin (0, 0)?
At the origin, r = 0 and the angle θ is undefined, since a point with zero distance from the origin has no defined direction. Any angle value paired with r = 0 represents the same point.
How do I convert the angle between degrees and radians?
Multiply radians by 180/π to get degrees, or multiply degrees by π/180 to get radians. For example, π/2 radians equals 90°.