Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Inverse trig calculator

Find the angle from a sine, cosine, tangent or other ratio. Answers come in degrees and radians, with the exact value for standard angles and a plain explanation when there's no answer.

Private: calculated on your device. Nothing you type is sent anywhere.

Next: Solving a whole triangle from sides and angles? Use the triangle calculator. Finding the angle of a complex number? Try the complex number calculator.

What an inverse trig function gives you

sin, cos and tan take an angle and give a ratio. The inverse functions go the other way: give arctan a slope of 1 and it returns 45°, the angle whose tangent is 1. Use them to find an angle in a right triangle from two sides, the direction of a vector, a roof or ramp angle from its slope, or the phase of a complex number.

Principal values: why there's one answer

Infinitely many angles share the same sine (30°, 150°, 390° and so on), so each inverse function picks one range of angles, its principal values:

arcsin x: x from −1 to 1, angle from −90° to 90° (−π/2 to π/2)
arccos x: x from −1 to 1, angle from 0° to 180° (0 to π)
arctan x: any x, angle strictly between −90° and 90°
arccsc x = arcsin(1/x), arcsec x = arccos(1/x), for |x| ≥ 1
arccot x: any x, angle strictly between 0° and 180° (see below)
atan2(y, x): the angle of the point (x, y), from just above −180° up to 180°

To get radians from degrees, multiply by π ÷ 180.

Worked example: what is arctan of 1?

You want the angle whose tangent is 1, which means opposite = adjacent. In a right triangle with two equal legs, the angles are 45° and 45°. So arctan(1) = 45° = π/4 ≈ 0.7853981634 radians. Similarly arctan(2) ≈ 63.4349°, or 1.107149 radians.

Exact values for standard angles

xarcsin xarccos x
−1−π/2 (−90°)π (180°)
−√3/2−π/3 (−60°)5π/6 (150°)
−√2/2−π/4 (−45°)3π/4 (135°)
−1/2−π/6 (−30°)2π/3 (120°)
00π/2 (90°)
1/2π/6 (30°)π/3 (60°)
√2/2π/4 (45°)π/4 (45°)
√3/2π/3 (60°)π/6 (30°)
1π/2 (90°)0
xarctan x
−√3−π/3 (−60°)
−1−π/4 (−45°)
−√3/3−π/6 (−30°)
00
√3/3π/6 (30°)
1π/4 (45°)
√3π/3 (60°)

You can type these values directly, for example sqrt(3)/2, and the calculator will recognize the exact angle.

atan2 and the quadrant problem

arctan(y ÷ x) can't tell (1, 1) from (−1, −1), because both give a ratio of 1. atan2(y, x) looks at the signs of x and y separately, so it returns the true direction of the point. atan2(1, −1) is 135° (3π/4), while arctan(1 ÷ −1) is −45°. It matches the principal argument of the complex number x + yi.

Limitations

  • Domain errors. arcsin and arccos only accept −1 to 1, because sine and cosine never leave that range. arccsc and arcsec only accept values of at least 1 in size. Outside those ranges there's no real angle, and the calculator says so.
  • arccot convention. This page uses the range 0° to 180°, which keeps arccot continuous. The NIST Digital Library of Mathematical Functions defines arccot x as arctan(1/x), which gives a negative angle for negative x. When x is negative, the page shows both.
  • Answers are real angles only. Complex inverse functions aren't covered.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • arctan 1 = 45° = π/4 ✓
  • arctan 1 ≈ 0.7853981634 rad ✓
  • arcsin(1/2) = 30° = π/6 ✓
  • arccos(−1/2) = 120° = 2π/3 ✓
  • arcsin(√3/2) = 60° = π/3 ✓
  • arctan 2 ≈ 63.43494882° ≈ 1.107148718 rad ✓
  • arcsin 0.4 ≈ 23.57817848° (not a standard angle) ✓
  • arcsec 2 = 60° ✓
  • arccot(−1) = 135° (0–180° range); −45° in the arctan(1/x) convention ✓
  • atan2(1, −1) = 135° = 3π/4 ✓
  • atan2(−3, −4) ≈ −143.1301024° ✓
  • arcsin 2 has no real answer ✓
  • arcsec 0.5 has no real answer ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

What is arctan of 1?

45°, which is π/4 radians ≈ 0.7853981634. It's the angle whose tangent (opposite ÷ adjacent) is 1.

How do I calculate inverse tangent?

Choose arctan and enter the ratio, such as opposite ÷ adjacent. On most calculators it's the tan⁻¹ key; make sure the calculator is in the angle unit you want.

What is the opposite of cosine?

The inverse of cosine is arccos (cos⁻¹). It takes a value from −1 to 1 and returns an angle from 0° to 180°. Secant, 1 ÷ cos, is the reciprocal, which is a different thing.

Why does arcsin(2) give an error?

Sine is never larger than 1, so no real angle has a sine of 2. The same goes for arccos of any number outside −1 to 1.

Is tan⁻¹ the same as 1/tan?

No. tan⁻¹ x means arctan x, the angle whose tangent is x. 1 ÷ tan x is the cotangent, cot x.

Related calculators