On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Geometry Fundamentals · Grade 9-12

Slope in Geometry

Slope in geometry links the algebraic rise-over-run to the geometric angle of inclination: m=y2−y1x2−x1=tan⁡θ.

m=riserun=y2−y1x2−x1=tan⁡(θ)
y = 1 · x012345678910(0, 0)

Drag the point: every run of 1 buys a rise of 1 — that constant trade is what slope means.


Quick Answer

Slope in geometry links the algebraic rise-over-run to the geometric angle of inclination: m=y2−y1x2−x1=tan⁡θ. Use it when you know a line's slope and need the angle it tilts at, or the reverse, such as turning a road's 8% grade into about 4.6∘ or a 30∘ ramp into a slope of about 0.58. Slope to angle uses θ=tan⁡−1(m); angle to slope uses m=tan⁡θ. A positive slope rises to the right, a negative one falls.

Why This Matters

Steepness is quoted in different forms: a road sign gives a percentage grade, a roofer a ratio like 6 in 12, an engineer an angle in degrees. Linking slope to angle lets you convert between them and compare, for instance that a 100% grade is 45∘, not vertical. Reading a slope of 1 as 1∘ instead of 45∘ mistakes a steep line for a nearly flat one.

Intuitive Explanation

Draw a line on a grid and pick two points on it. The run is the horizontal step between them and the rise is the vertical step. Those two steps and the line form a right triangle, and the angle θ where the line meets the horizontal sits at one corner. Seen from θ, the rise is the opposite side and the run is the adjacent side, so riserun=tan⁡θ. A line's slope is the tangent of its angle of inclination.

That gives some landmarks. Slope 0 is flat, θ=0∘. Slope 1 means rise equals run, a 45∘ line. Slope 3≈1.73 is 60∘. As a line approaches vertical, the run shrinks toward 0 and the slope grows without limit, which is why a vertical line has no slope and tan⁡90∘ is undefined. Slope does not grow in step with the angle: going from 30∘ to 60∘ doubles the angle but triples the slope, from about 0.58 to 1.73.

Not every tangent problem is about a line's slope. Finding a tower's height from the angle up to its top uses tan⁡ in a right triangle to get a side length, with no line on a grid involved. Slope in geometry is the bridge between a line's rise over run on a grid and the angle it makes with the positive x-axis. A negative slope means the line falls to the right, and its inclination from the positive x-axis is between 90∘ and 180∘.

Think of it like this. Slope and angle are two names for the same hill: a road sign says 10%, a hiker's clinometer says about 5.7∘, and both describe one climb. For gentle hills the two grow almost in step, but near vertical the percentage races toward infinity while the angle only creeps toward 90∘.

Core idea. A line's slope equals both riserun and tan⁡θ, where θ is the angle it makes with the x-axis.


When to Use

Use slope in geometry when a problem gives a line's slope and asks for its angle of inclination, gives an angle and asks for the slope or the line's equation, or states steepness as a grade or percentage. Use m=tan⁡θ and θ=tan⁡−1(m). If the problem is a right triangle with a missing side, such as a tower's height, use the tangent ratio directly. If it only asks for a rate of change between two points, plain rise over run is enough.

Tip. Ask: Am I connecting a line's rise-over-run to the angle it makes with the horizontal?

How to Recognize It

Before converting, check which form the problem gives the steepness in, a ratio, a percentage grade or an angle, and which form it wants back.

  1. Is the steepness given as a percentage, such as a 6% road grade?

    If yes, divide by 100 to get the slope, 0.06, then take tan⁡−1 if an angle is wanted: about 3.4∘. If it gives two points and wants only a rate of change, plain slope from algebra is the whole job.

  2. Is a right triangle drawn with one side missing, such as the height a ladder reaches up a wall?

    If yes, use the tangent ratio (or sine or cosine) to solve that triangle; no line on a grid is involved. If the triangle is formed by a graphed line and the x-axis, slope and angle are the same calculation.

  3. Does the line fall from left to right?

    If yes, the slope is negative and tan⁡−1 gives a negative angle, about −30∘ for m=−0.58; from the positive x-axis, that is an inclination of 150∘. Rising lines tilt between 0∘ and 90∘.

  4. Is the line vertical?

    If yes, the run is zero, the slope is undefined and the angle is 90∘, so no calculator conversion applies. A horizontal line is the other extreme, with slope 0 and angle 0∘.

Slope in Geometry compared with Plain slope (algebra), Tangent ratio in a triangle, and Angle measure alone

All four rows involve a vertical-to-horizontal ratio or an angle, so they get swapped. Ask what the answer should be: a rate (plain slope), a missing side of a triangle (tangent ratio), an angle on its own, or a line's tilt found from its slope.

Slope in Geometry

Meaning
Use this when you must convert between a line's steepness (rise over run) and its angle of inclination.
Key test
Am I connecting a line's rise-over-run to the angle it makes with the horizontal?
Formula
m=riserun=y2−y1x2−x1=tan⁡(θ)
Example
A line has slope m=1. What angle does it make with the positive x-axis?

Plain slope (algebra)

Meaning
Just rise over run as a rate of change, with no angle involved.
Key test
Use when you only need the rate, not the tilt angle.
Formula
m=y2−y1x2−x1
Example
A line through (1,2) and (4,11) has m=3

Tangent ratio in a triangle

Meaning
Opposite over adjacent in a right triangle, used to find an unknown side.
Key test
Use when solving a right triangle, not describing a line's incline.
Formula
tan⁡θ=oppadj
Example
A 30 m shadow, 40∘ sun, find tree height

Angle measure alone

Meaning
The size of an angle with no link to a line's slope.
Key test
Use when just measuring or comparing angles.
Formula
θ
Example
Two roads meet at 40∘

Formula & Notation

m=riserun=y2−y1x2−x1=tan⁡(θ)
m=y2−y1x2−x1=tan⁡θ where θ∈(−π2,π2) is the angle with the positive x-axis; vertical lines have θ=π2 and undefined slope

How to read it: m for slope; θ for the angle the line makes with the positive x-axis

Worked Examples

Example 1 — Slope to angle

Easy

A line has slope m=1. What angle does it make with the positive x-axis?
Show the steps and the answer
  1. Write the link: tan⁡θ=m=1.

    A line's slope is the tangent of its angle of inclination.

  2. Picture one step along the line: 1 right and 1 up.

    Rise equals run, so the right triangle under the step has two equal legs.

  3. Use that isosceles right triangle: its two acute angles are equal and add to 90∘, so each is 45∘.

    This finds θ without a calculator and confirms tan⁡−1(1)=45∘.

Answer: θ=45∘

Takeaway: Slope 1 means rise equals run, which is a 45∘ line; in general θ=tan⁡−1(m).

Example 2 — Right-triangle side, not incline

Standard

From 50 m away, the angle up to a tower's top is 40∘. Find the tower height.
Show the steps and the answer
  1. Draw the right triangle: 50 m along the ground to the tower's base, the height h straight up, and the sight line to the top.

    The 40∘ is at the observer, with h opposite it and the 50 m adjacent.

  2. Use the tangent ratio: tan⁡40∘=h50.

    Here tangent finds a side of a triangle; no line on a coordinate grid is involved.

  3. Solve: h=50tan⁡40∘≈50×0.839≈42 m.

    Multiplying both sides by 50 isolates h.

  4. Note the link: the sight line has slope h50≈0.84.

    The same tan⁡ appears, which is why the ideas are easy to confuse, but the unknown here is a length, not an angle or a slope.

Answer: h=50tan⁡40∘≈42 m

Takeaway: Tangent finds a missing side in a right triangle and also converts slope to angle; decide which job the problem needs.

Example 3 — Find the mistake: a slope read as degrees

Application

A road rises 15 m over a horizontal distance of 200 m. Ada writes: "The slope is 15200=0.075, so the road is tilted at 0.075∘." Find the mistake and correct it.
Show the steps and the answer
  1. Check the slope: m=15200=0.075, a 7.5% grade.

    Ada's slope is right; the error is in turning it into an angle.

  2. Convert with the inverse tangent: θ=tan⁡−1(0.075)≈4.3∘.

    A slope is a ratio of two lengths, not a number of degrees, so it must go through tan⁡−1.

  3. Test Ada's angle: a road at 0.075∘ would rise only 200×tan⁡0.075∘≈0.26 m over 200 m.

    That is far less than the 15 m in the problem, so 0.075∘ cannot be right.

Answer: About 4.3∘ (slope 0.075, a 7.5% grade)

Takeaway: Slope is a ratio and an angle is in degrees; convert with θ=tan⁡−1(m), never by relabelling the number.

Where You'll See It

  • Steep-grade road signs

    A sign warning of a 12% grade means the road rises or falls 12 m for every 100 m across, a slope of 0.12. That is only tan⁡−1(0.12)≈6.8∘, yet trucks shift to low gear, because even a small angle held for kilometres is a long, hard climb.

  • Roof pitch

    A roof with a 6-in-12 pitch rises 6 inches for every 12 inches across, a slope of 0.5, so it is tilted at tan⁡−1(0.5)≈26.6∘. Roofers use the angle to set their saws and the ratio to lay out rafters.

  • Wheelchair ramp rules

    Many building codes cap a ramp's slope at 1 in 12, about 0.083 or 4.8∘. A doorway 0.6 m above the path therefore needs a ramp running at least 0.6×12=7.2 m horizontally.

Common Mistakes

  1. The slip: Reading the slope value as the angle in degrees

    Instead: apply θ=tan⁡−1(m) to get the angle.

  2. The slip: Forgetting that a negative slope means a downhill angle below the horizontal

    Instead: sign carries direction.

  3. The slip: Mixing up which is rise and which is run inside tan⁡θ

    Instead: it is rise (vertical) over run (horizontal).


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. A line has slope 3. What angle does it make with the positive x-axis?

    Hint: Which angle has a tangent of 3?

  2. A wheelchair ramp rises 0.5 m over a horizontal run of 6 m. Find its slope and its angle with the ground.

    Hint: Slope is rise over run; the angle comes from the inverse tangent.

  3. A line passes through (−1,3) and (3,1). Find its slope and the angle it makes with the horizontal.

    Hint: A negative slope means the line goes downhill from left to right.

  4. A road climbs at 8∘ to the horizontal. Find its slope, and how much it rises over 200 m of horizontal distance.

    Hint: Slope equals tan⁡θ. Rise equals slope times run.

  5. A kite string is 30 m long and makes a 50∘ angle with the ground. To find the kite's height, do you use slope (tan⁡θ) or another ratio?

    Hint: Slope links rise to horizontal run. Which side do you actually know?

  6. A line has slope 2. A student says, "It makes a 2∘ angle with the x-axis." Correct the claim.

    Hint: Slope is a ratio. How do you turn a ratio into an angle?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why is a 100% grade only 45∘, not vertical?

A grade is rise divided by run, times 100. At 100% the rise equals the run, so the road climbs 1 meter for each meter forward, which is the 45∘45^\circ line y=xy=x. A vertical wall would need an infinite grade, because its run is zero. A street with a 30% grade, steep enough to be hard to walk up, tilts only about 16.7∘16.7^\circ.

Can I find the angle between two lines from their slopes?

Yes. Each line has its own angle of inclination, θ1=tan⁡−1(m1)\theta_1=\tan^{-1}(m_1) and θ2=tan⁡−1(m2)\theta_2=\tan^{-1}(m_2), and the angle between the lines is the difference. For slopes 1 and 3, that is about 71.6∘−45∘=26.6∘71.6^\circ-45^\circ=26.6^\circ. The same idea explains the perpendicular rule: when two inclinations differ by exactly 90∘90^\circ, the slopes multiply to −1-1.

My calculator says tan⁡−1(1)=0.785. What went wrong?

Nothing is wrong with the slope; the calculator is in radian mode. Radians are another unit for angles, and 0.7850.785 radians is π4\frac{\pi}{4}, which equals 45∘45^\circ. Switch the mode to degrees and tan⁡−1(1)\tan^{-1}(1) gives 45. To convert by hand, multiply radians by 180π\frac{180}{\pi}, about 57.3: 0.785×57.3≈450.785\times57.3\approx45.

Does the angle I see on a graph depend on how the axes are drawn?

Yes, which is why graphs can mislead. The line y=2xy=2x always has slope 2 and a true angle of about 63.4∘63.4^\circ, but if each unit on the yy-axis is drawn half as tall as a unit on the xx-axis, the line will look like 45∘45^\circ. The conversion θ=tan⁡−1(m)\theta=\tan^{-1}(m) matches the picture only when both axes use the same unit length, as on square graph paper.

Learning Path

← Before

SlopeAngles
Slope in Geometry

You are here

You need Slope (rise over run) and Angles first. Slope in geometry adds the link m=tan⁡θ, so a line's steepness and its tilt can be converted either way. Next, Trigonometric Functions extend tangent, sine and cosine to every angle, and Tangent Intuition builds on the same picture of tangent as rise over run.

See Also