asin

asin(x)

Try it yourself:

See also:

asin(): Finding an Angle from Its Sine

asin() returns the principal angle whose sine equals the input. It reverses sin() for its principal interval and is widely used to recover an angle from a vertical ratio, normalized coordinate, or measured signal.

Real values and range

For real results, asin(x) requires −1 ≤ x ≤ 1 and returns an angle from −π/2 to π/2. Thus asin(0) is 0 and asin(1) is π/2. An input outside the interval cannot be a real sine; check normalization and rounding before assuming the calculation is wrong.

For example, after dividing an opposite side by a hypotenuse, asin gives the acute signed angle associated with that ratio. Clamp a value that should theoretically be in range using min() and max() when floating-point noise is the only source of overflow.

Choosing the correct inverse

Sine has the same value at more than one angle, so asin cannot recover a unique full-circle direction. When both coordinates are available, use atan2(). For cosine-derived ratios use acos(); for tangent ratios use atan().

Keep results in radians when passing them back to sin or combining them with other mathematical functions. Convert to degrees only for a human-facing display, and verify by evaluating sin(asin(x)).

Try Asin in Calcul.io

Start with one of the editable examples above, then replace its arguments with your own values. Keeping the function on a separate calculator line makes the input and result easy to compare. For a longer workflow, assign the result to a variable or reference that line in the next expression.

Check the shown signature before adding optional arguments, and use the related-function links to compare operations with similar purposes.

All functions