MathsTrigonometry

Inverse Trig
calculator.

Turn a sine, cosine or tangent ratio back into its angle, in degrees or radians.

How it's worked out

Sine, cosine and tangent take an angle and give a ratio. The inverse functions run the other way: you know the rise over the run of a ramp, and you want its angle. Trouble is, sine repeats every full turn, so many angles share one ratio. To stay a true function, each inverse returns one angle from a fixed range. That one angle is the principal value.

θ\displaystyle \theta=arcsin⁡x means sin⁡θ\displaystyle {}= \arcsin x \text{ means } \sin\theta=x\displaystyle {}= x
What each function takes and returns
FunctionTakesReturns
arcsin(x)−1 ≤ x ≤ 1−90° to 90°
arccos(x)−1 ≤ x ≤ 10° to 180°
arctan(x)all real xbetween −90° and 90°, endpoints excluded
arccsc(x)|x| ≥ 1−90° to 90°, excluding 0
arcsec(x)|x| ≥ 10° to 180°, excluding 90°
arccot(x)all real xbetween 0° and 180°, endpoints excluded
atan2(y, x)any (y, x) except (0, 0)above −180° up to 180° (−π to π]

The reciprocal functions are rewritten first, which is why both of these need an input of size 1 or more.

arccsc⁡x\displaystyle \operatorname{arccsc} x=arcsin⁡1x\displaystyle {}= \arcsin\frac{1}{x}
arcsec⁡x\displaystyle \operatorname{arcsec} x=arccos⁡1x\displaystyle {}= \arccos\frac{1}{x}

To find the other angles with the same ratio, use the general forms. Sine gives the angle and 180° minus it. Cosine gives the angle and its negative. Tangent repeats every 180°. Each of these then repeats with whole turns, and the tool lists them from 0° to 360°.

atan2 takes the two parts of a direction, y and x, on their own. It can see both signs, so it can tell which of the four quadrants the point is in. The inverse hyperbolic functions are different again. They have closed forms built from logarithms, and each result is a plain number, so a degree reading would mean nothing.

arcsinh⁡x\displaystyle \operatorname{arcsinh} x=ln⁡(x+x2+1)\displaystyle {}= \ln\left(x + \sqrt{x^2 + 1}\right)
arctanh⁡x\displaystyle \operatorname{arctanh} x=12ln⁡1+x1−x\displaystyle {}= \frac{1}{2}\ln\frac{1 + x}{1 - x}

Worked examples

Maya checks the angle of a wheelchair ramp

The ADA Standards, section 405.2, say a ramp run may not be steeper than 1:12, which is one unit of rise for every 12 of run. Maya wants that as an angle for her drawing. Rise over run is the tangent, so she needs the inverse tangent of 112\frac{1}{12}.

The answer is 4.76°, or 0.0831 radians. That is flatter than many people picture. A ramp at 1 in 8 would come to 7.13°, which is 2.36° steeper and over that limit.

Open this example in the tool

Sam finds the heading of the point (−4, 3)

Sam has a move of 4 units left and 3 units up, and he needs its direction. atan2 gives 143.13°, which points up and to the left, as it should. The move has a length of 5.

If he divides first, he gets the tangent of −36.87°, which points down and to the right. The two answers differ by 180°, and the division has hidden that. A move of 4 right and 3 down gives the same ratio.

Open this example in the tool

Priya lists every angle with a sine of 0.5

A homework question asks for all angles from 0° to 360° with a sine of 0.5. The inverse sine gives 30°, or π6\frac{\pi }{6} radians, and that is only the principal value. Sine is also positive in the second quadrant, so the full answer is 30° and 150°.

For every turn of the circle she adds a whole number of 360° to each one. The equation solver takes this further, for equations such as a sine of 2x.

Open this example in the tool

Reading your result

A negative input is a clue. Arccos returns 0° to 180°, so the inverse cosine of −0.3 is 107.46°, an obtuse angle. That is what you want in a triangle, where an angle can be over 90° but never below 0°. Arcsin returns −90° to 90°, so its negative inputs give negative angles.

Arccot has two conventions. This tool returns 0° to 180°, so the inverse cotangent of −1 is 135°. NIST writes arccot as arctan of the reciprocal, which would give a negative angle for that input. The two readings differ by 180° when the input is negative, so check which one your course or software uses.

A hyperbolic result is not an angle. The inverse hyperbolic sine of 1 is 0.881374. It has no degree form, and the tool shows none. You meet these in cable shapes and in relativity, not in triangles.

Sine and cosine inverses are partners. For any input from −1 to 1 the two results add up to 90°. So at an input of 0.5, the inverse cosine is 60° and the inverse sine is 30°.

Common mistakes

  • Reading the raised −1 as a reciprocal. The raised −1 on sine means the inverse function, which returns an angle. The reciprocal of sine is cosecant.
  • Stopping at the first angle. The principal value is one answer out of many. If your problem allows angles outside the range, use the list for one turn and the general form.
  • Typing a rounded input. The inverse sine of 0.866 comes to 59.9971°, not 60°. Use the square root key and enter the exact ratio when you have it.
  • Dividing y by x when the signs matter. A vector pointing left needs atan2, because a single ratio cannot tell left from right.

Questions people ask

A function can only return one output for each input, and sine reaches each value many times. So the inverse is limited to the part of sine that runs from −90° to 90°, where each value appears once. The other angles still exist, and you find them from the symmetry of the circle.

Sources