Slope measures how fast a line changes: divide the change in yy by the change in xx. If you know two points, use

m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}

as long as x2x1x_2 \ne x_1. That is the same idea as rise over run, how much the line goes up or down compared with how far it goes right. A positive slope means the line rises from left to right, a negative slope means it falls, and a slope of 00 means it is horizontal. If x2x1=0x_2 - x_1 = 0, the line is vertical and the slope is undefined, because the formula would require division by 00.

When To Use Each Approach

Slope is a rate of change, comparing how much yy changes with how much xx changes, which is why it shows up in algebra, graphs, and data tables. Pick your method by what you are handed:

  • Two coordinates given directly: use the slope formula.
  • A drawn line: count rise and run off the grid.
  • A table of values: take the change in yy over the change in xx between two rows, but only when the rate is constant.

The Core Procedure From Two Points

Keep the same subtraction order in the numerator and denominator:

  1. Pick the two points.
  2. Subtract the yy-values to get the change in yy.
  3. Subtract the xx-values in the same order to get the change in xx.
  4. Divide.
  5. Simplify if possible.

Reverse both subtraction orders and the slope is unchanged; reverse only one and the sign flips.

The Whole Procedure On One Example

Find the slope of the line through (2,3)(2, 3) and (5,9)(5, 9). Start with the formula:

m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}

Substitute the coordinates in the same order:

m=9352=63=2m = \frac{9 - 3}{5 - 2} = \frac{6}{3} = 2

The slope is 22: every time xx increases by 11, yy increases by 22. Read as rise over run, from (2,3)(2, 3) to (5,9)(5, 9) the line goes up 66 and right 33, so the slope is 6/3=26/3 = 2.

The Same Procedure On A Graph

Pick two clear grid points on the line, count the vertical change first, then the horizontal change. If you move up 44 and right 22:

42=2\frac{4}{2} = 2

If you move down 33 and right 11:

31=3\frac{-3}{1} = -3

Using grid intersection points helps avoid counting mistakes.

The Same Procedure From A Table

A table gives a slope only when the rate of change is constant. Choose two rows and compute

change in ychange in x\frac{\text{change in } y}{\text{change in } x}

If different row pairs give the same value, the relationship is linear and that constant is the slope. For example, if xx increases from 11 to 33 while yy increases from 44 to 1010:

m=10431=62=3m = \frac{10 - 4}{3 - 1} = \frac{6}{2} = 3

Where Each Step Gets Stuck, And How To Check

  • At step 3 — different subtraction orders. If you use y2y1y_2 - y_1, you must also use x2x1x_2 - x_1. Self-check: did both subtractions go the same direction?
  • At the divide step — calling a vertical line's slope 00. If two points share an xx-value, the denominator is 00, so the slope is undefined, not zero. Self-check: is the denominator nonzero before you divide?
  • From a table — assuming a slope exists. A table has one slope only if the rate of change stays constant. Self-check: do at least two row pairs agree?

When Slope Is Used

Slope appears whenever you describe how one quantity changes against another: graphing lines, writing linear equations, physics formulas with constant rates, and tables that follow a linear pattern.

For a quick run-through, find the slope between (1,2)(1, -2) and (4,7)(4, 7). Write the subtraction step before you simplify, confirm the denominator is nonzero, then decide whether the line rises or falls as xx increases.

Frequently Asked Questions

How do you find the slope between two points?
Subtract the y-values, subtract the x-values in the same order, and divide the change in y by the change in x. For the points (2, 3) and (5, 9), the slope is 9 minus 3 over 5 minus 2, which is 6 over 3, or 2. Keeping the same subtraction order in both parts avoids sign errors.
What does the slope of a line tell you?
Slope is a rate of change: it compares how much y changes with how much x changes. A positive slope means the line rises from left to right, a negative slope means it falls, a slope of zero means the line is horizontal, and a vertical line has an undefined slope because it would require division by zero.
How do you find slope from a graph?
Pick two clear grid points on the line, count the vertical change first, then the horizontal change, and divide rise by run. Moving up 4 and right 2 gives a slope of 2, while moving down 3 and right 1 gives a slope of negative 3. Using grid intersection points helps avoid counting mistakes.
Can you find slope from a table of values?
Yes, but only when the rate of change is constant. Choose two rows, treat each row as a point, and divide the change in y by the change in x using the same order. If different pairs of rows give different ratios, the relationship is not linear and a single slope does not describe it.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →