User Rating 0.0
Total Usage 0 times
Any real number. Domain: (−∞, +∞)
Presets:
Results
Radians
Degrees
Gradians
Fraction of π
Derivative at x
Quadrant
Calculation History
Is this tool helpful?

Your feedback helps us improve.

About

The inverse tangent function arctan(x) returns the angle whose tangent equals x. Its output is bounded to the open interval (π2, π2), or equivalently (90°, 90°). Misidentifying the quadrant is the single most common error in applied trigonometry. Navigation systems, robotics kinematics, and signal-processing phase detectors all depend on the two-argument variant atan2(y, x) precisely because the single-argument form discards quadrant information. A sign error here can rotate a robotic arm 180° in the wrong direction or invert a radar bearing.

This calculator computes both arctan(x) and atan2(y, x), reports results in radians, degrees, and gradians, and displays the instantaneous derivative 11 + x2. The interactive graph plots y = arctan(x) and marks your input point. Note: the tool uses IEEE 754 double-precision arithmetic, so results near the asymptotes (±π2) carry approximately 15 significant digits of precision.

arctan arctangent inverse tangent atan2 trigonometry angle calculator math

Formulas

The principal inverse tangent for a single argument:

θ = arctan(x), θ (π2, π2)

The two-argument form that preserves quadrant information:

θ = atan2(y, x), θ (π, π]

Unit conversions from radians:

θdeg = θrad × 180π
θgrad = θrad × 200π

The derivative of the inverse tangent:

ddx arctan(x) = 11 + x2

Where θ = resulting angle, x = tangent value (input), y = vertical component, x = horizontal component (for atan2), π3.14159265358979.

Reference Data

xarctan(x) radarctan(x) °arctan(x) gradExact Form
−∞π2−90°−100gradπ/2
3−1.04720−60°−66.667gradπ/3
−1−0.78540−45°−50gradπ/4
33−0.52360−30°−33.333gradπ/6
000°0grad0
330.5236030°33.333gradπ/6
10.7854045°50gradπ/4
31.0472060°66.667gradπ/3
21.1071563.435°70.483gradarctan(2)
31.2490571.565°79.517gradarctan(3)
51.3734078.690°87.433gradarctan(5)
101.4711384.289°93.654gradarctan(10)
1001.5608089.427°99.363gradarctan(100)
+∞π290°100gradπ/2

Frequently Asked Questions

The single-argument arctan(x) returns an angle in the range (90°, 90°), covering only quadrants I and IV. It cannot distinguish between the point (1, 1) and (−1, −1) because both yield a ratio of 1. The two-argument atan2(y, x) examines the signs of both components independently, returning angles across the full (180°, 180°] range across all four quadrants.
When both y = 0 and x = 0, no unique angle exists because the point lies at the origin with no directional information. IEEE 754 defines atan2(0, 0) as 0 in most implementations, but mathematically the result is undefined. This calculator returns 0 with a warning note.
As x approaches ±, arctan(x) approaches ±π/2 but never reaches it. For inputs like x = 1015, the result is accurate to about 15 significant digits due to IEEE 754 double-precision limits. The last few decimal places may differ from symbolic computation systems.
Gradians (also called gons) divide a right angle into exactly 100 parts, making them standard in European surveying, geodesy, and land measurement. A full circle equals 400 grad. The conversion is θgrad = θrad × 200/π. Use gradians when working with European topographic maps or civil engineering specifications that reference the metric angular system.
The derivative ddxarctan(x) = 11 + x2 produces the Cauchy (Lorentzian) distribution shape, fundamental in spectroscopy, resonance analysis, and probability theory. This calculator displays the derivative value at your input point, useful for sensitivity analysis in control systems.
The Taylor expansion arctan(x) = x x33 + x55 … converges for |x| 1. Setting x = 1 yields the Leibniz formula π/4 = 1 1/3 + 1/5 …, one of the classical methods for approximating π. Machin-like formulas use arctan identities for faster convergence.