Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Math
  3. /Trigonometry Calculators
  4. /Arctan Calculator

Arctan Calculator

Last updated: April 5, 2026

The Arctan Calculator computes the inverse tangent of any real value in degrees and radians. The only inverse trig function with no domain restriction — used in physics, engineering, and programming to recover angles from slopes, ratios, and component vectors.

Calculator

Results

Angle (Degrees)

45

°

Angle (Radians)

0.785398

rad

Results

Angle (Degrees)

45

°

Angle (Radians)

0.785398

rad

In This Guide

  1. 01Arctan Definition, Domain, and Range
  2. 02The Two-Argument atan2(y, x): Why It Matters
  3. 03Physics and Engineering Applications
  4. 04The Arctan Series: An Elegant Infinite Sum

While arcsin and arccos only accept inputs between −1 and +1, the arctangent accepts any real number — making it the most versatile inverse trigonometric function in practice. The calculator for arctan computes tan⁻¹(x) for any real input, returning the principal value angle in both degrees and radians, and includes the two-argument atan2(y, x) variant that correctly handles all four quadrants.

Arctan Definition, Domain, and Range

The arctangent function is the inverse of the tangent function, restricted to the principal value range:

arctan(x) = θ such that tan(θ) = x and −90° < θ < 90°

Unlike sine and cosine, tangent is defined for all real numbers (except odd multiples of 90°), so arctan has no domain restriction — any real input is valid. Key values:

  • arctan(0) = 0°, arctan(1) = 45°, arctan(√3) = 60°, arctan(∞) → 90°
  • arctan(−1) = −45°, arctan(−√3) = −60°, arctan(−∞) → −90°

As x → ±∞, arctan approaches ±90° asymptotically — the inverse tangent is bounded between −90° and +90° regardless of how large the input grows. The arcsin calculator and arccos calculator provide the complementary inverse trig functions.

The Two-Argument atan2(y, x): Why It Matters

The single-argument arctan(y/x) cannot distinguish between angles in different quadrants because (y/x) gives the same ratio for opposite quadrants: arctan(1/1) = arctan(−1/−1) = 45°, but the first point is in Q1 and the second in Q3. The two-argument function atan2(y, x) resolves this by using the signs of both y and x to determine the correct quadrant:

  • atan2(1, 1) = 45° (Q1)
  • atan2(1, −1) = 135° (Q2)
  • atan2(−1, −1) = −135° (Q3)
  • atan2(−1, 1) = −45° (Q4)

atan2 is used universally in programming (C, Python, MATLAB, JavaScript all implement it) and in vector angle calculations where the full 360° range must be correctly determined. Use this online calculator for both the single and two-argument variants.

Physics and Engineering Applications

Arctan is the go-to function for recovering angles from slopes, ratios, and component vectors:

  • Slope to angle: a road with 15% grade has angle = arctan(0.15) = 8.53°; a roof with 8:12 pitch has angle = arctan(8/12) = 33.69°
  • Vector direction: a vector with components (3, 4) has angle = atan2(4, 3) = 53.13° from the positive x-axis
  • Phase angle in circuits: for an RLC circuit with resistance R and reactance X, phase angle φ = arctan(X/R)
  • Navigation bearing: heading from a north/east displacement uses atan2 to give compass bearing in the correct quadrant

The reference angle calculator and trigonometry calculators provide the complete inverse trig toolkit.

The Arctan Series: An Elegant Infinite Sum

The arctangent function has a beautiful power series representation (Gregory-Leibniz series): arctan(x) = x − x³/3 + x⁵/5 − x⁷/7 + ... for |x| ≤ 1. Setting x = 1 gives the famous Leibniz formula for π: π/4 = 1 − 1/3 + 1/5 − 1/7 + ... — one of the simplest known series for π, though it converges extremely slowly. Modern fast arctan series for π use the Machin formula: π/4 = 4·arctan(1/5) − arctan(1/239), which converges much faster because arctan(x) is well approximated by x for small x.

Visual Analysis

How It Works

Enter any real number. The calculator applies the inverse tangent function to determine the angle whose tangent equals your input value. Results are shown in both degrees and radians.

Understanding Your Results

The result is the angle in the range $$(-90°, 90°)$$ whose tangent equals your input. For large positive inputs, the angle approaches 90°; for large negative inputs, it approaches -90°. An input of 0 always gives 0°, and an input of 1 gives exactly 45°.

Worked Examples

Finding the angle for tan = 1

Inputs

x1

Results

degrees45
radians0.785398

Since tan(45°) = 1, the arctangent of 1 is exactly 45° or π/4 radians.

Finding the angle for tan = −1.732

Inputs

x-1.732051

Results

degrees-60
radians-1.047198

Since tan(−60°) = −√3 ≈ −1.732, the result is −60° or −π/3 radians.

Frequently Asked Questions

$$\arctan(x)$$ takes a single value and returns an angle in $$(-90°, 90°)$$. The function $$\text{atan2}(y, x)$$ takes two arguments (the y and x coordinates) and returns the full-circle angle in $$(-180°, 180°]$$, correctly handling all four quadrants. Use atan2 when you need to determine direction from coordinates.

The tangent function can produce any real number as output (its range is all of $$\mathbb{R}$$). Since arctangent is the inverse of tangent, its domain is all real numbers. This contrasts with arcsine and arccosine, whose domains are limited to $$[-1, 1]$$.

$$\arctan(0) = 0°$$ or $$0$$ radians, because $$\tan(0°) = 0$$.

If a surface rises by $$r$$ units over a horizontal distance of $$d$$ units, the slope angle is $$\theta = \arctan\left(\frac{r}{d}\right)$$. For example, a 1:1 slope (rise equals run) gives $$\arctan(1) = 45°$$.

As $$x \to +\infty$$, $$\arctan(x)$$ approaches $$90°$$ ($$\frac{\pi}{2}$$) but never reaches it. Similarly, as $$x \to -\infty$$, it approaches $$-90°$$. These horizontal asymptotes give the arctangent curve its characteristic S-shape.

$$\int \arctan(x)\,dx = x\,\arctan(x) - \frac{1}{2}\ln(1 + x^2) + C$$. This is derived using integration by parts with $$u = \arctan(x)$$ and $$dv = dx$$.

Sources & Methodology

Stewart, J. (2015). Calculus: Early Transcendentals. 8th Edition. Cengage Learning. | Abramowitz, M. & Stegun, I.A. (1972). Handbook of Mathematical Functions. Dover Publications. | Weisstein, E.W. "Inverse Tangent." MathWorld — A Wolfram Web Resource.

How helpful was this calculator?

5.0/5 (1 rating)

Related Calculators

Tennis Elo Calculator

Tennis Calculators

Tennis Ball Usage Calculator

Tennis Calculators

Decathlon Calculator

Combined Events Sport Calculators

Double Angle Calculator

Trigonometry Calculators

Half Angle Calculator

Trigonometry Calculators