Inverse Tangent Calculator
Find the angle whose tangent equals any given value. Supports standard arctan and full-quadrant atan2 modes with results in degrees and radians, unit circle visualization, and detailed step-by-step solutions.
Calculate Inverse Tangent
Find the angle whose tangent equals the given value
Any real number (the tangent of the angle you want to find)
Enter the y and x coordinates to find the angle in the correct quadrant
Error
Unit Circle Visualization
Common Inverse Tangent Values
Step-by-Step Solution
How to Use This Calculator
Choose a Mode
Select arctan(x) for a single tangent value, or atan2(y, x) when you have separate y and x coordinates.
Enter Your Value
Type the tangent value or coordinates. Use example buttons to quickly load common values.
View Results
See the angle in degrees and radians, the quadrant, unit circle diagram, and full step-by-step solution.
What Is the Inverse Tangent?
The inverse tangent, written as arctan(x) or tan−1(x), is the trigonometric function that reverses what the tangent function does. While the tangent of an angle tells you the ratio of the opposite side to the adjacent side of a right triangle, the inverse tangent takes that ratio and returns the original angle.
For instance, in a right triangle where the opposite side measures 5 units and the adjacent side measures 5 units, the ratio is 1. Feeding that value into the inverse tangent gives arctan(1) = 45 degrees, confirming the triangle has a 45-degree angle. This relationship makes the inverse tangent essential in geometry, physics, engineering, and many applied fields.
The Arctan Formula
The fundamental relationship is straightforward. If tan(θ) = x, then θ = arctan(x). The result is called the principal value and always falls in the open interval (−90°, 90°) or equivalently (−π/2, π/2) in radians. This restriction ensures arctan is a proper function that produces exactly one output for every input.
In practical terms, arctan can accept any real number as input. Very large positive inputs produce results close to 90 degrees, while very large negative inputs produce results close to −90 degrees. The function passes through the origin: arctan(0) = 0.
Common Arctan Values
Several inverse tangent values appear frequently in mathematics and are worth knowing by heart. arctan(0) = 0°. arctan(1/√3) = 30° (π/6 radians). arctan(1) = 45° (π/4 radians). arctan(√3) = 60° (π/3 radians). These correspond to the standard angles found in 30-60-90 and 45-45-90 triangles that form the backbone of trigonometry courses.
Understanding atan2: Full-Quadrant Inverse Tangent
Standard arctan has a limitation: because it only receives the ratio y/x, it cannot distinguish between points in opposite quadrants. The point (1, 1) gives the same ratio as (−1, −1), yet they lie in completely different quadrants (I and III, respectively). This is where atan2(y, x) becomes invaluable.
The atan2 function takes two separate arguments — the y-coordinate and the x-coordinate — and returns the angle measured from the positive x-axis to the point (x, y). Its output ranges from −180° to 180° (exclusive/inclusive), covering all four quadrants. This makes atan2 the preferred choice in programming, robotics, game development, and any context where the full angular direction matters.
For example, atan2(1, 1) returns 45° (Quadrant I), while atan2(−1, −1) returns −135° (Quadrant III). Regular arctan would return 45° for both cases since the ratio 1/1 equals (−1)/(−1).
Why Does Arctan Only Return Values Between −90° and 90°?
The tangent function is periodic with a period of 180 degrees: tan(θ) = tan(θ + 180°). This means infinitely many angles produce the same tangent value. To create a well-defined inverse, mathematicians restrict the output to a single period where the tangent is one-to-one: the interval from −90° to 90° (not including the endpoints, where tangent is undefined).
Within this restricted range, every tangent value maps to exactly one angle, and every real number is a valid tangent value. This makes arctan a true function that works for all real inputs. If you need an angle outside this principal range, you can add or subtract multiples of 180° to shift the result into the desired quadrant.
Inverse Tangent on the Unit Circle
The unit circle provides a geometric way to visualize inverse tangent. For any point on the unit circle at angle θ from the positive x-axis, the tangent of θ equals the y-coordinate divided by the x-coordinate. Given a tangent value, arctan finds the corresponding angle on the right half of the unit circle (between −90° and 90°).
Our calculator draws the resulting angle on the unit circle, along with the right triangle formed by dropping a perpendicular from the terminal point to the x-axis. The vertical leg represents the "opposite" side (related to y), the horizontal leg represents the "adjacent" side (related to x), and their ratio is the tangent value you entered.
Practical Applications
Navigation and Surveying
When a surveyor measures a horizontal distance of 200 meters to the base of a tower and a vertical height of 50 meters to its top, arctan(50/200) = arctan(0.25) gives the elevation angle of approximately 14.04 degrees. Pilots use the same calculation to determine glide slopes, and hikers compute trail grades from elevation gain and horizontal distance.
Physics and Engineering
In projectile motion, the launch angle can be found using the inverse tangent of the vertical velocity component divided by the horizontal component. Electrical engineers use arctan when calculating phase angles in AC circuits. Mechanical engineers apply it to determine slope angles, force directions, and gear ratios.
Computer Graphics and Game Development
Game developers and graphics programmers frequently use atan2 to compute the angle between two objects. If a game character at position (x1, y1) needs to face a target at (x2, y2), the facing angle is atan2(y2 − y1, x2 − x1). This calculation drives everything from enemy AI aiming to camera rotation to particle effect directions.
Coordinate Conversion
Converting Cartesian coordinates (x, y) to polar coordinates (r, θ) requires the inverse tangent. The angle θ = atan2(y, x) and the radius r = √(x² + y²). This conversion appears throughout mathematics, signal processing (converting complex numbers to polar form), and robotics (converting between coordinate frames).
Arctan vs. Other Inverse Trigonometric Functions
Each inverse trigonometric function serves a different purpose. Arcsin (inverse sine) takes a value between −1 and 1 and returns an angle between −90° and 90°. Arccos (inverse cosine) also takes a value between −1 and 1 but returns an angle between 0° and 180°. Arctan accepts any real number and returns an angle between −90° and 90°.
The key advantage of arctan is its unrestricted domain: you can input any real number, no matter how large or small. This makes it particularly useful when working with slopes, velocity ratios, and other quantities that can take any value. If you know the opposite and adjacent sides of a right triangle, arctan is the natural choice for finding the angle between them.
Features of Our Inverse Tangent Calculator
- Two calculation modes – Standard arctan(x) for simple tangent-to-angle conversion, and atan2(y, x) for full quadrant-aware angle computation.
- Degrees and radians – Results are displayed in both units simultaneously, with pi-fraction formatting for clean radian values.
- Unit circle visualization – An SVG diagram shows the resulting angle on the unit circle with the right triangle legs labeled, making it easy to understand the geometry.
- Common values table – A quick reference grid shows the most frequently used arctan values, highlighting the one that matches your current result.
- Step-by-step solutions – Every calculation includes numbered steps explaining how the result was obtained, useful for learning and homework verification.
- Quadrant and reference angle – See which quadrant the angle falls in and the corresponding reference angle at a glance.
- Copy to clipboard – One click copies all results in a clean text format for pasting into assignments, documents, or messages.
- Example values – Pre-loaded examples cover common angles (45 degrees, 60 degrees) and the atan2 mode so you can see the calculator in action immediately.
Frequently Asked Questions
What is the inverse tangent function?
The inverse tangent function, written as arctan(x) or tan⁻¹(x), takes a tangent value and returns the angle that produces it. For example, because tan(45 degrees) equals 1, arctan(1) equals 45 degrees. The function returns angles in the range from negative 90 degrees to positive 90 degrees (exclusive), which corresponds to Quadrants I and IV on the unit circle.
What is the difference between arctan and atan2?
The standard arctan(x) function takes a single value and returns an angle between negative 90 and positive 90 degrees. It cannot distinguish between opposite quadrants because dividing y by x gives the same ratio in Quadrants I and III (or II and IV). The atan2(y, x) function takes two separate arguments (y and x coordinates) and returns an angle between negative 180 and positive 180 degrees, correctly identifying all four quadrants. Use atan2 when you need the full angular position of a point.
How do I convert arctan results from radians to degrees?
To convert radians to degrees, multiply the radian value by 180 and divide by pi (approximately 3.14159). For example, arctan(1) equals pi/4 radians. Multiplying pi/4 by 180/pi gives 45 degrees. Our calculator displays both units automatically so you do not need to convert manually.
What is arctan of 0, 1, and infinity?
Arctan(0) equals 0 degrees because tan(0) is 0. Arctan(1) equals 45 degrees because tan(45 degrees) is 1. As the input grows toward positive infinity, arctan approaches 90 degrees but never reaches it. Similarly, as the input approaches negative infinity, arctan approaches negative 90 degrees. These boundary values correspond to vertical asymptotes of the tangent function.
Why does arctan only return angles between -90 and 90 degrees?
The tangent function repeats every 180 degrees, so multiple angles share the same tangent value. To make the inverse function well-defined and return exactly one answer, mathematicians restrict its output to the interval from negative 90 to positive 90 degrees (exclusive). This range is called the principal value. If you need a result in a different quadrant, use the atan2 function or add 180 degrees to shift between Quadrant I and Quadrant III.
How is the inverse tangent used in real life?
The inverse tangent appears in navigation (calculating heading angles from coordinate differences), physics (finding launch angles, slope angles, and phase angles), engineering (signal processing and control systems), computer graphics (determining rotation angles for sprites and camera direction), and surveying (computing elevation angles from horizontal distance and height difference). Any situation where you know the ratio of two perpendicular measurements and need the corresponding angle involves arctan.
Related Calculators
Coterminal Angle Calculator
Find coterminal angles, reference angle, and quadrant for any angle
Law of Cosines Calculator
Solve triangles using the law of cosines to find missing sides and angles
Pythagorean Theorem Calculator
Calculate any side of a right triangle using the Pythagorean theorem
All Math Calculators
Browse our complete collection of mathematical calculators and tools