Arctan Calculator
Calculate arctangent (inverse tangent) in radians and degrees. Supports atan(x) and atan2(y,x) with interactive graph and full precision control.
About
Arctangent maps a ratio back to the angle that produced it. Given x = tan(Īø), the function arctan(x) returns Īø constrained to the interval (āĻ2, Ļ2). This single-argument form loses quadrant information. A surveyor measuring bearing from two displacement components, or a robotics engineer resolving joint angles, needs atan2(y, x) which preserves the full (āĻ, Ļ] range across all four quadrants. Confusing the two forms is a common source of 180° errors in navigation and computer graphics pipelines.
This calculator computes both arctan(x) and atan2(y, x) to arbitrary display precision. Results are given simultaneously in radians, degrees, and as a fraction of Ļ. The interactive graph plots Īø = arctan(x) so you can visually confirm the asymptotic behavior approaching ±Ļ2. Note: numerical precision is bounded by IEEE 754 double-precision (~15 significant digits).
Formulas
The primary definition of arctangent for a single argument:
Degree conversion from radians:
The two-argument form atan2(y, x) resolves the correct quadrant:
The Taylor series expansion around x = 0 (convergent for |x| ⤠1):
Where Īø is the resulting angle, x is the tangent value (input), y and x are Cartesian coordinates in atan2 mode, and n is the summation index.
Reference Data
| x | arctan(x) radians | arctan(x) degrees | Fraction of Ļ |
|---|---|---|---|
| āā | āĻ2 | ā90° | ā12 |
| āā3 | āĻ3 | ā60° | ā13 |
| ā1 | āĻ4 | ā45° | ā14 |
| ā1ā3 | āĻ6 | ā30° | ā16 |
| 0 | 0 | 0° | 0 |
| 1ā3 | Ļ6 | 30° | 16 |
| 1 | Ļ4 | 45° | 14 |
| ā3 | Ļ3 | 60° | 13 |
| +ā | Ļ2 | 90° | 12 |
| 0.5 | 0.46365 | 26.565° | 0.14758 |
| 2 | 1.10715 | 63.435° | 0.35242 |
| 5 | 1.37340 | 78.690° | 0.43710 |
| 10 | 1.47113 | 84.289° | 0.46828 |
| 100 | 1.56080 | 89.427° | 0.49682 |
| 0.1 | 0.09967 | 5.711° | 0.03172 |