Trigonometry

Atan2

Angle of point (x, y) from origin.

Formula

Formula
θ = atan2(y, x)

Variables

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

Try it yourself

Interactive calculator
Result

Worked examples

Example 1
Giveny = 1, x = 1
Result45
Example 2
Giveny = 1, x = 0
Result90