ATAN Function in Excel: Angle From a Slope

ATAN Function in Excel: Angle From a Slope featured illustration

πŸ“Ž This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 5 October 2026

MathLevel: ExpertAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. ATAN in practice
  5. Where you will use it
  6. Worked example
  7. Mistakes people make
  8. Related functions
  9. Continue learning

ATAN turns a slope (rise/run) into an angle. ATAN2 handles all four quadrants.

Advertisement

Syntax

=ATAN(number)
Argument What it means
number Slope.

Examples

Example 1

=DEGREES(ATAN(1/12))

A 1:12 wheelchair ramp is about 4.8 degrees.

ATAN in practice

Where you will use it

  • Angle of a slope (rise/run)
  • Ramp and roof angles
  • Direction from a gradient

Worked example

A 1:12 wheelchair ramp is about 4.76Β°.

Rise/RunFormulaResult
1=ROUND(DEGREES(ATAN(A2)),2)45
0.0833=ROUND(DEGREES(ATAN(A3)),2)4.76
10=ROUND(DEGREES(ATAN(A4)),2)84.29

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Quadrant lostATAN can't tell directions apart; use ATAN2(x,y)
RadiansUse DEGREES

ATAN2 Β· TAN

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

  • πŸ“—
    Practice workbook: Math & rounding24 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 35 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong