Trigonometry

Cartesian → Polar

Convert (x, y) to polar (r, θ).

Formula

Formula
r = x2+y2, θ = atan2(y, x)

Variables

SymbolDefinitionType & rangeUnitsRole
x, y coordinates real number (ℝ) input

Try it yourself

Interactive calculator
Result

Worked examples

Example 1
Givenx = 3, y = 4
Result
r
5
θ(deg)
53.13010235
Example 2
Givenx = 0, y = 5
Result
r
5
θ(deg)
90