C# Acosh()
Published Nov 19, 2025
Contribute to Docs
The Math.Acosh() method returns the inverse hyperbolic cosine (also known as hyperbolic arccosine) of a specified number. It computes the value whose hyperbolic cosine equals the given number.
Syntax
Math.Acosh(number);
Parameters:
number: A double-precision floating-point value greater than or equal to1, for which to compute the inverse hyperbolic cosine.
Return value:
- The inverse hyperbolic cosine of the specified number in radians as a
double. NaNif the input is less than1orNaN.
Example: Basic Usage of Math.Acosh()
This example calculates the inverse hyperbolic cosine of a number using Math.Acosh() and displays the result in radians:
using System;public class Example{public static void Main(){double number = 1.5;double result = Math.Acosh(number);Console.WriteLine($"Math.Acosh({number}) = {result} radians");}}
This example outputs the following:
Math.Acosh(1.5) = 0.9624236501192069 radians
Codebyte Example
In this example, the Math.Acosh() method is used to calculate the inverse hyperbolic cosine of a specified number in radians and 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