Convert Tangent to Angle: Formula and Examples
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
To convert a tangent value to an angle, take the inverse tangent, also called arctangent: angle = arctan(tangent). This calculator takes a tangent ratio and returns its angle in degrees and radians; use degrees for most geometry problems and radians for many advanced math applications.
Formula
The conversion is θ = arctan(t), where t is the tangent value (a dimensionless ratio) and θ is the angle. The calculator reports θ in degrees using arctan in degrees, and also in radians using the radian inverse tangent. Its output is the principal angle: degrees from −90° up to, but not including, 90°, or radians from −π/2 up to, but not including, π/2.
Tangent itself is defined, for an angle θ, as tan(θ) = opposite side / adjacent side in a right triangle. In this calculator, the input is that ratio, not an angle in degrees or radians. The inverse operation answers the question: “Which principal angle has this tangent?”
Worked Example
With the default tangent value t = 1:
- Use the degree formula: θ = arctan(1) = 45°.
- Use the radian formula: θ = atan(1) = π/4 ≈ 0.7854 radians.
Rounded as shown by the calculator, the results are 45.00 degrees and 0.7854 radians. The result is consistent because 45° equals π/4 radians, and tan(45°) = 1.
How to Convert a Tangent Value
Enter the tangent value as a plain number, including a negative sign if needed. The calculator returns the principal angle in both units. For example, an input of 0 returns 0°, while an input of −1 returns −45° (about −0.7854 radians).
To calculate by hand or with a scientific calculator:
- Find the inverse tangent, often shown as atan, arctan, or tan⁻¹.
- Check the calculator’s angle mode if you are using a device that has degree and radian settings.
- Keep the displayed unit clear when recording the answer. A value in radians is not a degree value.
The notation tan⁻¹(t) means inverse tangent, not 1 divided by tan(t). The reciprocal of tangent is cotangent; inverse tangent is a different operation.
Reading the Result and Choosing Units
Degrees divide a full turn into 360 parts; radians measure angles by the ratio of arc length to radius. Both describe the same angle in different units. Convert between them with:
- Radians = degrees × π / 180
- Degrees = radians × 180 / π
Use degrees when a geometry exercise gives angles in degrees or when that is the convention in a diagram. Radians are common in calculus, trigonometric functions in programming, and formulas that relate angles to arc lengths. Always follow the units required by the problem or software.
The tangent input is a ratio, so it has no unit. In a right triangle, both sides used in the ratio must use the same length unit: for example, 3 inches divided by 4 inches is the same ratio as 3 centimeters divided by 4 centimeters. If the sides use different units, convert them first.
Principal Angles and Ambiguity
Tangent repeats every 180° (π radians): tan(θ) = tan(θ + 180°k) for any integer k, where angles are in degrees. Therefore, a tangent value by itself does not identify every possible angle. Inverse tangent returns one conventional answer in the principal range, not all angles that share that tangent.
For example, tan(45°) and tan(225°) are both 1. The inverse tangent of 1 returns 45°, the principal result. If a problem asks for an angle in a specified interval, use that interval and the other available information—such as the signs of coordinates or which quadrant contains the angle—to select the appropriate coterminal angle.
A related issue arises when an angle comes from a point (x, y). Using only y/x gives the tangent, but it can lose quadrant information, and it is undefined when x = 0. The two-argument function atan2(y, x) uses both coordinates to determine the quadrant; use it when finding a direction from coordinates rather than recovering only a principal angle from a tangent ratio.
Common Mistakes and Limits
- Using tangent instead of inverse tangent: tan(angle) converts an angle to a ratio; arctan(ratio) converts the ratio to a principal angle.
- Confusing tan⁻¹ with a reciprocal: tan⁻¹(t) means arctan(t). The reciprocal is 1/tan(t).
- Mixing degrees and radians: Check whether the result is labeled in degrees or radians before substituting it into another formula.
- Expecting a unique full-turn angle: Tangent cannot distinguish angles that differ by 180°. Additional constraints are necessary.
- Rounding too early: Keep several digits through intermediate calculations and round the final angle to the precision the problem needs.
Every finite real tangent input has a principal inverse-tangent result. However, an exact right angle, such as 90°, has no finite tangent value: tangent is undefined there. Very large input values produce results close to, but not equal to, ±90° in the principal range.
Frequently Asked Questions
What is the formula to convert tangent to an angle?
Use θ = arctan(t), where t is the tangent value. The result is an angle, usually reported in degrees or radians.
What is the angle if the tangent is 1?
The principal angle is 45°, or π/4 radians, because tan(45°) = 1.
Does tan⁻¹ mean 1 divided by tangent?
No. In trigonometry, tan⁻¹ usually denotes inverse tangent, arctan. The reciprocal of tangent is written 1/tan(θ) or cot(θ).
Why does inverse tangent give a different angle than my diagram?
Inverse tangent returns a principal angle between −90° and 90°. Another angle in the diagram may have the same tangent but differ by a multiple of 180°; use the stated range and quadrant information to choose the intended one.
Can I convert a tangent value directly to radians?
Yes. Apply the inverse tangent in radians, or convert a degree result by multiplying by π/180. Confirm the result’s unit before using it.
What if the tangent value is undefined?
There is no finite real input to convert when tangent is undefined, as it is at odd multiples of 90°. For a direction represented by coordinates, use both coordinates with atan2 rather than dividing by a zero horizontal coordinate.
Related
Formula used
in t | Tangent value | - | 1 | out angle | Angle | degrees | atand(t) | 2 out radians | Angle | radians | atan(t) | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.