C# Asinh()

stuartmosquera's avatar
Published Jan 24, 2026
Contribute to Docs

The Math.Asinh() method returns the inverse hyperbolic sine of a number, in radians. This method appears frequently in advanced mathematics, including physics, geometry, machine learning, and numerical analysis.

Note: The static method Math.Asinh() was introduced in .NET Core 2.1.

  • Looking for an introduction to the theory behind programming? Master Python while learning data structures, algorithms, and more!
    • Includes 6 Courses
    • With Professional Certification
    • Beginner Friendly.
      75 hours
  • Learn Microsoft's popular C# programming language, used to make websites, mobile apps, video games, VR, and more.
    • Beginner Friendly.
      15 hours

Syntax

Math.Asinh(value);

Parameters:

  • value (double): A real number. If value is NaN, the method returns NaN.

Return value:

Returns the inverse hyperbolic sine of value, in radians.

Example

The following example demonstrates the Math.Asinh() method and writes the result to the console:

using System;
class Program
{
static void Main()
{
double x = 2;
double result = Math.Asinh(x);
Console.WriteLine(result);
}
}

The example will result in the following output:

1.4436354751788103

Codebyte Example

The following codebyte example uses the Math.PI constant field to convert the result into degrees:

Code
Output

All contributors

Contribute to Docs

Learn C# on Codecademy

  • Looking for an introduction to the theory behind programming? Master Python while learning data structures, algorithms, and more!
    • Includes 6 Courses
    • With Professional Certification
    • Beginner Friendly.
      75 hours
  • Learn Microsoft's popular C# programming language, used to make websites, mobile apps, video games, VR, and more.
    • Beginner Friendly.
      15 hours