Skip to content

Algebra 1 · Slope · 1 of 3

What slope measures

Slope is the number that says how steep a straight line is and which way it goes. This page shows how to read it from a graph, and what positive, negative, zero and undefined slopes look like.

Made with AI. Not yet reviewed by a person. Report any error.

← Slope: all 3 pages Next: Slope from two points →

Rise over run

Slope is one number that describes a straight line. It tells you how steep the line is, and whether it goes up or down as you read it from left to right.

To find it, start at any point on the line and move to the right. How far you move across is the run. How far you then have to move up or down to get back to the line is the rise. Move exactly 1 across, and the rise you need is the slope.

A straight line on a grid, with a triangle marking 1 across and the rise up to the line. A straight line on a grid, with a triangle marking 1 across and the rise up to the line.
Step 1 of 5

Try it yourself

2
-1

Each square of the grid is 1 across and 1 up.

Figure 1. A straight line, and how far it rises for each 1 across. Pick a step to hold it, or move the sliders.

Report an error

Moving 1 across keeps the arithmetic easy, but any run works if you divide the rise by it. In algebra the letter m stands for slope:

m=riserun

A line that rises 6 over a run of 3 has slope 6 ÷ 3 = 2, the same as rising 2 over a run of 1. The triangle is bigger, but the line is just as steep.

The label in the corner of the figure is the line's equation, a rule that gives the line's height y at each position x. A number written in front of x is the slope: in y = 2x − 1 it is 2. At a slope of 1 or −1 the label writes just x or −x, and at a slope of 0 there is no x at all, because the line stays at one height.

The number on its own, −1 in y = 2x − 1, is the intercept: where the line crosses the y-axis. The second slider changes it. That moves the whole line up or down without changing its slope.

The same number everywhere on the line

On a straight line you get the same slope wherever you measure it. In step 4 of the figure, the triangle starts from a different point and still finds a rise of 2. That is what makes a line straight: it never gets steeper or flatter. On a curve, the rise for each 1 across changes from place to place, so a curve has no single slope.

It doesn't matter which two points of a line you use, either. Points far apart make a big triangle and points close together a small one, but the rise divided by the run comes out the same.

The size of the slope, ignoring any minus sign, says how steep the line is. A slope of 3 is steeper than a slope of 2. A slope of 12 is gentle: the line rises only half a square for each square across.

Up is plus, down is minus

Read the line from left to right, so the run is always counted to the right and is positive. Then the rise tells you the direction. If you go up to meet the line, the rise is positive. If you go down, the rise is negative, and so is the slope.

For example, if a line drops 3 for every 4 across, its rise is −3 and its run is 4. Its slope is −3 ÷ 4 = −34.

Worked example

Reading a slope off a graph

A line on a grid passes exactly through the grid corners (0, 1) and (4, 3). What is its slope?

  1. Start at the point on the left, where the line crosses a grid corner exactly: (0, 1).
  2. Move right to the other corner, (4, 3). You moved 4 across, so the run is 4.
  3. Count how far up you went: from 1 to 3 is a rise of 2.
  4. Divide: m = 24 = 12.

The slope is 12. The line rises half a square for each square across.

Use points where the line crosses grid corners exactly, so you count whole squares instead of guessing at a value between grid lines.

Four kinds of slope

Always read a line from left to right, the way you read a page. Then every straight line is one of four kinds.

  • Positive The line rises. Its slope is a number above 0, such as 2 or 12.
  • Negative The line falls. Its slope is below 0, such as −2 or −12.
  • Zero The line is flat (horizontal). Its rise is 0 for any run, and 0 divided by any run is 0.
  • Undefined The line is upright (vertical). You can't move across and stay on it, so the run is 0, and dividing by 0 gives no answer.
A straight line turning about a point: flat, rising, upright and falling, then all four together. A straight line turning about a point: flat, rising, upright and falling, then all four together.
Step 1 of 5

Read every line from left to right.

Figure 2. One line turning about a point, then the four kinds together. Pick a step to hold it.

Report an error

An upright line is not just "very steep". As a rising line turns toward upright, its slope grows without limit: 10, then 100, then 1,000. At exactly upright there is no number left to give it, which is why its slope is called undefined.

Slope outside the classroom

Slope turns up wherever something climbs or drops. In Europe, road signs give a hill's slope as a percentage, called its grade: a 10% grade rises 10 metres for every 100 metres across, a slope of 0.1.

In the United States, the Americans with Disabilities Act lets a public wheelchair ramp rise at most 1 inch for every 12 inches across, a slope of 112.

In the US, a roof's slope is often called its pitch and given as the rise for every 12 across: a 6-in-12 roof rises 6 inches for every 12 inches across, a slope of 12.

In short

  • Slope is rise over run: how far a line goes up or down for each 1 across.
  • Read left to right: rising lines have positive slopes, falling lines negative ones, flat lines 0.
  • A vertical line has a run of 0, so its slope is undefined.

Check yourself

Three questions on this page. Each answer shows at once, with why.

Question 1 of 3

From one point on a line, you go 4 across and 2 up to meet the line again. What is the slope?

Show the answer

The answer: 12

Divide the rise by the run: 2 ÷ 4 = 12. 2 is the rise alone, 4 the run alone, and 6 adds them.

Question 2 of 3

A line falls to the right, dropping 2 for every 1 across. What is its slope?

Show the answer

The answer: −2

Falling means negative, and the size is the drop for 1 across: −2 ÷ 1 = −2. −12 divides the wrong way round, and only a vertical line's slope is undefined.

Question 3 of 3

Why is the slope of a vertical line undefined?

Show the answer

The answer: Its run is 0, and you can't divide by 0

You can't move across and stay on a vertical line, so the run is 0, and rise ÷ 0 has no answer. It isn't just very steep: no number fits. A rise of 0 makes a flat line, and a vertical line does cross the x-axis.

Next · 2 of 3 Slope from two points The slope formula →

Revising maths?

Upload the lecture, slides or PDF. QuizWhiz turns it into notes and practice questions, each linked back to the moment it came from.

Make my notes, free

Your first 3 sources in full. Then 1 a month (the first 90 minutes or 30 pages; the rest waits), plus 3 short pastes

A sample note

When a signal molecule binds, the receptor changes shape.

41:30

Practice question: which enzyme converts cAMP to AMP, switching the signal off?

How this page was made

Made with AI, from the sources below · Report an error

Sources

  1. OpenStax Elementary Algebra 4.4, “4.4 Understand Slope of a Line” (CC BY 4.0) · Archived copy
  2. Wikipedia: Slope, “Slope” (CC BY-SA 4.0)
  3. Wikipedia: Grade (slope), “Grade (slope)” (CC BY-SA 4.0)
  4. Wikipedia: Wheelchair ramp, “Wheelchair ramp” (CC BY-SA 4.0)
  5. Wikipedia: Roof pitch, “Roof pitch” (CC BY-SA 4.0)

Every number in the figures and questions comes from the figures’ own maths. Not yet reviewed by a person.

What this page leaves out

  • Finding a slope from two points without a graph: that is the next page, with the slope formula.
  • Reading the slope from an equation such as y = 2x − 1, beyond the label in the first figure.
  • Curves. Their steepness changes along them, and measuring it at a single point is calculus.
  • The figures' steps use lines through whole-number grid points, so the numbers come out simple.
  • The second figure turns from a slope of 2 to upright without labelling the steeper slopes it passes on the way.

Something on this page looks wrong? Report an error

Report an error

Open