Skip to main content
Computes the arctangent of the given coordinates Category: math Syntax:
Atan2([y], [x])
Returns: Float Context Filtering: ✓ Yes

Parameters

NameTypeRequiredDescription
ynumber or column✓ YesThe y coordinate of the point
xnumber or column✓ YesThe x coordinate of the point
Allowed Column Types for y: INT, FLOAT, DECIMAL Allowed Column Types for x: INT, FLOAT, DECIMAL

Validation

  • Minimum parameters: 2
  • Maximum parameters: 2

Examples

Atan2([Y Coordinate], [X Coordinate])
Calculates the arctangent for each pair of coordinates
Atan2(0, 1)
Returns the arctangent of coordinates (0, 1) Result: 0
Last modified on March 13, 2026