--- title: Math.asinh() short-title: asinh() slug: Web/JavaScript/Reference/Global_Objects/Math/asinh page-type: javascript-static-method browser-compat: javascript.builtins.Math.asinh sidebar: jsref --- The **`Math.asinh()`** static method returns the inverse hyperbolic sine of a number. That is, π™ΌπšŠπšπš‘.πšŠπšœπš’πš—πš‘(𝚑)=arsinh(x)=the unique y such that sinh(y)=x=ln(x+x2+1)\begin{aligned}\mathtt{\operatorname{Math.asinh}(x)} &= \operatorname{arsinh}(x) = \text{the unique } y \text{ such that } \sinh(y) = x \\&= \ln\left(x + \sqrt{x^2 + 1}\right)\end{aligned} {{InteractiveExample("JavaScript Demo: Math.asinh()")}} ```js interactive-example console.log(Math.asinh(1)); // Expected output: 0.881373587019543 console.log(Math.asinh(0)); // Expected output: 0 console.log(Math.asinh(-1)); // Expected output: -0.881373587019543 console.log(Math.asinh(2)); // Expected output: 1.4436354751788103 ``` ## Syntax ```js-nolint Math.asinh(x) ``` ### Parameters - `x` - : A number. ### Return value The inverse hyperbolic sine of `x`. ## Description Because `asinh()` is a static method of `Math`, you always use it as `Math.asinh()`, rather than as a method of a `Math` object you created (`Math` is not a constructor). ## Examples ### Using Math.asinh() ```js Math.asinh(-Infinity); // -Infinity Math.asinh(-1); // -0.881373587019543 Math.asinh(-0); // -0 Math.asinh(0); // 0 Math.asinh(1); // 0.881373587019543 Math.asinh(Infinity); // Infinity ``` ## Specifications {{Specifications}} ## Browser compatibility {{Compat}} ## See also - [Polyfill of `Math.asinh` in `core-js`](https://github.com/zloirock/core-js#ecmascript-math) - [es-shims polyfill of `Math.asinh`](https://www.npmjs.com/package/math.asinh) - {{jsxref("Math.acosh()")}} - {{jsxref("Math.atanh()")}} - {{jsxref("Math.cosh()")}} - {{jsxref("Math.sinh()")}} - {{jsxref("Math.tanh()")}}