SciCalc.net
IndiaFree tools

Arctan calculator: inverse tan, tan⁻¹(x)

Type any number. The answer is the angle between −90° and 90° whose tangent is that number, for example tan⁻¹(1) = 45°.

Last updated

tan−1(1) =

45

Working

  1. 1tan−1(1) = 45standard angle
Try:

How it works

tan⁻¹(x), also written arctan x, gives the angle θ with tan θ = x. Unlike sin⁻¹ and cos⁻¹ it works for every number, because a slope can be any size. The answer is the principal value, strictly between −90° and 90° (−π/2 and π/2).

θ = tan⁻¹(opposite ÷ adjacent)

It is the usual way to get an angle from two sides of a right-angled triangle, or the direction of a slope from rise and run.

Worked example

A road rises 2 m for every 1 m forward horizontally. What angle does it make with the horizontal? tan θ = 2/1 = 2, so θ = tan⁻¹(2) ≈ 63.43°.

Tan inverse of 4/3: the 3-4-5 triangle

A right triangle has sides 3, 4 and 5. Find the angle opposite the side of length 4. The adjacent side is 3, so

θ = tan⁻¹(4/3) ≈ 53.13010235°

The other acute angle is tan⁻¹(3/4) ≈ 36.86989765°. Together they make exactly 90°, as the two small angles of a right triangle must. In general, tan⁻¹(1/x) = 90° − tan⁻¹(x) when x is positive.

Roof pitch and road grade

Slopes are often given as rise over run. A roof that rises 6 in for every 12 in of run has an angle of tan⁻¹(6/12) = tan⁻¹(0.5) ≈ 26.56505118°. A road with a 5% grade rises 5 m for every 100 m of run, so its angle is tan⁻¹(0.05) ≈ 2.862405226°.

Why does tan⁻¹ point the wrong way for (−3, 4)?

tan⁻¹ only sees the ratio y ÷ x. For the point (−3, 4) the ratio is −4/3, and tan⁻¹(−4/3) ≈ −53.13010235°. That direction is down and to the right, but the point is up and to the left. When x is negative, add 180°:

−53.13010235° + 180° ≈ 126.8698976°

Programming languages offer atan2(y, x), which uses the signs of both numbers to pick the quadrant and returns an angle from −180° to 180° (−π to π). For the point (−1, −1) it gives −135°, the same direction as 225°, while tan⁻¹(1) alone gives 45°.

Common mistakes

  • Swapping the sides. tan⁻¹(3/4) gives the other acute angle. The side opposite the angle goes on top.
  • Typing a percentage as a whole number. A 5% grade is tan⁻¹(0.05). tan⁻¹(5) ≈ 78.69006753°, which is a cliff, not a road.
  • Ignoring the quadrant. Check the signs of x and y before you trust the angle.
  • Mixing units. tan⁻¹(1) is 45 in degrees but 0.7853981634 (π/4) in radians.

Arctan values in degrees and radians

xtan⁻¹(x) in degreestan⁻¹(x) in radians
−√3−60°−π/3
−1−45°−π/4
−√3/3−30°−π/6
00°0
2 − √315°π/12
√3/330°π/6
√360°π/3
2 + √375°5π/12
100089.94270424°close to π/2

Tips

  • For a direction in all four quarters (such as converting x, y to an angle), check the signs of x and y: tan⁻¹ alone cannot tell (1, 1) from (−1, −1).
  • Large x gives angles close to 90°, never exactly 90°.
  • Switch the answer to radians for values like π/4.

Questions

What is arctan(1)?

45°, or π/4 radians.

Can tan⁻¹ take any number?

Yes. Every real number is the tangent of exactly one angle between −90° and 90°.

How is arctan different from cot?

cot θ = 1/tan θ is a ratio. tan⁻¹ is the inverse function that returns an angle.

How do I find the tan inverse of 4/3?

Take tan⁻¹(4/3), which is about 53.13010235°, or 0.927295218 in radians. It is the larger acute angle of a 3-4-5 right triangle.

What is sin if tan is 4/3?

Draw a right triangle with opposite side 4 and adjacent side 3. The hypotenuse is 5, so sin θ = 4/5 = 0.8 for an angle between 0° and 90°.

How do I find every angle with a given tangent?

Take θ = tan⁻¹(x), then add or subtract whole multiples of 180°. Tangent repeats every 180°, so tan⁻¹(1) = 45° and 225° has the same tangent.

Sources

  1. NIST Digital Library of Mathematical Functions, Chapter 4: Elementary Functions. Table 4.23.1: arctan(±1) = ±π/4, arctan 0 = 0, arctan(±∞) = ±π/2. Checked 22 November 2026.
  2. NIST Digital Library of Mathematical Functions, Chapter 4: Elementary Functions. Equations 4.23.9 (arccot z = arctan(1/z)), 4.23.18 (arccot z = ±π/2 − arctan z) and 4.23.33 (general solution arctan z + kπ). Checked 22 November 2026.
  3. NIST Digital Library of Mathematical Functions, Chapter 4: Elementary Functions. Table 4.17.1: tan(π/12) = 2 − √3 and tan(5π/12) = 2 + √3. Checked 22 November 2026.
  4. The Open Group Base Specifications Issue 8 (POSIX.1-2024): atan2. DESCRIPTION and RETURN VALUE: signs of both arguments determine the quadrant; range [−π, π] radians. Checked 22 November 2026.