Math.asinh()
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
TheMath.asinh() static method returns the inverse hyperbolic sine of a number. That is,
In this article
Try it
console.log(Math.asinh(1));// Expected output: 0.881373587019543console.log(Math.asinh(0));// Expected output: 0console.log(Math.asinh(-1));// Expected output: -0.881373587019543console.log(Math.asinh(2));// Expected output: 1.4436354751788103Syntax
js
Math.asinh(x)Parameters
xA number.
Return value
The inverse hyperbolic sine ofx.
Description
Becauseasinh() is a static method ofMath, you always use it asMath.asinh(), rather than as a method of aMath object you created (Math is not a constructor).
Examples
>Using Math.asinh()
js
Math.asinh(-Infinity); // -InfinityMath.asinh(-1); // -0.881373587019543Math.asinh(-0); // -0Math.asinh(0); // 0Math.asinh(1); // 0.881373587019543Math.asinh(Infinity); // InfinitySpecifications
| Specification |
|---|
| ECMAScript® 2026 Language Specification> # sec-math.asinh> |