# Atan2 Calculator

The arc tangent function with two arguments is called as the atan2. It can be represented as atan2(y,x). It was initially used by the computer programming languages and now it has been used in various science and engineering fields. The results of the atan2 function will range between -π to +π. Find the atan 2 value with this calculator.

The arc tangent function with two arguments is called as the atan2. It can be represented as atan2(y,x). It was initially used by the computer programming languages and now it has been used in various science and engineering fields. The results of the atan2 function will range between -π to +π. Find the atan 2 value with this calculator.

Code to add this calci to your website

#### Formula:

atan2(y,x) = arctan(y/x) if x > 0,
atan2(y,x) = arctan(y/x) + π if x < 0 and y≥0,
atan2(y,x) = arctan(y/x) - π if x < 0 and y < 0,
atan2(y,x) = +π / 2 if x=0 and y > 0,
atan2(y,x) = - π / 2 if x=0 and y < 0,
atan2(y,x) = undefined if x=0 and y=0
**Where,**
x = x co-ordinate
y = y co-ordinate

#### Example

**
Find Atan2 (8,5) **

Here y = 8 and x = 5

Since x > 0,

atan2(y,x) = arctan(8/5)

= 1.0122