Arctan Calculator: Find Angle From Tangent Ratio Fast
The arctan calculator turns a tangent ratio back into the angle that produced it. Enter any number x and it returns arctan(x) in degrees and in radians, with the quadrant, the reference angle, and the raw working shown. That is the question trigonometry keeps asking in reverse: not “what is the tangent of this angle” but “which angle has this tangent,” whether the ratio came from a right triangle’s opposite over adjacent, a slope, or a gradient.
Flip the direction selector and the same tool runs forwards, computing tan(angle) from an angle in degrees or radians, with an automatic reverse check: it feeds its own answer back through arctan so you can see it land on your angle. Special angles are reported with their exact values, and tan(90 degrees) is reported honestly as undefined, with the asymptote explained, instead of as a huge meaningless number.
Arctan always returns the principal angle, between -90 and 90 degrees. If your problem needs an angle outside that range, the FAQs explain how quadrant information from atan2 changes the answer.
Quick Answer
Key takeaways
- Arctan answers always land between -90 and 90 degrees. That restricted range is called the principal value, and it is a feature, not a limit of this tool.
- Positive inputs give Quadrant I angles, negative inputs give Quadrant IV angles, and zero gives 0 degrees. Arctan never returns Quadrant II or III angles on its own.
- Three inputs are worth memorizing: arctan(1) = 45 degrees, arctan(1 / sqrt(3)) = 30 degrees, arctan(sqrt(3)) = 60 degrees.
- tan(90 degrees) is undefined. Any tool that prints a giant number there is showing you a rounding artifact, not mathematics.
What arctan is: tangent, run backwards
Tangent takes an angle and returns a ratio: in a right triangle, opposite over adjacent. Arctan takes the ratio and returns the angle. If tan(theta) = x, then arctan(x) = theta, by definition.
The restricted range deserves a plain explanation. Tangent repeats every 180 degrees and takes every real value once within any 180 degree stretch, so an inverse has to pick one stretch. Mathematicians picked the stretch containing 0: angles from just above -90 to just below 90 degrees. That choice is why arctan(1) returns 45 degrees and not 225 degrees, even though tan(225 degrees) is also 1. In triangle work this rarely matters, because triangle angles live between 0 and 180 and an acute answer is usually the one wanted. It matters a great deal in navigation and vectors, which is where atan2 enters, covered in the FAQs.
How to use the arctan calculator
One input, one choice of direction. The breakdown under every result shows the path from input to answer so the working can be copied into homework or a report.
Leave the direction on arctan(x) and type the ratio: a decimal (0.5), a whole number (1), a negative value (-1), or a computed slope. Fractions need one division first: 3 / 4 enters as 0.75.
Read degrees and radians together. Both are always shown in arctan mode, since homework mixes them freely and a mode mistake on a handheld calculator is the most common way this problem goes wrong.
Use tan(angle) mode to check forward work. If you computed a tangent by hand, run the angle through the reverse direction and compare, then glance at the reverse check line: it runs arctan on the result and should hand your angle back.
Worked example: arctan(1) and the 45 degree family
The calculator is pre-filled with x = 1. The raw radian result is 0.78539816, and converting gives 0.78539816 x 180 / pi = 45.0000 degrees. The reference angle equals the angle itself here because 45 degrees is already acute.
| Input x | arctan(x) in degrees | arctan(x) in radians | Quadrant |
|---|---|---|---|
| -1.7320508 (-sqrt(3)) | -60.0000 | -1.0472 | IV |
| -1 | -45.0000 | -0.7854 | IV |
| -0.5773503 (-1 / sqrt(3)) | -30.0000 | -0.5236 | IV |
| 0 | 0.0000 | 0.0000 | Origin |
| 0.5 | 26.5651 | 0.4636 | I |
| 0.5773503 (1 / sqrt(3)) | 30.0000 | 0.5236 | I |
| 1 | 45.0000 | 0.7854 | I |
| 1.7320508 (sqrt(3)) | 60.0000 | 1.0472 | I |
The table is the tan and arctan reference table for the angles that dominate coursework. Notice the symmetry: arctan is an odd function, so arctan(-x) = -arctan(x), and the negative half of the table is the positive half with signs flipped. Angles from this table are the same ones that anchor the 45-45-90 triangle calculator: in that triangle the two legs are equal, the ratio is exactly 1, and arctan(1) = 45 degrees is why both acute angles match.
Where arctan earns its keep outside the classroom
Any time a slope or a ratio needs to become an angle, arctan is the conversion. A road gradient of 0.1 (a 10 percent grade) is arctan(0.1) = 5.71 degrees, not 10 degrees. A roof pitched at 8 in 12 has a ratio of 0.6667 and an angle of 33.69 degrees. In surveying and GPS work, a displacement east and north becomes a bearing through the two-argument version, atan2. In electronics, phase angles in AC circuits are arctan of reactance over resistance.
That last card carries a real warning. Arctan flattens hard at large inputs: doubling x from 50 to 100 moves the angle from 88.85 to 89.43 degrees. Back-calculating a ratio from a rounded steep angle is therefore unreliable, and measurements near vertical deserve extra decimal places. The same flattening is why the double angle calculator treats tangent identities carefully near 90 degrees, where tan(2 theta) can blow up even when tan(theta) looks tame. Sign handling trips people too: a reference angle is always positive, which is an absolute value operation on the raw result, while the signed angle keeps the direction information.
What competing calculators miss
Winning move 1: the reverse direction, with a self-check. Most arctan tools, including strong ones from converter sites, stop at arctan. This one also computes tan(angle), names exact values for the standard angles, and proves its answer by running arctan on it.
Winning move 2: the breakdown, not just the answer. Raw radians to 8 decimals, the conversion line, quadrant, and reference angle are all printed. Rigorous tools like CalculatorX document the principal range carefully but present it as a spec sheet; here the same rigor shows up as readable working.
Winning move 3: honest asymptotes. tan(90 degrees) returns Undefined with the reason (cos is zero, tangent is sin over cos). Basic tools either error silently or print something like 16331239353195370, which is a floating-point artifact that students then copy into answers.
One genuine gap, stated openly: this tool computes arctan of a single value. If you have separate x and y coordinates and need the quadrant-correct bearing, that is atan2(y, x), and no single-ratio calculator can recover the quadrant the ratio threw away.
Frequently asked questions
Yes. Arctan, atan, and tan^-1 are three names for the same inverse tangent function. The -1 is not an exponent: tan^-1(x) does not mean 1 / tan(x). The reciprocal 1 / tan(x) is cotangent, a different function. This naming trap is the most common notation confusion in trigonometry.
Because tan(90 degrees) does not exist: at 90 degrees cos is 0, and tangent is sin divided by cos. As x grows toward infinity, arctan(x) approaches 90 degrees but never reaches it. The same holds at the bottom: arctan approaches -90 degrees as x falls toward negative infinity.
atan(x) takes one ratio and returns an angle between -90 and 90 degrees, so it cannot tell Quadrant I from Quadrant III (both give positive ratios) or II from IV. atan2(y, x) takes the two components separately, keeps their signs, and returns the correct angle between -180 and 180 degrees. Bearings, vectors, and robot headings need atan2; triangle ratios need atan.
Negative numbers work directly: arctan(-1) = -45 degrees, Quadrant IV. Fractions need one division first, so enter 3 / 4 as 0.75. There are no domain restrictions: unlike arcsin and arccos, arctan accepts every real number, from -1,000,000 to 1,000,000.
Multiply by 180 / pi (about 57.2958). The calculator's breakdown shows the raw radians to 8 decimals and the conversion line: for arctan(1), 0.78539816 x 180 / pi = 45.0000 degrees. To go the other way, multiply degrees by pi / 180.
The reference angle is the acute angle between the terminal side of an angle and the x-axis: always positive, always between 0 and 90 degrees. For arctan results it is simply the absolute value of the angle, so arctan(-1) = -45 degrees has a reference angle of 45 degrees. It is the angle you would use in a right-triangle diagram.
Undefined, with the asymptote explained. Tangent has vertical asymptotes at 90 degrees plus any multiple of 180 degrees, where cos equals zero. Tools that show an enormous number at 90 degrees are displaying a floating-point artifact of a near-zero denominator, not a real value.
A slope is a tangent ratio, so its angle is the arctan of the slope. A 10 percent grade (slope 0.1) is arctan(0.1) = 5.71 degrees, and a 1-in-1 slope (100 percent grade, ratio 1) is 45 degrees. Percent grade and degrees are not interchangeable, and confusing them overstates steepness badly at small angles.
Because the ratio lost the information. In Quadrant III both components are negative, their ratio is positive, and atan returns the Quadrant I angle with that ratio. Add 180 degrees to recover the Quadrant III direction, or use atan2 with the signed components when the quadrant matters.
Add This Calculator to Your Website
References
- Wolfram Research, "Inverse Tangent, Wolfram MathWorld". MathWorld: Inverse Tangent. Accessed October 2026.
- Wolfram Research, "Tangent, Wolfram MathWorld". MathWorld: Tangent. Accessed October 2026.
- National Institute of Standards and Technology, "Digital Library of Mathematical Functions, section 4.23: Inverse Trigonometric Functions". NIST DLMF: Inverse Trigonometric Functions. Accessed October 2026.
- OpenStax, Rice University, "Precalculus 2e: inverse trigonometric functions". OpenStax: Precalculus 2e. Accessed October 2026.
- Mathwords (Bruce Simmons), "Inverse Tangent Calculator: definition, formula and examples". Mathwords: Inverse Tangent Calculator. Accessed October 2026.
