Math

Polar to Cartesian Converter (and Back)

Choose the direction and enter the coordinates.

Your numbers

Your results

Cartesian (x, y)
Cartesian (x, y)
—
Polar (r, θ in degrees)
—
θ in radians
—
Quadrant
—

Polar to Cartesian Converter (and Back) by TheCalcTools

How the Polar to Cartesian Converter (and Back) works

Polar coordinates give a point by its distance r from the origin and its angle θ from the positive x-axis. x = r cos θ and y = r sin θ.

Going back, r = √(x² + y²) and θ = atan2(y, x), which picks the correct quadrant. Angles here are reported from 0° to 360°.

The formula

x = r cos θ, y = r sin θ; r = √(x² + y²), θ = atan2(y, x)

Worked example

Using the default values shown in the calculator:

ConvertCartesian (x, y) to polar (r, θ)
x3
y-4
r (distance from the origin)5
θ (degrees)30
  1. (3, −4) is r = 5 at θ = 5.355890 radians: (5, 306.869898°).

Result:

Cartesian (x, y)(3, -4)
Polar (r, θ in degrees)(5, 306.869898°)
θ in radians5.3559
QuadrantIV

Frequently asked questions

Why use atan2 rather than atan(y/x)?

atan(y/x) cannot tell (1, 1) from (−1, −1). atan2 looks at both signs and returns the right quadrant.

Sources and further reading

More in Math · All calculators

This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.