ATAN2

Returns the angle between the x-axis and a line segment from the origin (0,0) to specified coordinate pair (`x`,`y`), in radians. Learn more

Video field
Math

In Google Sheets, ATAN2 is a function that returns the arctangent of the quotient of two given values, x and y, in radians. The function takes two arguments:

x: This is the numerator value of the quotient for which you want to calculate the arctangent. y: This is the denominator value of the quotient for which you want to calculate the arctangent.

The ATAN2 function is different from the ATAN function because it returns an angle in the correct quadrant of the coordinate plane. In other words, it takes into account the signs of both x and y to determine the correct angle. The angle returned by the ATAN2 function is in radians.

Want even more from Google Sheets?


With Softr, you can turn your spreadsheets into powerful web apps.You can give advanced roles and permissions to each user, build advanced logic and automation flows, customize the design to your needs, and much more.


Softr also offers a growing library of templates for internal tools, client portals, community hubs, and more. The templates come with a Google Sheet or an Airtable base that you can use to store and manage your data easily.


Try Softr now and build your custom web apps in 10 minutes no code required!