Skip to content
D DocNectar

Free Arctan Calculator (Inverse Tangent)

Find the angle whose tangent is a given value, in both degrees and radians.

100% Free No Signup Works on all devices

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

Key Features

Instant Calculation

Get accurate results in real time with our optimized algorithm.

Mobile Friendly

Fully responsive design. Works on all devices & screen sizes.

Privacy Focused

Your data stays on your device. We don't store any inputs.

100% Free

No hidden costs. This tool is completely free forever.

Arctan(x), written tan⁻¹(x) or atan(x), is the inverse of the tangent function: it answers "which angle has this tangent value?" Unlike arcsin and arccos, which only accept inputs between -1 and 1, tangent can produce any real number — so arctan accepts any real input at all, from very large negative numbers to very large positive ones — but it always returns an angle strictly between -90° and 90° (its "principal value" range). Arctan shows up constantly wherever a ratio of two lengths needs to become an angle: finding the angle of a slope or ramp from its rise-over-run, computing the angle of elevation to an object from its height and distance, converting between rectangular and polar coordinates in engineering and physics, and working out phase angles in AC circuit analysis from a reactance-to-resistance ratio. Programming languages implement it as `atan()`, and most also provide a two-argument `atan2(y, x)` that fixes the quadrant ambiguity a plain arctan can't resolve on its own.

How it works

Tangent is defined as the ratio of the opposite side to the adjacent side in a right triangle (equivalently, sin(θ)/cos(θ)). Arctan reverses that: given a ratio x, it finds the angle θ such that tan(θ) = x. Because tangent repeats every 180°, there are infinitely many angles with any given tangent value — arctan always reports the one in the principal range of -90° to 90°, the branch closest to zero. To recover an angle in a different quadrant (for example, when you know both the horizontal and vertical components of a vector, not just their ratio), you'd add or subtract 180° as appropriate, or use the two-argument atan2 function instead.

  1. Enter value (any real number).
  2. Click Calculate to see your results.

Examples

arctan(1)

arctan(1) = 45°, because tan(45°) = sin(45°)/cos(45°) = 1 (the two legs of a 45-45-90 triangle are equal).

arctan(√3) ≈ arctan(1.732)

arctan(1.732) = 60°, since tan(60°) = √3 ≈ 1.732 — one of the standard reference angles.

arctan(-1)

arctan(-1) = -45°, the negative counterpart of the first example, since tangent is an odd function: arctan(-x) = -arctan(x).

Common mistakes to avoid

  • Assuming arctan can return exactly 90° or -90° — it only ever approaches those values, never reaches them.
  • Using arctan(y/x) when the correct tool is atan2(y, x), and getting an angle in the wrong quadrant as a result.
  • Confusing arctan(x) with the reciprocal function 1/tan(x) (which is cotangent) — arctan is an inverse function that outputs an angle, cotangent is a ratio that outputs a number.
  • Forgetting that tangent (and therefore arctan) is undefined for the ratio "infinity", i.e. when the adjacent side is zero — that limiting case corresponds to a 90° angle and needs to be handled separately.

Frequently asked questions

Because tangent itself is unbounded — as an angle approaches 90°, tan(θ) grows without limit in either direction, so its inverse must be able to accept any real number as input, not just a value between -1 and 1.
Always strictly between -90° and 90° (-π/2 and π/2 radians), never including the endpoints themselves. This is called the principal value range and is a convention every standard calculator and programming language follows.
arctan(y/x) only sees the ratio, so it can't tell whether the point (x, y) is in the first or third quadrant (or the second versus fourth) — dividing +3/+4 and -3/-4 both give 0.75. atan2(y, x) is given x and y separately, so it can return the correct angle anywhere in the full -180° to 180° range.
No. As x grows toward positive infinity, arctan(x) gets arbitrarily close to 90° but never reaches it, because tan(90°) itself is undefined (cosine is zero there), not infinite in a way the function can equal.
They're complementary: arctan(x) + arccot(x) = 90° for positive x. Arccot is the inverse of the reciprocal function cotangent and conventionally reports a range of 0° to 180° instead of -90° to 90°, so the two are not simply interchangeable without adjusting the range.
Use arctan when you already know a ratio of the two legs of a right triangle (opposite over adjacent) rather than a ratio involving the hypotenuse. It's especially convenient because it doesn't require you to know the hypotenuse length at all — just rise and run.
This tool returns both automatically, but if you're working by hand with a scientific calculator, always check its angle mode first — arctan(1) reads as 45 in degree mode but as roughly 0.785 in radian mode, and mixing the two up is one of the most common trig errors.

Get new calculators and guides in your inbox

No spam — just new tools like Arctan Calculator (Inverse Tangent) and practical guides.

Favorites