Tan Inverse (Arctan) Formula, Unit Circle Values & Real-World Applications
In trigonometry, the inverse tangent — written arctan(x), atan(x), or tan⁻¹(x) — is the inverse operation of the tangent function. Given an input ratio x (opposite ÷ adjacent), it returns the angle θ whose tangent equals x: θ = arctan(x) where tan(θ) = x.
Because the tangent function repeats every 180° (π radians), the arctan function is restricted to a principal value range of (-π/2, π/2) or (-90°, 90°). Use our free Tan Inverse Calculator to compute angles in radians, degrees, and exact π fractions instantly.
Domain, Range & Mathematical Properties
All Real Numbers (-∞, ∞)
Any real value is accepted as a tangent ratio.(-π/2, π/2) or (-90°, 90°)
Excludes exactly ±90° where tangent is undefined.arctan(-x) = -arctan(x)
Arctan is an odd function — negative inputs give negative angles.Key Tan Inverse Values: Unit Circle Reference Table
| Input Value (x) | Exact Radians | Decimal Radians | Degrees |
|---|---|---|---|
| -√3 ≈ -1.732 | -π/3 | -1.04720 | -60° |
| -1 | -π/4 | -0.78540 | -45° |
| -1/√3 ≈ -0.577 | -π/6 | -0.52360 | -30° |
| 0 | 0 | 0 | 0° |
| 1/√3 ≈ 0.577 | π/6 | 0.52360 | 30° |
| 1 | π/4 | 0.78540 | 45° |
| √3 ≈ 1.732 | π/3 | 1.04720 | 60° |
| -3 | ≈ -1.24905 | -1.24905 | ≈ -71.57° |
| 2 | ≈ 1.10715 | 1.10715 | ≈ 63.43° |
Converting Arctan Output: Radians ↔ Degrees
Scientific calculators, Python, JavaScript, and Excel all compute arctan in radians by default. Use these two formulas to convert between angular units:
Degrees = Radians × (180 / π)
Example: 0.7854 × 57.2958 = 45°Radians = Degrees × (π / 180)
Example: 45° × 0.0174533 = 0.7854 radMath.atan(x) vs. Math.atan2(y, x) in Programming
In computer science and robotics, computing angles from coordinates using Math.atan(y / x) introduces quadrant ambiguity — division discards the sign information of both x and y, so it cannot distinguish between angles that are 180° apart.
The Math.atan2(y, x) function inspects the individual signs of y and x to return the correct angle across all four quadrants, from -180° to +180°:
| atan(y/x) | atan2(y, x) Result | Quadrant |
|---|---|---|
| atan(1/1) = 45° | atan2(1, 1) = 45° | Quadrant I (+x, +y) |
| atan(-1/1) = -45° | atan2(-1, 1) = -45° | Quadrant IV (+x, -y) |
| atan(1/-1) = -45° (WRONG) | atan2(1, -1) = 135° | Quadrant II (-x, +y) |
| atan(-1/-1) = 45° (WRONG) | atan2(-1, -1) = -135° | Quadrant III (-x, -y) |
Real-World Engineering, Physics & Construction Applications
- Roof Pitch & Slope Angles: A 4/12 roof pitch has a rise of 4 inches per 12 inches of run. The angle is
arctan(4/12) = arctan(0.333) ≈ 18.43°. Use this with our Roof Shingle Calculator to estimate materials. - ADA Wheelchair Ramp Compliance: The Americans with Disabilities Act requires a maximum 1:12 ramp slope, equivalent to
arctan(1/12) ≈ 4.76°. At 1:20, the angle drops to≈ 2.86°. - Electrical AC Power Factor (Phase Angle): An AC circuit's phase angle is
θ = arctan(X / R), where X is reactance and R is resistance. This angle directly determines the power factorcos(θ). - Land Surveying & Grade Slopes: Elevation grade percentages convert to angles using arctan. A 6% grade means a 6-foot vertical rise per 100 horizontal feet:
arctan(0.06) ≈ 3.43°. - Game Development & Camera Rotation: Game engines use
atan2to rotate sprites and calculate aim angles by comparing the player's position to the cursor position.
For a deeper dive into the arctan formula, odd/even symmetry, and the Taylor series expansion, read our full Tan Inverse Formula Guide.




