# ATAN2

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function calculates the arctangent of the specified x- and y-coordinates.

## Syntax

ATAN2(*x*,*y*)

## Arguments

This function can take real numbers as arguments.

## Remarks

The arctangent is the angle from the x-axis to a line containing the origin (0, 0) and a point with coordinates (*x*, y).
The result is given in radians between –PI and PI, excluding –PI. If you want to convert the result to degrees, multiply the result by 180/PI.

## Data Types

Accepts numeric data. Returns numeric data.

## Examples

`ATAN2(A1,E3)`
`ATAN2(R1C1,R3C5)`
`ATAN2(1,1)` gives the result 0.7853981634

## Version Available

This function is available in product version 1.0 or later.

## See Also

[ACOS](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionACOS) \| [ASIN](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionASIN) \| [ATAN](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionATAN) \| [TAN](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsTtoZ/FunctionTAN) \| [Math and Trigonometry Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsmathtrig)