Formulas > =ATAN2()

How to Use ATAN2() in Google Sheets

Description

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

How To Actually Use ATAN2() in Sheets

ATAN2(x, y)

Try ATAN2 yourself

In cells A1 and B1, enter the x and y coordinates respectively. Use the ATAN2 formula in cell C1 to calculate the angle in radians between the x-axis and the line segment from the origin to the point (x, y).

Hints (2)

Looking for a video tutorial? Members can email me anytime! Check out the blogs below for more info on this formula. Or generate your formula. Find more formulas here at BetterSheets.co/formulas

Transcript-matched member videos for ATAN2(). Click through to watch.

Browse more tutorials
REGEXMATCH Formula Generator for Google Sheets

REGEXMATCH Formula Generator for Google Sheets

Revolutionize the way you handle data with the BetterSheets REGEXMATCHER...
Write Apps Script to Create a New Google Sheets Formula

Write Apps Script to Create a New Google Sheets Formula

Create a brand new custom formula in Apps Script. We'll do this for our ...
One Weird Google Sheet Formula for Bulk Publishing With AI

One Weird Google Sheet Formula for Bulk Publishing With AI

'll show you a game-changing Google Sheet formula that will make your da...
Create a Trello Board with Transpose Formula in Google Sheets

Create a Trello Board with Transpose Formula in Google Sheets

Use Transpose() to create a web-based, Kanban style, list-making applica...

Learn more about the ATAN2() formula:

Generate a ATAN2() formula for your needs

Describe your task in plain English and get a paste-ready formula that uses ATAN2(). 2 free AI generations, no signup. Members get unlimited use.

Generate a ATAN2() formula