Find an angle from a tangent value, solve a right triangle from two sides, get the angle of any coordinate point, convert between degrees and radians, or verify a tangent calculation — all instantly, with step-by-step results and interactive diagrams.
✓ Five calculators in one ✓ Degrees & radians ✓ Works on mobile
If you have ever typed "tan inverse calculator," "arctangent calculator," "atan calculator," or "how to find an angle from a tangent value" into a search bar, this page is built to answer all of those questions at once — with a live tool, not just a definition.
Everything students, engineers, surveyors, and programmers ask about tan⁻¹, atan, and atan2 — in one place.
Arctangent — written as tan⁻¹(x), arctan(x), or atan(x) depending on the textbook, calculator, or programming language you're using — is the inverse of the tangent function. Where tangent takes an angle and returns a ratio, arctangent takes a ratio and returns an angle. This single distinction is the source of most of the confusion people search for when they type "what is tan inverse" or "arctan meaning": tan⁻¹ does not mean "1 divided by tan," even though the superscript looks exactly like a reciprocal. It means "the angle whose tangent is this number." If tan(45°) = 1, then tan⁻¹(1) = 45°. The calculator on this page performs exactly that operation, along with four related calculations — right triangle solving, coordinate angle detection, unit conversion, and tangent verification — because in practice almost nobody needs "just" an arctangent value in isolation; they need it as part of a larger geometry, engineering, or coding problem.
It helps to think of tangent and arctangent as a pair of doors that swing in opposite directions. Tangent's job is: give me an angle, and I'll tell you the ratio of the opposite side to the adjacent side in a right triangle (or, on the unit circle, the ratio of sine to cosine). Arctangent's job is the reverse: give me that ratio, and I'll tell you the angle that produced it. People searching "difference between tan and tan inverse" are usually trying to figure out which direction they need for their specific problem — if you already know an angle and want a ratio, you need tan(); if you know a ratio (or two side lengths, or a rise and run, or a slope) and want the angle, you need tan⁻¹(), atan(), or arctan(). This calculator's "Tan⁻¹ Value" mode handles the second case directly, while its "Tangent Verification" mode lets you go both directions and see how they relate.
Because tangent is periodic and repeats every 180°, it is not a one-to-one function across all real numbers, so a true inverse can only be defined over a restricted slice of it — this restricted version is called the principal branch. For arctangent, the domain (valid inputs) is every real number from negative infinity to positive infinity, and the range (possible outputs) is restricted to angles strictly between −90° and 90° (or −π/2 and π/2 radians). This is one of the most searched clarifications about the function: "why does tan inverse only give answers between -90 and 90," or "range of arctan calculator." The answer is that any tangent value corresponds to infinitely many angles 180° apart, so the principal value convention picks the one in that half-open interval and calls it "the" answer, even though 45°, 225°, −135°, and so on all share the same tangent.
Depending on the field, an angle answer is expected in degrees (common in surveying, navigation, and everyday geometry) or radians (the default in most programming languages and in calculus). This calculator always shows both, because the most common single frustration people report with "atan calculator" tools online is getting an answer in the wrong unit for their use case. The conversion is simple once you have one of the two: degrees = radians × (180 ÷ π), and radians = degrees × (π ÷ 180). The Degree ↔ Radian Converter mode above performs this conversion directly and also shows the tangent of that angle so you can sanity-check the result.
The most classic use of arctangent is solving for a missing angle in a right triangle when you know the two legs (the sides that are not the hypotenuse). If you know the length of the side opposite an angle and the length of the side adjacent to it, that angle equals tan⁻¹(opposite ÷ adjacent). This comes up constantly in real problems phrased as "how do I find an angle if I know two sides," "right triangle angle calculator," or "how to calculate angle from height and distance." The Right Triangle mode above takes exactly those two inputs and returns the angle, the tangent ratio, the complementary angle (90° minus the angle), and a scaled diagram of the triangle so you can visually confirm which side is which.
A second enormous use case is finding the angle of a line from the origin to a point (x, y) — the kind of question people ask as "how to find the angle of a coordinate," "angle between point and x-axis calculator," or "polar angle calculator." Here the ratio is y ÷ x, and the angle is tan⁻¹(y ÷ x) — but with an important caveat covered in the next section, because a plain arctangent calculation cannot tell the difference between a point in the upper-right of the plane and one in the lower-left, since both can produce the identical ratio. The Coordinate Angle mode above solves this properly using quadrant-aware logic (the atan2 approach described below), not naive division.
This is one of the most common points of confusion for programmers, engineers, and students moving from pure math into applied fields like robotics or graphics: "what is the difference between atan and atan2," "why does atan2 take two arguments." A plain atan(y/x) only ever returns a value between −90° and 90°, so it cannot distinguish quadrants — atan(1/1) and atan(−1/−1) both equal 45°, even though the two points sit on opposite sides of the origin. atan2(y, x) fixes this by accepting the y and x values separately (not already divided) and using their individual signs to return the correct angle across the full 360° range, from −180° to 180°. This is exactly why the Coordinate Angle mode of this calculator uses atan2-style logic internally rather than a simple division, so a point in the second, third, or fourth quadrant returns the true angle rather than an angle that's off by 180°.
A reference angle is the acute angle (always between 0° and 90°) formed between a line and the nearest x-axis, regardless of which quadrant the line falls in. It's a frequent search because trigonometry courses lean on it heavily: "how to find reference angle," "reference angle calculator," "what quadrant is this angle in." Quadrant I runs from 0° to 90°, Quadrant II from 90° to 180°, Quadrant III from 180° to 270°, and Quadrant IV from 270° to 360° (or equivalently −90° to 0°). The Coordinate Angle mode above reports both the quadrant and the reference angle automatically, so you don't need to work them out by hand every time you plot a point.
Beyond the classroom, arctangent is one of the most quietly essential functions in applied science and engineering. Civil engineers and architects use it to calculate roof pitch, ramp incline, and structural slope from a rise and a run. Surveyors use it to convert measured horizontal and vertical distances into bearing angles. Physicists use it to resolve force or velocity vectors into a direction, and to compute the angle of a resultant vector from its components. Robotics and computer-vision engineers use atan2 constantly to compute heading, steering angle, and joint rotation from coordinate data. Game and graphics programmers use it to point a sprite, camera, or projectile toward a target. Pilots, ship navigators, and GPS software use it to compute bearing between two coordinates. Even something as ordinary as a phone's tilt sensor or a robot vacuum's obstacle-avoidance logic leans on an arctangent calculation behind the scenes.
Nearly every programming language ships both functions: a plain atan(x) that mirrors the calculator function described above, and an atan2(y, x) that solves the quadrant problem described earlier. Common searches here include "atan2 python," "Math.atan2 javascript," "atan formula excel," and "how to calculate arctan in a spreadsheet." The underlying math is identical across languages — only the syntax changes — which is why understanding the concept on this page transfers directly, whether you're writing Python, JavaScript, C++, or a spreadsheet formula.
Four simple steps take you from raw numbers to a verified angle.
Type in a tangent value, two triangle sides, an (x, y) coordinate, or an angle to convert — whichever matches what you're trying to solve.
Switch between Tan⁻¹ Value, Right Triangle, Coordinate Angle, Degree ↔ Radian, or Tangent Verification using the tabs above the form.
The calculator runs the correct formula — arctangent, atan2, or standard tangent — and instantly converts between degrees and radians.
See the angle, its reference angle, its quadrant (where relevant), and a tangent-verification check confirming the answer is internally consistent.
The five equations behind every calculation mode on this page.
Inverse Tangent. Given a ratio x, this returns the angle θ (between −90° and 90°) whose tangent equals x. Example: tan⁻¹(1) = 45°.
Tangent Ratio. In a right triangle, the tangent of an angle equals the opposite leg divided by the adjacent leg — rearranged, θ = tan⁻¹(Opposite ÷ Adjacent).
Radian → Degree Conversion. Multiply a radian measure by 180 divided by pi to convert it into degrees.
Degree → Radian Conversion. Multiply a degree measure by pi divided by 180 to convert it into radians.
Coordinate / Polar Angle. Returns the true angle of a point (x, y) from the origin across the full 360°, correctly handling every quadrant.
Eight real calculations, shown with every step.
This is the most common reference value in trigonometry: a tangent of exactly 1 corresponds to a 45° angle, since the opposite and adjacent sides are equal.
0.577 is an approximation of 1/√3, the exact tangent of 30° — a value that shows up constantly in 30-60-90 triangle problems.
1.732 approximates √3, the tangent of 60°, and pairs naturally with the previous example since 30° and 60° are complementary angles.
A ramp rises 3 metres (opposite) over a horizontal run of 8 metres (adjacent).
The ramp's incline is approximately 20.56° — a figure a contractor could compare directly against an accessibility code's maximum allowed slope.
A point sits at (x = −4, y = 3), in the second quadrant.
This example shows exactly why atan2 matters: a plain arctangent gives an angle in the wrong quadrant, while atan2 correctly places it at 143.13°.
Convert 45° to radians.
The round trip confirms the conversion: converting 45° to radians and back through tangent and arctangent returns the original angle.
A roof rises 6 feet over a horizontal span of 12 feet.
A pitch angle of roughly 26.57° corresponds to a common "6-in-12" roof slope used in residential construction.
A ship travels 5 nautical miles east and 5 nautical miles north of its start point.
A 1:1 ratio of eastward to northward travel gives a bearing of exactly 45°, or due northeast — the same core calculation used in dead-reckoning navigation.
Common tangent values, degree/radian pairs, and quadrant ranges at a glance.
| Tangent Value | Angle |
|---|---|
| 0 | 0° |
| 0.577 | 30° |
| 1 | 45° |
| 1.732 | 60° |
| Very Large | ≈ 90° |
| Degrees | Radians |
|---|---|
| 30° | π/6 |
| 45° | π/4 |
| 60° | π/3 |
| 90° | π/2 |
| 180° | π |
| Quadrant | Angle Range |
|---|---|
| I | 0°–90° |
| II | 90°–180° |
| III | 180°–270° |
| IV | 270°–360° |
Built for anyone who needs an accurate angle fast — not just a single number.
Inverse tangent, right triangle solving, coordinate angle, unit conversion, and tangent verification — no need to hunt for five separate calculators.
Every mode recalculates live, with no page reloads and no manual formula entry.
The coordinate angle mode uses atan2-style logic, so results are correct in all four quadrants, not just the first.
Interactive triangle, unit-circle, and coordinate-plane illustrations update automatically with your numbers.
Every angle result is shown in both units automatically, with no separate converter needed.
A fully responsive layout means the same accurate tool works on desktop, tablet, and mobile.
Real fields where this exact calculation is used every day.
Calculating roof pitch, ramp incline, structural slope, and load angles from rise-over-run measurements.
Converting horizontal and vertical distance measurements into bearing and elevation angles between two points.
Resolving force and velocity vectors into direction angles from their horizontal and vertical components.
Computing heading, steering angle, and joint rotation from coordinate and sensor data using atan2.
Calculating bearing and heading between two coordinates for ships, aircraft, and GPS routing software.
Using atan() and atan2() functions in Python, JavaScript, C++, and spreadsheets to compute angles from data.
Avoid these classic errors when working with tan⁻¹, atan, and atan2.
tan⁻¹(x) means "the angle whose tangent is x," not "1 divided by tan(x)." The two are completely different operations.
Mixing degrees and radians is the single most common source of wrong answers — always confirm which unit your calculator or function expects.
A plain arctangent calculation only returns angles between −90° and 90°, so it can silently place a point in the wrong quadrant.
When working with real (x, y) coordinates, atan2(y, x) should be used instead of atan(y/x) to get a quadrant-correct result.
atan2 takes y before x — atan2(y, x), not atan2(x, y). Swapping the order produces a completely different, incorrect angle.
Reference angles are always acute (0°–90°); forgetting to adjust for the quadrant leads to sign and direction errors.
Rounding an intermediate ratio before taking the arctangent can shift the final angle by a noticeable amount — round only the final answer.
Opposite and adjacent are relative to the angle you're solving for — swapping them inverts the result to its complementary angle instead.
Straight answers to the most common questions about tan⁻¹ and arctangent.
Tan⁻¹, also written arctan or atan, is the inverse of the tangent function. Given a ratio, it returns the angle (between −90° and 90°) whose tangent equals that ratio.
Arctangent is another name for the same function as tan⁻¹ — it takes a numeric ratio and returns an angle, in degrees or radians.
Tangent converts an angle into a ratio; tan⁻¹ converts a ratio back into an angle. They perform opposite operations.
Enter your ratio, side lengths, or coordinates into the calculator above, choose the matching mode, and the angle is calculated instantly in both degrees and radians.
atan() is the standard function name for arctangent in most programming languages and calculators, returning a value between −90° and 90°.
atan2(y, x) is a two-argument version of arctangent that uses the sign of both y and x to return the correct angle across the full 360° range, avoiding quadrant errors.
Yes — use the Degree ↔ Radian Converter mode above, or apply the formulas Degrees = Radians × (180 ÷ π) and Radians = Degrees × (π ÷ 180) directly.
Yes. The Right Triangle mode calculates the angle, tangent ratio, and complementary angle from the lengths of the opposite and adjacent sides.
A plain arctangent calculation cannot tell which quadrant a coordinate is in, since opposite ratios can produce the same result. Quadrant-aware logic (atan2) is needed for a fully correct angle.
A reference angle is the acute angle, always between 0° and 90°, formed between a line and the nearest x-axis — used to relate any angle back to a first-quadrant value.
Yes. It uses standard double-precision trigonometric functions and includes a built-in tangent-verification check on every result.
Yes, the calculator and every calculation mode on this page are completely free to use, with no signup required.
Yes, the entire page — including the calculator, diagrams, and tables — is fully responsive and works on phones and tablets.
Students, teachers, engineers, architects, surveyors, physicists, programmers, and anyone else who needs to convert a ratio, triangle, or coordinate into an angle.
In right-triangle geometry, coordinate and polar geometry, engineering and architecture, surveying, physics, robotics, computer graphics, navigation, and virtually every programming language via atan() and atan2().
Calculate inverse tangent values, solve right triangles, determine coordinate angles, convert between degrees and radians, and verify tangent calculations — all with one professional, free tool.