Math & calculators

Arctan (inverse tangent) calculator

Find an angle from its tangent ratio. Choose degrees or radians and understand the answer.

Your inputs1

Enter a decimal ratio: 0.5 means 1 ÷ 2. This input is not an angle.

This unit applies to the answer, not to x.

Results update as you type. Use Calculate to check an input error. Decimal point or comma accepted.

Your result2

—

Enter your values, then calculate.

Your calculation stays in your browser.

The formula, explained

arctan(x)

Arctan returns the principal angle between −90° and 90° (−π/2 and π/2 radians). It does not determine a full-circle bearing.

Source and reference : NIST DLMF ↗

An example to check

Using the starting values below, the calculation gives:

Ratio x (decimal): 0.5Result angle unit: Degrees
26.5650511771 °

What your result means — arctan(0.5) ≈ 26.565051°. This is the principal angle whose tangent is 0.5.

In a right triangle, x = opposite ÷ adjacent. The unit selector changes the answer's unit, not the ratio you enter. For a full-circle direction, a ratio alone does not identify the quadrant.

How to use this tool

  1. Enter x as a decimal ratio. For a right triangle, use opposite ÷ adjacent.
  2. Choose the unit for the answer: degrees or radians.
  3. Read the principal angle and its explanation. Keep more digits for intermediate calculations.

A worked example

For opposite = 1 and adjacent = 2, x = 0.5 and arctan(0.5) ≈ 26.565051° ≈ 0.463648 rad.

Is arctan the same as 1/tan?

No. arctan is the inverse function: it finds an angle from a ratio. 1/tan(θ) is the reciprocal of the ratio. The notation tan⁻¹(x) means the inverse function in this context.

Why does the calculator return one angle?

Trigonometric functions repeat, so a ratio can correspond to multiple angles. The calculator returns the principal angle in the range stated above. Very large arctan inputs may round to an endpoint in the displayed result.

Can I use a decimal comma?

Yes. Numeric fields accept 12.5 or 12,5 and spaces for thousands, such as 1 234.50. Do not mix a point and comma in one number.

Where are my inputs processed?

Calculations run in your browser. Form values are not sent to Analytics. Copying, printing, sharing or opening an external service is your choice.

Method and interface checked on 2026-10-15 · Report an error