C# Asinh()
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.
Syntax
Math.Asinh(value);
Parameters:
value(double): A real number. If value isNaN, the method returnsNaN.
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:
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve 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