Inverse Tangent Calculator

Inverse Tangent Calculator

  • 9 angle units
  • Exact values
  • atan2 quadrants
  • Step-by-step
  • Free · no sign-up

An inverse tangent calculator finds the angle whose tangent equals a given number. Enter a decimal, the opposite and adjacent sides of a right triangle or an (x, y) point to get tan⁻¹(x) in degrees, radians and 7 more units, with exact values, steps and a graph for triangles, slopes, phase angles and bearings.

What is Inverse Tangent?

Inverse tangent is the function that returns the angle whose tangent equals a given number. Inverse tangent is written as tan⁻¹(x), arctan(x) or atan(x), and it reverses the tangent function: tan(45°) = 1, so tan⁻¹(1) = 45°.

Inverse tangent (arctangent) is one of the 6 inverse trigonometric functions in trigonometry: arcsin, arccos, arctan, arccsc, arcsec and arccot. Arctangent accepts every real number and returns a principal value between −90° and 90° (−π/2 and π/2 radians).

In a right triangle, the tangent of an angle θ equals the opposite side divided by the adjacent side. The inverse tangent takes that opposite/adjacent ratio and returns the angle θ. In algebra, tan⁻¹ solves equations such as tan θ = 2: θ = tan⁻¹(2) = 63.43°.

  • Input: any real number, such as a ratio, a slope or a decimal.
  • Output: an angle in degrees or radians.
  • Range: −90° < θ < 90°, or −π/2 < θ < π/2.

Ratio to angle

How to Calculate Inverse Tangent?

To calculate inverse tangent, divide the opposite side by the adjacent side and apply tan⁻¹ to the result. The inverse tangent calculation has 3 steps:

  1. Divide the opposite side by the adjacent side: x = opposite / adjacent.
  2. Apply the inverse tangent: θ = tan⁻¹(x), in radians.
  3. Convert the angle to degrees, if needed: degrees = radians × 180/π.

Opposite = 3 and adjacent = 4 give x = 0.75. tan⁻¹(0.75) = 0.6435 rad = 36.87°. The hypotenuse follows from the Pythagorean theorem: √(3² + 4²) = 5.

Two more inverse tangent examples: tan⁻¹(0) = 0° and tan⁻¹(1/3) = 18.43° (0.3218 rad).

Work it out step by step

How to Use This Inverse Tangent Calculator?

To use this inverse tangent calculator, choose an input method, type the value and read the angle. Using the tan-1 calculator takes 5 steps:

  1. Choose the input: Decimal / x, Opp / Adj (opposite / adjacent) or Point (x, y).
  2. Enter the value: a decimal, a fraction such as 3/4 or an expression such as 1/√3.
  3. Pick 1 of 9 result units, including degrees, radians, gradians and minutes or seconds of arc.
  4. Set the rounding: integer, tenths, hundredths, thousandths or up to 15 decimal places for maximum accuracy.
  5. Read the angle, the exact value, the step-by-step solution and the diagram. Switch on Show labels to name the triangle sides.

This arc tan calculator updates the result as you type. The Point (x, y) input uses atan2(y, x), so the arctan calculator returns the full angle in all 4 quadrants, from −180° to 180°.

Try an example

Each button fills the calculator above and scrolls to the result.

Inverse Tangent Formula

The inverse tangent formula is θ = tan⁻¹(opposite / adjacent).

θ = tan⁻¹(opposite / adjacent)

The formula comes from the tangent ratio of a right triangle, tan θ = opposite / adjacent. Applying tan⁻¹ to both sides isolates the angle θ. There are 7 related inverse tangent formulas:

  • Coordinates: θ = atan2(y, x) for a point (x, y).
  • Slope: θ = tan⁻¹(m), where m = rise / run.
  • Complement: tan⁻¹(x) + tan⁻¹(1/x) = 90° for x > 0.
  • Sum: tan⁻¹(a) + tan⁻¹(b) = tan⁻¹((a + b) / (1 − ab)) for ab < 1.
  • Derivative (calculus, differentiation): d/dx tan⁻¹(x) = 1 / (1 + x²).
  • Integral (integration): ∫ tan⁻¹(x) dx = x·tan⁻¹(x) − ½·ln(1 + x²) + C.
  • Complex numbers and hyperbolic functions: tan⁻¹(z) = (i/2)·ln((i + z) / (i − z)) = −i·tanh⁻¹(iz).

Drag the triangle

Drag the blue corner, or focus it and use the arrow keys.

Inverse Tangent in Degrees

Inverse tangent in degrees gives the angle on a scale from −90° to 90°. To convert a radian result to degrees, multiply by 180/π (about 57.2958). This radians to degrees conversion reads θ° = θ rad × 180/π.

xtan⁻¹(x) in degrees
00°
0.526.57°
1/√3 (0.5774)30°
145°
√3 (1.7321)60°
263.43°

A degree splits into degrees, minutes and seconds (DMS). One degree has 60 minutes, and one minute has 60 seconds: tan⁻¹(0.75) = 36.8699° = 36° 52′ 11.6″. For seconds to degrees, divide the seconds by 3,600.

Degrees and DMS

Inverse Tangent in Radians

Inverse tangent in radians gives the angle as an arc length on the unit circle, between −π/2 and π/2 (−1.5708 to 1.5708). One radian is the angle whose arc on a circle equals the radius, and a full turn is 2π radians (360°).

For degrees to radians conversion, multiply the degrees by π/180. There are 4 inverse tangent values in radians worth knowing:

  • tan⁻¹(1) = π/4 = 0.7854 rad
  • tan⁻¹(√3) = π/3 = 1.0472 rad
  • tan⁻¹(0.75) = 0.6435 rad
  • tan⁻¹(1/3) = 0.3218 rad

MATLAB, Excel, Python and most programming languages return atan results in radians. MATLAB uses atand(x) for degrees, and Excel wraps the result in DEGREES().

Arc on the unit circle

How to Use Inverse Tangent on a Calculator?

To use inverse tangent on a scientific calculator, press the SHIFT or 2nd key, press tan, enter the number and press equals. There are 4 steps:

  1. Set the angle mode: DEG for degrees or RAD for radians.
  2. Press SHIFT (Casio), 2nd (Texas Instruments) or INV to reach tan⁻¹.
  3. Press tan to open tan⁻¹( and type the number.
  4. Press = to show the angle.

On a Casio fx-82 or fx-991, the key sequence SHIFT, tan, 1, = returns 45 in degree mode and 0.7853981634 in radian mode. A wrong angle mode is the most common error: tan⁻¹(1) shows 0.785 in RAD mode instead of 45.

Windows Calculator and iPhone Calculator use the reverse order: type the number first, then press tan⁻¹.

Try a scientific calculator

Press SHIFT, then tan, type a number and press =.

Inverse Tangent on Android Calculator

To find inverse tangent on Android Calculator (Google Calculator), open the scientific keys, tap INV and tap tan⁻¹. The process has 4 steps:

  1. Open Calculator and tap the expand arrow above the keypad, or turn the phone sideways.
  2. Tap DEG or RAD to choose degrees or radians.
  3. Tap INV: sin, cos and tan change to sin⁻¹, cos⁻¹ and tan⁻¹.
  4. Tap tan⁻¹, type the number and tap =. tan⁻¹(1) shows 45.

Samsung Calculator follows the same order: open the scientific keys, tap Inv, then tap tan⁻¹.

Android Calculator walkthrough

Inverse Tangent on iPhone Calculator

To find inverse tangent on iPhone Calculator, switch to scientific mode, type the number, tap 2nd and tap tan⁻¹. The process has 4 steps:

  1. Open Calculator. On iOS 18, tap the calculator icon and choose Scientific; on iOS 17 or earlier, turn the iPhone sideways.
  2. Check the angle mode: Rad on the display means radians, and the Rad/Deg key switches modes.
  3. Type the number, for example 1.
  4. Tap 2nd, then tan⁻¹. The display shows 45.

iPhone Calculator applies tan⁻¹ to the number on the screen, so the number comes first.

iPhone Calculator walkthrough

Inverse Tangent on Windows Calculator

To find inverse tangent on Windows Calculator, switch to Scientific mode, type the number, open Trigonometry, select 2nd and select tan⁻¹. The process has 4 steps:

  1. Open Calculator, select the menu (☰) and choose Scientific.
  2. Select the angle mode button until it shows DEG, RAD or GRAD.
  3. Type the number, for example 1.
  4. Open Trigonometry, select 2nd, then select tan⁻¹. The display shows 45.

The keyboard shortcut for tan⁻¹ in Windows Calculator is Shift + T.

Windows Calculator walkthrough

How to Calculate Inverse Tangent Without a Calculator?

To calculate inverse tangent without a calculator, use 1 of 3 methods: special triangles, a Taylor series or the small-angle rule.

  1. Special right triangles give exact values. A 45-45-90 triangle gives tan⁻¹(1) = 45°, and a 30-60-90 triangle gives tan⁻¹(1/√3) = 30° and tan⁻¹(√3) = 60°.
  2. The Taylor series tan⁻¹(x) = x − x³/3 + x⁵/5 − x⁷/7 + … works for |x| ≤ 1. For |x| > 1, use tan⁻¹(x) = π/2 − tan⁻¹(1/x) when x > 0. Four terms give tan⁻¹(0.5) ≈ 0.5 − 0.041667 + 0.00625 − 0.001116 = 0.463467 rad, close to the true 0.463648 rad (26.565°).
  3. The small-angle rule tan⁻¹(x) ≈ x radians stays within 0.4% for |x| ≤ 0.1.

Calculators and computer chips evaluate arctangent with the CORDIC algorithm (COordinate Rotation DIgital Computer). CORDIC rotates a vector through fixed small angles with shifts and additions only.

Taylor series approximation

Notation for the Inverse of Tangent

The inverse of tangent has 4 common notations: tan⁻¹(x), arctan(x), atan(x) and arctg(x).

The −1 in tan⁻¹(x) marks an inverse function, not an exponent. tan⁻¹(x) differs from (tan x)⁻¹ = 1/tan(x), which equals cot(x). The arc prefix comes from the unit circle: arctan(x) is the arc length, in radians, whose tangent is x.

ToolNotation
Textbookstan⁻¹(x), arctan(x)
Excel, Google SheetsATAN(x), ATAN2(x, y)
MATLABatan(x), atand(x), atan2(y, x)
Wolfram AlphaArcTan[x]
Python, JavaScriptmath.atan(x), Math.atan(x)
Casio calculatorsSHIFT + tan

tan⁻¹(x) is not 1/tan(x)

Inverse Tangent Graph

The arctan(x) graph is an increasing S-shaped curve through the origin that levels off at two horizontal asymptotes, y = π/2 and y = −π/2. The inverse tangent graph has 5 key features:

  • Domain: all real numbers, (−∞, ∞).
  • Range: (−π/2, π/2), or (−90°, 90°).
  • Symmetry: an odd function, symmetric about the origin.
  • Slope: 1 at x = 0, from the derivative 1 / (1 + x²).
  • Inflection point: (0, 0).

The arctan graph is the reflection of the tangent graph on (−π/2, π/2) across the line y = x. The domain and range of the two graphs swap places.

Explore the arctan(x) graph

Move the pointer over the graph, or focus it and use the arrow keys.

Inverse Tangent Table

The inverse tangent table lists tan⁻¹(x) for common values of x in degrees and radians. Exact values come from the special angles 15°, 30°, 45°, 60° and 75°.

The tangent table runs the other way, from angle to ratio: a tangent calculation gives tan(30°) = 0.5774, tan(45°) = 1 and tan(60°) = 1.7321. Large inputs approach 90°: tan⁻¹(45) = 88.73° and tan⁻¹(100) = 89.43°.

Select a row to load the value into the calculator. Use the rounding buttons to switch between integer, tenths, hundredths, thousandths and maximum accuracy.

tan⁻¹(x) values

xExactDegreesRadians
000°0
0.1—5.711°0.1
0.2—11.31°0.197
0.25—14.036°0.245
2 − √3π/1215°0.262
1/3—18.435°0.322
0.4—21.801°0.381
0.5—26.565°0.464
√3/3π/630°0.524
0.6—30.964°0.54
0.7—34.992°0.611
0.75—36.87°0.644
0.8—38.66°0.675
0.9—41.987°0.733
1π/445°0.785
1.25—51.34°0.896
1.5—56.31°0.983
√3π/360°1.047
2—63.435°1.107
2 + √35π/1275°1.309
3—71.565°1.249
4—75.964°1.326
5—78.69°1.373
10—84.289°1.471
45—88.727°1.549
100—89.427°1.561
∞π/290°1.571

Finding tan⁻¹ of Negative Numbers

To find tan⁻¹ of negative numbers, find tan⁻¹ of the positive value and put a minus sign in front: tan⁻¹(−x) = −tan⁻¹(x). Arctangent is an odd function, so a negative input always gives an angle between −90° and 0°.

  • tan⁻¹(−0.5) = −26.57°
  • tan⁻¹(−√3) = −60°
  • tan⁻¹(−2) = −63.43°

A negative principal value points into quadrant IV. Add 180° for a quadrant II angle, when the point lies left of the y-axis: atan2(1, −1) = 135°.

What is the tan−1 of −1?

The tan⁻¹ of −1 is −45°, or −π/4 radians (−0.7854 rad). tan(−45°) = −1, and −45° lies inside the principal range of −90° to 90°. On a 0° to 360° scale, the same direction is 315°.

Positive and negative inputs

The two points mirror each other through the origin.

Frequently Asked Questions

Is tan⁻¹ the same as inverse tangent?

Yes, tan⁻¹ is the same as inverse tangent. tan⁻¹(x), arctan(x) and atan(x) all name the function that returns the angle whose tangent is x. The −1 marks an inverse function, not 1/tan(x).

What is the difference between tangent and inverse tangent?

Tangent takes an angle and returns a ratio, and inverse tangent takes a ratio and returns an angle. tan(45°) = 1, and tan⁻¹(1) = 45°.

How do I find an angle using inverse tangent?

To find an angle using inverse tangent, divide the opposite side by the adjacent side and apply tan⁻¹: θ = tan⁻¹(opposite / adjacent). Opposite 5 and adjacent 12 give tan⁻¹(0.4167) = 22.62°.

Where is the inverse tangent button on a calculator?

The inverse tangent button is the second function of the tan key on most calculators. Press SHIFT on Casio, 2nd on Texas Instruments, iPhone and Windows, or INV on Android to show tan⁻¹.

Can I calculate inverse tangent in Excel?

Yes, Excel calculates inverse tangent with the ATAN function. =ATAN(1) returns 0.7854 radians, and =DEGREES(ATAN(1)) returns 45 degrees. =ATAN2(x, y) returns the full-quadrant angle of a point.

Can I use inverse tangent to find the angle of a slope?

Yes, inverse tangent finds the angle of a slope: angle = tan⁻¹(rise / run). A 10% grade, a rise of 10 m over a run of 100 m (10 ft over 100 ft), gives tan⁻¹(0.10) = 5.71°.

What is the meaning of inverse tangent in a triangle?

In a right triangle, inverse tangent gives an acute angle from the two legs: θ = tan⁻¹(opposite / adjacent). Legs of 1 and 1 give a 45° angle, and legs of 1 and √3 give 30° and 60°.

How does inverse tangent relate to sine and cosine?

Inverse tangent relates to sine and cosine through tan θ = sin θ / cos θ. A point (x, y) on the unit circle has x = cos θ and y = sin θ, so θ = tan⁻¹(y / x). The identity tan⁻¹(x) = sin⁻¹(x / √(1 + x²)) links arctan and arcsin.

What are common uses of inverse tangent in real life?

There are 6 common uses of inverse tangent in real life: slope and ramp angles in construction, roof pitch, bearing angles in navigation systems, phase angle calculation in electrical circuits (φ = tan⁻¹(X / R)), robot arm angles, and joystick and image direction in software.

What is the inverse tangent domain?

The inverse tangent domain is all real numbers, (−∞, ∞). tan⁻¹(x) accepts any decimal, integer or fraction, including very large values such as 1,000,000.

What is the inverse tangent range?

The inverse tangent range is (−π/2, π/2) in radians, or (−90°, 90°) in degrees. tan⁻¹(x) approaches 90° as x grows without limit and never reaches it.

What is the inverse tangent of 1?

The inverse tangent of 1 is 45°, or π/4 radians (0.7854 rad). tan(45°) = 1 in a 45-45-90 right triangle, where the opposite and adjacent sides are equal.

What is tan⁻¹(−1)?

tan⁻¹(−1) is −45°, or −π/4 radians (−0.7854 rad). The negative input gives a negative angle, and −45° + 360° = 315° on a full-circle scale.

Does this tool handle inverse sine and cosine as well?

No, this tool calculates the inverse tangent only, as arctan and atan2. The Opp / Adj mode shows sin θ and cos θ of the angle. For other functions, use an arcsin calculator, arccos calculator, sine calculator, cosine calculator or a full trigonometry calculator.