Cartesian to Polar Converter
Convert any 2D point (x, y) into polar form (r, θ). Choose degrees or radians, and get both the raw angle (from atan2) and a normalized 0–360° version.
Convert coordinates
Result (Polar)
r: –
θ (raw): –
θ (normalized): –
Raw angle is the direct output of atan2, which may be negative. Normalized angle is shifted into [0, 360°) or [0, 2π) depending on unit.
Need the opposite? Try Polar to Cartesian.
Formulas used
Given a point in the plane as (x, y), the polar coordinates (r, θ) are:
r = √(x² + y²)θ = atan2(y, x)
atan2(y, x) is preferred over arctan(y/x) because it returns the correct angle for all quadrants and for x = 0.
Degrees vs radians
If you choose degrees, the tool converts the raw angle from radians to degrees via:
degrees = radians × 180 / π
Normalized angle
The angle from atan2 can be negative (for points below the x-axis). To make it more readable, we normalize it:
θnorm = θ (if θ ≥ 0)θnorm = θ + 2π (if θ < 0)
For degrees we do the same but with 360°.
FAQ
Why is my angle negative?
This is normal. Points in Quadrant IV (below the x-axis, x > 0, y < 0) have negative angles if you use atan2. Use the normalized value for a 0–360° representation.
What if x = 0?
atan2 handles it correctly. If x = 0 and y > 0, θ = 90° (π/2). If x = 0 and y < 0, θ = 270° (3π/2) in the normalized form.
What if the point is the origin?
If x = 0 and y = 0, then r = 0 and the angle is technically undefined. Here we set θ = 0 for convenience.