
MathLevel: ExpertAvailable in: Excel 2007+
In this article
- Syntax
- Examples
- Example 1
- Related functions
ATAN2 returns the angle of a point, handling all four quadrants. Note Excel’s order is (x, y) — the reverse of many programming languages.
Syntax
=ATAN2(x_num, y_num)
| Argument |
What it means |
x_num, y_num |
Coordinates. |
Examples
Example 1
=DEGREES(ATAN2(B2, C2))
Compass-style bearing from east/north offsets.
DEGREES · SIN
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
✨ Ask AI about this articleStuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong