Slope and Similar Triangles: Why Slope Stays the Same on a Line

#8th Grade Math#Expressions and Equations#Slope and Similar Triangles
TL;DR
Slope and similar triangles fit together because all slope triangles on one straight line are similar, so rise over run never changes. The same fact builds the equation y=mx+by = mx + b.
Bhanzu TeamLast updated on December 3, 202616 min read

Key Points

  • Slope and similar triangles connect because every slope triangle drawn on one straight line has the same angles, so all of those triangles are similar.
  • Similar triangles have sides in the same ratio, so rise divided by run gives the same slope between any two points on a non-vertical line.
  • A slope triangle drawn from the y-intercept to any point (x,y)(x, y) on the line gives the equation y=mx+by = mx + b after two inverse steps.
  • Under the 2010 ADA Standards, a new US wheelchair ramp may rise at most 1 inch for every 12 inches of run, anywhere along it.

One ramp, one steepness

A new US wheelchair ramp may climb only 1 inch for every 12 inches. That limit comes from the 2010 ADA Standards for Accessible Design, and it holds at any spot along the ramp, the first foot or the last.

The same rules cap one ramp run at 30 inches of rise. At 1 inch per 12, that full climb needs 360 inches of run, which is 30 feet.

A 1-inch rise over 12 inches and a 30-inch rise over 360 inches look nothing alike, yet they are exactly the same steepness. Slope and similar triangles explain why. Architects use this idea when they plan ramps and staircases, and video game designers use it whenever a character walks a straight diagonal path.

Ramp showing slope and similar triangles, rise 1 over run 12 and rise 30 over run 360.
Side view of a ramp with a small slope triangle of rise 1 inch and run 12 inches inside a whole-ramp triangle of rise 30 inches and run 360 inches, both showing a slope of 1/12.

What do slope and similar triangles have to do with each other?

Slope and similar triangles are linked because every slope triangle on a straight line is similar to every other one, so rise divided by run gives the same number wherever you measure. A slope triangle is a right triangle with one horizontal side, one vertical side and its longest side along the line. Its vertical leg is the rise (the change in height) and its horizontal leg is the run (the change across).

m=riserunm = \frac{\text{rise}}{\text{run}}

Similar triangles have the same shape but not always the same size. Their matching angles are equal, and their matching sides all grow by the same scale factor. That second fact is the whole connection. If a big slope triangle is a small one scaled up 30 times, its rise and its run both grow 30 times, and the fraction stays put.

Common Core standard 8.EE.B.6 asks your child to use similar triangles to explain why slope is the same between any two points on a non-vertical line. It then asks for the equations y=mxy = mx and y=mx+by = mx + b. Your child has probably met the slope of a line by counting grid boxes, and similar triangles in geometry, and this lesson is where the two finally meet.

Why is the slope the same between any two points?

The slope is the same between any two points because any two slope triangles on one line have matching angles, and triangles with two matching angles are similar. Follow the reasoning on the line through (0,1)(0, 1), (3,3)(3, 3) and (9,7)(9, 7).

  1. Draw two slope triangles. Triangle A goes from (0,1)(0, 1) to (3,3)(3, 3), with a run of 33 and a rise of 22. Triangle B goes from (3,3)(3, 3) to (9,7)(9, 7), with a run of 66 and a rise of 44.
  2. Spot the right angles. Each triangle has a 90∘90^\circ angle where its two legs meet.
  3. Find the second pair of equal angles. The horizontal legs are parallel and the line cuts across both, so the angles where the line meets them are corresponding angles, which are equal.
  4. Name the similarity. With two pairs of equal angles, the angle-angle (AA) criterion says the triangles are similar, so their sides are in the same ratio.
23=46\frac{2}{3} = \frac{4}{6}
Two similar slope triangles on one line, 2/3 equals 4/6.
Coordinate grid from -2 to 10 on the x-axis and -2 to 8 on the y-axis with the line through (0, 1), (3, 3) and (9, 7), a small triangle with run 3 and rise 2 and a larger triangle with run 6 and rise 4, matching angles marked.

Corresponding angles sit in matching positions where one line crosses two parallel lines. (The third angles match too, but AA only needs two.)

A child who has counted boxes for slope all year can still be stuck on why two different pairs of points never disagree. That missing reason is the step this standard fills in.

Counting boxes is quick when both points sit on grid corners. The slope formula works for any two points, so it's the method to reach for most often.

m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}

Here (x1,y1)(x_1, y_1) is the first point and (x2,y2)(x_2, y_2) is the second, so the top is the rise and the bottom is the run.

The argument breaks on a vertical line. Its run is 00, no slope triangle fits, and dividing by zero has no answer. That is why the standard says non-vertical, and why a vertical line's slope is called undefined.

How do you get y = mx and y = mx + b from a slope triangle?

You get each equation by drawing one slope triangle to a general point (x,y)(x, y) and setting its rise over run equal to the slope mm. Here xx and yy are the coordinates of any point on the line.

For a line through the origin, the slope triangle from (0,0)(0, 0) to (x,y)(x, y) has a run of xx and a rise of yy.

yx=m\frac{y}{x} = m

Multiply both sides by xx, the inverse of dividing by xx.

y=mxy = mx

That is a proportional relationship, where yy is always the same multiple of xx.

Now take a line that crosses the y-axis at (0,b)(0, b). The letter bb is the y-intercept, the y-value where the line crosses the vertical axis. The triangle from (0,b)(0, b) to (x,y)(x, y) has a run of xx and a rise of y−by - b.

y−bx=m\frac{y - b}{x} = m

Multiply both sides by xx, the inverse of dividing.

y−b=mxy - b = mx

Add bb to both sides, the inverse of subtracting bb.

y=mx+by = mx + b

This is slope-intercept form. Any point except (0,b)(0, b) itself works, since that triangle would have no size. On the line y=12x+2y = \frac{1}{2}x + 2, the point (4,4)(4, 4) gives a run of 44 and a rise of 22, and 24=12\frac{2}{4} = \frac{1}{2}.

Slope triangle from the y-intercept giving (y - 2)/x = 1/2.
Coordinate grid from -2 to 8 on the x-axis and -2 to 7 on the y-axis with the line y = 1/2 x + 2 crossing the y-axis at (0, 2), a slope triangle to (4, 4) with run 4 and rise 2, and a second triangle to a point (x, y) with run x and rise y - 2.

Word problems describe slope triangles in everyday words.

Words in the problem Math it means
1 inch of rise for every 12 inches of run m=112m = \frac{1}{12}
must rise 24 inches rise =24= 24
crosses the y-axis at (0,−3)(0, -3) b=−3b = -3
a larger slope triangle on the same line same ratio, 35=r15\frac{3}{5} = \frac{r}{15}

Try It Yourself

Drag the slope and intercept sliders and watch the line, its two slope triangles and the table of values change together. Notice that both triangles always show the same rise over run, and that each y-value in the table changes by the slope when x goes up by 1.

Examples of slope and similar triangles

Example 1

A slope triangle on a line has a rise of 3 and a run of 5. A larger slope triangle on the same line has a run of 15. Find its rise.

The triangles are similar, so their ratios match. Call the unknown rise rr.

35=r15\frac{3}{5} = \frac{r}{15}

Multiply both sides by 15, the inverse of dividing by 15.

r=15×35=9r = 15 \times \frac{3}{5} = 9

The larger triangle has a rise of 9.

Example 2

Are the points A(1,2)A(1, 2), B(3,5)B(3, 5) and C(7,11)C(7, 11) on one straight line?

The tempting move is to compare the rises. From AA to BB the rise is 3, and from BB to CC it is 6, so the second part looks twice as steep and the points seem to bend.

That fails because the second triangle also has a longer run. Steepness is a ratio, so a rise means nothing until it is divided by its run.

slope of AB=5−23−1=32\text{slope of } AB = \frac{5 - 2}{3 - 1} = \frac{3}{2}
slope of BC=11−57−3=64=32\text{slope of } BC = \frac{11 - 5}{7 - 3} = \frac{6}{4} = \frac{3}{2}

The ratios match, so all three points lie on one line.

Example 3

Find the slope of the line through (−2,4)(-2, 4) and (2,−2)(2, -2), then confirm it with a slope triangle ending at (4,−5)(4, -5).

The run is 2−(−2)=42 - (-2) = 4 and the rise is −2−4=−6-2 - 4 = -6, negative because the line drops as you move right.

m=−64=−32m = \frac{-6}{4} = -\frac{3}{2}

From (2,−2)(2, -2) to (4,−5)(4, -5), the run is 2 and the rise is −3-3, the same ratio, so (4,−5)(4, -5) is on the line.

Example 4

A line passes through the origin and (4,6)(4, 6). Write its equation and find yy when x=10x = 10.

m=64=32m = \frac{6}{4} = \frac{3}{2}

A line through the origin has the form y=mxy = mx, so its equation is y=32xy = \frac{3}{2}x.

y=32×10=15y = \frac{3}{2} \times 10 = 15

When x=10x = 10, y=15y = 15.

Example 5

A line crosses the y-axis at (0,−3)(0, -3) and passes through (6,1)(6, 1). Write its equation, then find yy when x=9x = 9.

The rise is 1−(−3)=41 - (-3) = 4 and the run is 6.

m=46=23m = \frac{4}{6} = \frac{2}{3}

The line crosses the y-axis at −3-3, so b=−3b = -3.

y=23x−3y = \frac{2}{3}x - 3
y=23×9−3=6−3=3y = \frac{2}{3} \times 9 - 3 = 6 - 3 = 3

When x=9x = 9, y=3y = 3.

Example 6

A ramp must rise 24 inches to a porch at a slope of 1 inch of rise per 12 inches of run. How long is its run, and how high is it 10 feet out?

Let xx be the distance across from the bottom and yy the height, both in inches. The whole ramp is a slope triangle similar to the small 1-by-12 one.

24run=112\frac{24}{\text{run}} = \frac{1}{12}

Multiply both sides by 12 and by the run, which undoes both divisions.

run=24×12=288 in\text{run} = 24 \times 12 = 288\,\text{in}

That is 24 feet. The ramp starts at height 0, so y=112xy = \frac{1}{12}x, and 10 feet out means x=120x = 120 inches.

y=112×120=10 iny = \frac{1}{12} \times 120 = 10\,\text{in}

The run is 288 inches, and the ramp is 10 inches high at 10 feet out.

The rule hiding in every staircase

A straight line's slope can be checked anywhere along it, and real building rules count on that.

  • Stairs that match step to step. The 2010 ADA Standards require every step on a flight of stairs to share one riser height and one tread depth. Risers run 4 to 7 inches high and treads at least 11 inches deep, so each step is the same slope triangle.
  • Ramps checked at any point. A 1:12 ramp has the same slope everywhere, so a 12-inch level laid on any part of it should show a 1-inch climb.
  • Rates read off a graph. In proportional relationships the unit rate is the slope, so $3 per pound is a rise of 3 for every run of 1.
  • One equation for a whole line. Because mm never changes, the single equation y=mx+by = mx + b describes every point on the line.

Graphs whose steepness does change are real too, and they get their own name in linear and nonlinear functions. In high school trigonometry, this ratio returns as the tangent of an angle.

Where do kids trip up on slope triangles?

Mistake 1: Putting the run on top

Where it slips in: Any slope triangle read off a graph, as in Example 1.

Don't do this: For a triangle with a rise of 2 and a run of 6, writing 62=3\frac{6}{2} = 3.

The correct way: The rise goes on top, so the slope is 26=13\frac{2}{6} = \frac{1}{3}.

The x-coordinate comes first in every ordered pair, so children often count across first and write that number first. Saying "rise over run" out loud while pointing up, then across, fixes the habit.

Wrong versus right slope triangle, run on top gives 3, rise on top gives 1/3.
Two copies of one slope triangle with rise 2 and run 6, the left marked wrong with 6/2 = 3 and the right marked correct with 2/6 = 1/3.

Mistake 2: Dropping the minus sign on a downhill line

Where it slips in: Downhill lines, as in Example 3.

Don't do this: Writing the 6-unit drop as 6 and getting 64=32\frac{6}{4} = \frac{3}{2}.

The correct way: Moving right, the line drops 6, so the rise is −6-6 and m=−32m = -\frac{3}{2}.

This one is genuinely confusing, because the side of the triangle really is 6 units long. Slope uses the change in height, and a change can be negative even when a length can't.

Mistake 3: Using any point's y-value as b

Where it slips in: Writing y=mx+by = mx + b from a point that is not on the y-axis.

Don't do this: For a line with slope 2 through (2,5)(2, 5), writing y=2x+5y = 2x + 5, which gives 9 at x=2x = 2.

The correct way: Substitute the point, 5=2(2)+b5 = 2(2) + b, so 5=4+b5 = 4 + b. Subtract 4 from both sides to get b=1b = 1, so y=2x+1y = 2x + 1.

A child who grabs the 5 usually does it because the 5 is the only y-number in sight. The letter bb belongs only to the point where x=0x = 0.

What most guides miss about slope triangles

A slope triangle can point backwards or sit between grid lines, and it still gives the same slope.

Going from (9,7)(9, 7) back to (3,3)(3, 3) on the line through (0,1)(0, 1) gives a rise of −4-4 and a run of −6-6. Both signs flip, so −4−6=23\frac{-4}{-6} = \frac{2}{3}, and the starting point is a free choice.

The corners don't need whole numbers either. The triangle from (0,1)(0, 1) to (1.5,2)(1.5, 2) has a rise of 1 and a run of 1.5, and 11.5=23\frac{1}{1.5} = \frac{2}{3}. Similar triangles promise the ratio even between points no grid count can reach, an idea calculus later stretches to find the slope of a curve at one point.

Key Takeaways

  • Slope and similar triangles connect through angles, since any two slope triangles on one straight line share a right angle and a pair of corresponding angles.
  • The size of a slope triangle is free to change, while the ratio of its rise to its run stays fixed.
  • One slope triangle from the y-intercept to a general point, plus two inverse steps, produces slope-intercept form.
  • A vertical line has no slope triangle at all, which is why its slope is undefined.
  • For more practice turning slope triangles into equations with a teacher who catches a swapped rise and run, explore Bhanzu's 8th grade math tutor or algebra classes.

A Practical Next Step

Work these three problems on graph paper, drawing every slope triangle you use.

  1. A slope triangle has a rise of 4 and a run of 10. A larger slope triangle on the same line has a run of 25. Find its rise.
  2. A line passes through (0,5)(0, 5) and (4,−3)(4, -3). Write its equation in the form y=mx+by = mx + b.
  3. Do the points (2,3)(2, 3), (5,9)(5, 9) and (8,14)(8, 14) lie on one straight line?

Answers: 1. A rise of 10. 2. y=−2x+5y = -2x + 5. 3. No, because 63=2\frac{6}{3} = 2 but 53\frac{5}{3} is not 2.

Practice these to solidify your understanding. If the sign on a downhill line catches you, return to Mistake 2. Want a live Bhanzu trainer to walk through more slope and similar triangles problems? Book a free demo class, online globally, or in person at our McKinney, TX center.

Read More

Research Behind This Article

  1. US Department of Justice, 2010 ADA Standards for Accessible Design (2010). ada.gov
  2. Common Core State Standards Initiative, Grade 8 Expressions and Equations (2010). thecorestandards.org
  3. OpenStax, Prealgebra 2e, 9.3 Use Properties of Angles, Triangles, and the Pythagorean Theorem (2020). openstax.org
  4. OpenStax, Elementary Algebra 2e, 4.4 Understand Slope of a Line (2020). openstax.org
  5. Institute of Education Sciences, What Works Clearinghouse, Teaching Strategies for Improving Algebra Knowledge in Middle and High School Students (2015). ies.ed.gov

Quick Quiz: Check Yourself

Three levels, new numbers every time: find a missing side of a larger slope triangle, find the slope between two points on a line, then solve a ramp word problem with a slope triangle.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the slope of a horizontal line?
Zero, because every slope triangle on a horizontal line has a rise of 0, and 0 divided by any run is 0.
What does it mean when two lines have the same slope?
Same slope means the slope triangles on one line are similar to the slope triangles on the other. Two different lines with the same slope are parallel, like y=2x+1y = 2x + 1 and y=2x−4y = 2x - 4, and they never meet.
Why is it important to write equations in slope intercept form?
You can read the slope mm and the y-intercept bb straight off the equation and sketch the line from them. The section How do you get y = mx and y = mx + b from a slope triangle? shows where the form comes from, using similar triangles for slope.
How do I explain slope and similar triangles to my child?
Draw the line through (0,0)(0, 0) and (6,3)(6, 3) on graph paper together. Have your child draw a slope triangle 2 across and 1 up, then one 6 across and 3 up, and divide rise by run for each. Both give 12\frac{1}{2}, because the big triangle is the small one scaled by 3.
My child can find the slope but can't explain why it stays the same. Should we get help?
No, not straight away, because that gap is normal early in this standard and often closes after a few slope triangles drawn at home. If it lingers, ask the teacher which part is sticking, since the trouble is sometimes reading word problems or confidence with fractions rather than slope itself. A tutor makes sense mainly when your child is about two grade levels behind on a foundation skill such as ratios, and the teacher is the best first judge of that.
✍️ Written By
Bhanzu Team
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →