Table of contents
TOC
Collapse the table of content
Expand the table of content

TAN Function (DAX)

Owen Duncan|Last Updated: 5/22/2018

Returns the tangent of the given angle.

Syntax

TAN(number)  

Parameters

TermDefinition
numberRequired. The angle in radians for which you want the tangent.

Return Value

Returns the tangent of the given angle.

Remarks

If your argument is in degrees, multiply it by PI()/180 or use the RADIANS function to convert it to radians.

Example

FormulaDescriptionResult
=TAN(0.785)Tangent of 0.785 radians (0.99920)0.99920
=TAN(45*PI()/180)Tangent of 45 degrees (1)1
=TAN(RADIANS(45))Tangent of 45 degrees (1)1
© 2018 Microsoft