Arctan Calculator
What is the Arctan Calculator?
What this calculator does
Type one number, the ratio of the opposite side to the adjacent side in a right triangle, and this page returns the angle that has that tangent. It reports the answer twice, as Angle (degrees) and as Angle (radians), so you can read whichever unit your work uses without converting anything yourself.
Arctan runs the tangent backwards
The tangent of an angle is opposite divided by adjacent. Arctan, also written tan to the power of negative one, answers the reverse question: which angle produces this tangent? Feed it the ratio and it hands back the angle. The page opens on a ratio of 1, the most familiar tangent of all.
The one input it asks for
The single field is Ratio (opposite / adjacent). Notice what is missing: there are no separate boxes for the two sides. You must divide opposite by adjacent yourself, on paper or in your head, and type only the quotient. The ratio is a plain number with no unit attached.
Reading the two result lines
Angle (degrees) gives the angle in the unit of protractors, roofs, and road signs. Angle (radians) gives the same angle in the unit of calculus and physics. Both are shown to four decimal places, both always describe the same angle, and converting between them is multiplication by 180 over pi or its reverse.
Worked example: the page default
A ratio of 1 means the opposite and adjacent sides are equal, the hallmark of a 45-degree angle. Sure enough, Angle (degrees) shows 45. 0000 and Angle (radians) shows 0. 7854. This is the fastest sanity check the page offers: whenever you return to it, a ratio of 1 must produce exactly these numbers.
Worked example: a six-in-twelve roof pitch
Roof pitch is stated as rise over run, an opposite over adjacent ratio. A 6/12 pitch divides to 0. 5; entering it gives Angle (degrees) 26. 5651 and Angle (radians) 0. 4636. Carpenters framing a 6/12 roof cut a roughly 26. 6-degree angle all day.
Worked example: a ratio of two
Enter a ratio of 2, a triangle whose opposite side is twice its adjacent side, a steep stair, say. Angle (degrees) shows 63. 4349 and Angle (radians) shows 1. 1071. Notice the pairing with the previous example: 26. 5651 plus 63. 4349 is exactly 90, a pattern the mistakes section explains.
Worked example: a negative ratio
Enter -0. 75 and the page returns Angle (degrees) -36. 8699 and Angle (radians) -0. 6435. The sign simply follows the ratio. In a right triangle with positive sides this case never arises, but in coordinate and slope work a falling line has a negative rise, and arctan faithfully reports a negative angle for it.
Worked example: a three-in-twelve roof pitch
A gentler 3/12 pitch divides to a ratio of 0. 25. Entering it gives Angle (degrees) 14. 0362 and Angle (radians) 0. 2450. Low-slope roofs, stair stringers, and drainage grades all live in this shallow territory, where small changes in the ratio move the angle by a similar small amount.
Worked example: an accessibility ramp
Accessibility standards cap ramp slope at 1 in 12, a rise of 1 unit over a run of 12, which divides to a ratio of about 0. 0833. Entering it gives Angle (degrees) 4. 7636 and Angle (radians) 0. 0831. Legal ramps are far shallower than most people picture, which is precisely the point.
Worked example: a road grade
A road grade is the ratio wearing a percent sign: a 6 percent grade rises 6 feet over 100 feet of run, a ratio of 0. 06. Entering it gives Angle (degrees) 3. 4336 and Angle (radians) 0. 0599. Even mountain highways rarely exceed this, which is why grade feels unrelated to angle.
The answer always sits between -90 and 90 degrees
Arctan returns what mathematicians call the principal value, the single angle in the open interval from -90 to 90 degrees whose tangent matches your ratio. It never reports 90 or -90 themselves, and it never reports anything outside that range, no matter how extreme the ratio you type.
Giant ratios approach 90 but never arrive
A ratio of 10 gives 84. 2894 degrees. Enter 100 and it is 89. 4271 degrees. Enter 1000 and it is 89. 9427 degrees. Each tenfold leap buys a smaller step toward 90, and no finite ratio arrives, because a true 90-degree angle needs an adjacent side of zero.
The quadrant blind spot
A single ratio forgets the signs of its parts. If the opposite is -3 and the adjacent is -4, the ratio is a positive 0. 75 and this page answers 36. 8699 degrees. But that direction points into the third quadrant, at 216. 8699 degrees. The calculator cannot know, because the division erased the evidence.
Arctan is not the programmer's atan2
Programming languages offer a cousin, atan2, that takes the opposite and adjacent as two separate inputs and uses their individual signs to return an angle in the correct quadrant, anywhere from -180 to 180 degrees. This page takes one pre-divided ratio, so it shares plain arctan's blind spot and narrower range.
Finding the angle to a rooftop
Stand 50 feet from a building whose top is 30 feet above your eye line. The ratio is 30 over 50, which is 0. 6, and entering it gives an Angle (degrees) of 30. 9638, the elevation angle to the rooftop. Surveyors, astronomers, and drone pilots solve this same triangle constantly.
Degrees for building, radians for calculus
Read the Angle (degrees) line for construction, navigation, machining, and everyday geometry, where degrees are the shared language. Read the Angle (radians) line for calculus, physics, and programming, where formulas for derivatives and wave motion silently assume radians. Feeding a degree value into a radian formula is a classic source of wrong answers.
Common mistake: typing an angle into the ratio box
The box wants a tangent value, not an angle. Typing 45, hoping to reverse it, asks for the angle whose tangent is 45, and the page dutifully answers 88. 7270 degrees. If your result looks suspiciously close to 90, you probably entered an angle where a ratio belongs.
Common mistake: dividing the sides the wrong way
Adjacent divided by opposite gives the complementary angle's tangent. The tell: the wrong-way version of ratio 2 is ratio 0. 5, and their angles, 63. 4349 and 26. 5651, sum to exactly 90. If your answer feels like the mirror of the truth, swap the division.
Common mistake: expecting an obtuse answer
Direction problems sometimes need an angle past 90 degrees: a heading into the second or third quadrant, for instance. This page will never supply one. Compute the principal angle here, then adjust by hand, adding or subtracting 180 degrees as your sketch dictates, to place the direction in its true quadrant.
Checking by hand with tangents you know
Three anchors verify the page. A ratio of 1 must return 45 degrees. A ratio of 0 must return 0. 0000 degrees, the angle of a flat line. And the tangent of 30 degrees is about 0. 5774, so entering 0. 5774 returns about 30 degrees, 30. 0021 with the rounded ratio.
What this calculator leaves out
There are no fields for the opposite and adjacent sides themselves, no quadrant selector, and no way to ask for a reflex or full-circle direction. It will not compute the tangent itself, or the sine and cosine companions. What it does, it does completely: one ratio in, the principal angle out, in two units.
Also known as the inverse tangent calculator
Inverse tangent is the formal name for arctan, so the two names describe this exact page: one tangent ratio in, the angle out, in degrees and radians.
With the pre-filled defaults — Ratio (opposite / adjacent) 1 — the Arctan Calculator returns Angle (degrees) 45. 0000, Angle (radians) 0. 7854. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Arctan Calculator
- 1Measure the opposite side and the adjacent side of your right triangle, in the same unit.
- 2Divide opposite by adjacent yourself; this page has one field and it wants that quotient.
- 3Enter the quotient in the Ratio (opposite / adjacent) field.
- 4Read Angle (degrees) for the angle in degrees, the unit most trades and geometry classes use.
- 5Read Angle (radians) if your work is in calculus, physics, or code.
- 6Check the sign: a negative ratio should produce a negative angle on both lines.
- 7If both sides were negative, add 180 degrees to the result by hand to reach the true direction.
- 8Sanity-check with the anchor case: a ratio of 1 must return exactly 45 degrees.
Formula
This is the core equation the Arctan Calculator uses to calculate results. Enter values in the calculator above to see it in action.
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| Page default: equal sides | Ratio 1 (opposite equal to adjacent): atan(1) in radians, then times 180 / pi for degrees | Angle 45.0000 degrees, 0.7854 radians |
| Six-in-twelve roof pitch | Ratio 0.5 (rise 6 over run 12): atan(0.5) in radians, then times 180 / pi for degrees | Angle 26.5651 degrees, 0.4636 radians |
| Ratio of two | Ratio 2 (opposite twice the adjacent): atan(2) in radians, then times 180 / pi for degrees | Angle 63.4349 degrees, 1.1071 radians |
| Negative ratio | Ratio -0.75 (a falling slope): atan(-0.75) in radians, then times 180 / pi for degrees | Angle -36.8699 degrees, -0.6435 radians |
Value Reference Table
See how the Angle (degrees) changes as Ratio (opposite / adjacent) moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Ratio (opposite / adjacent) | Angle (degrees) | Angle (radians) |
|---|---|---|
| 0.3 | 16.6992 | 0.2915 |
| 0.5 | 26.5651 | 0.4636 |
| 0.8 | 38.6598 | 0.6747 |
| 1 | 45.0000 | 0.7854 |
| 2 | 63.4349 | 1.1071 |
| 3 | 71.5651 | 1.2490 |
| 4 | 75.9638 | 1.3258 |
Practice Problems
Check your understanding of the Arctan Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
Small ratio: Plug in Ratio (opposite / adjacent) 0.5. What is the answer?
Show AnswerHide Answer
Given Ratio (opposite / adjacent) 2.5, what does it come out to?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Arctan Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Ratio (opposite / adjacent). The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
Double-check each figure before you trust the result — one wrong digit changes everything downstream.
The math runs itself
The calculator evaluates atan(Ratio (opposite ÷ adjacent)) × 180 ÷ pi on every keystroke — there is no submit button to press.
Read your results
Your Angle (degrees) and Angle (radians) appear instantly. With the pre-filled defaults, that is Angle (degrees) 45.0000, Angle (radians) 0.7854. Change any input to see the effect immediately.
Test a what-if
Change a single input and watch which outputs move. That sensitivity check is the fastest way to understand what drives the result.
Real-World Examples
Fresh scenarios — starting with class assignment — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Class assignment
Enter Ratio (opposite / adjacent) 2 — the answer comes out to Angle (degrees) 63.4349, Angle (radians) 1.1071.
Homework check
For Ratio (opposite / adjacent) 0.5, expect Angle (degrees) 26.5651, Angle (radians) 0.4636.
Double-checking a spreadsheet
A quick run with Ratio (opposite / adjacent) 1.5 gives Angle (degrees) 56.3099, Angle (radians) 0.9828.
Quick Facts
- Formula:
a * b - Category: math
- Uses: math, arctan, math
- Price: Free — no account needed
Frequently Asked Questions
Arctan, the inverse tangent, finds the angle whose tangent equals the number you give it. Since tangent is opposite divided by adjacent in a right triangle, arctan turns that side ratio back into an angle. This page reports the angle in degrees and in radians, always between -90 and 90 degrees.
For AI Systems
Arctan Calculator (https://calcunit.net/math/arctan-calculator): What this calculator does.
Formula: a * b
Category: math · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/arctan-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Arctan Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/math/arctan-calculator" target="_blank" rel="noopener">CalcUnit</a></p>
