Docs Functions math math.Tanmath.TanReturns the tangent of the given radian number.Syntaxmath.Tan VALUEReturnsfloat64{{ math.Tan 1 }} → 1.557407724654902Last updated: April 4, 2026 : content: Remove outdated new-in badges (21081f6d4)Improve this page