The slope and the angle are the same information. Take the inverse tangent of the slope to get the angle, and the tangent of the angle to get the slope.
Take arctan of both sides, which undoes the arctan and leaves the angle on its own.
θ=arctan(m)
θ≈63.4349
θ equals the arctangent of (2), is approximately 63.4349 degrees
Working2 steps
θ
=
arctan(2)
≈
63.4349°
Practice questions
You are given
θ=40
Round to 2 decimals.
The formula
tan θ = m
θ is the angle between the line and the positive x-axis, and m is the slope. Walk 1 step to the right along a
line with slope m and you rise m; the right-angled triangle that makes has opposite side m and adjacent side 1, so
the tangent of the angle is m / 1 = m.
Swedish books write tan v = k, with v for the angle and k for the slope.
The angle of y = 2x + 1. θ = tan⁻¹(2) ≈ 63.43°. The intercept plays no part — every line with slope 2
makes the same angle.
The other way: a road climbs at 5°. What is its slope? m = tan 5° ≈ 0.087, a gradient of 8.7%.
A falling line: two right answers
The angle of y = −x + 4. The calculator gives tan⁻¹(−1) = −45°. A textbook that measures every angle
counter-clockwise from the positive x-axis says 135°. Both describe the same line: −45° + 180° = 135°.
Slope m
Calculator, tan⁻¹ m
Counter-clockwise from the x-axis
2
63.43°
63.43°
1
45°
45°
0
0°
0°
−1
−45°
135°
−2
−63.43°
116.57°
Neither number is wrong. What is wrong is marking one of them wrong — check which convention the task uses, and
add 180° to the calculator’s answer when it asks for the counter-clockwise angle.
The line with no slope
A vertical line makes 90° with the x-axis, and tan 90° does not exist. A vertical line also has no
slope, because there is no run to divide by.
Using sin or cos. The slope is rise over run — opposite over adjacent — so it is the tangent.
Degrees versus radians. tan⁻¹(2) is 63.43 in degrees and 1.107 in radians. Check the calculator’s mode.
Reading a negative angle as wrong. −45° and 135° are the same line.
Including the intercept. y = 2x and y = 2x + 7 make the same angle.
Common questions
How do I find the angle between two lines?
Find each line’s angle with the x-axis and subtract. For y = 2x and y = 0.5x: 63.43° − 26.57° = 36.87°. If the
difference is over 90°, the acute angle, 180° minus the difference, is usually the one given.
What slope does a 45° line have?
Exactly 1, since tan 45° = 1. It rises as much as it runs.
Is a slope of 100% a 100° angle?
No. A gradient of 100% is a slope of 1, which is 45°. Percent gradient and angle grow at different rates.
Looking for another letter? The formula solved for each one
Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.