What would you like to understand?

Popular destinationsCalculatorsCoursesPracticeFormulas

Unlock Premium Help

Explore every tutor and study workspace for seven days, with no daily AI cap during the trial.

Choose a billing period
Ask a parent to pay

Nothing is charged during the first seven days. Unless you cancel, the plan you selected begins when the trial ends and renews on its stated schedule. Manage cancellation from your plan page. Stripe handles the payment details.

Slope between two points formula: what it means and how to use it

Measure vertical change per unit of horizontal change. This lines relationship belongs to algebra. Read the symbols against the problem, confirm the required conditions, and estimate the scale before calculating.

\[m=\frac{y_2-y_1}{x_2-x_1}\]

How to read Slope between two points

The left and right sides describe the same mathematical situation in different forms. Identify the unknown, attach each known value to the correct symbol, and preserve restrictions. Rebuild missing background in the algebra subject guide, then use algebra i practice to retrieve the relationship without being told its name.

How to apply Slope between two points

  1. Name the unknown, and the unit the answer has to come out in.
  2. Match the symbols to your values. $(x_1,y_1)$ and $(x_2,y_2)$ are points; $m$ is slope.
  3. Check the conditions before substituting. $x_2\ne x_1$; a vertical line has undefined slope.
  4. Substitute, keep exact values to the last line, then test the sign, size, and unit against a rough estimate - The check that catches most algebra slips.

Worked Slope between two points example

Use this mathematical example as a pattern, then rebuild it with different values:

\[Through $(1,2)$ and $(5,10)$, $m=(10-2)/(5-1)=2$.\]

How to verify a Slope between two points result

After using Slope between two points, repeat the calculation with units attached and test the result against a boundary case or a quick numerical estimate.

A common Slope between two points mistake

What goes wrong: m = (x2 - x1) / (y2 - y1), with the horizontal change on top.

Why it fails: That is run over rise, so it hands back the reciprocal of the real slope. A steep line then looks shallow and a shallow line looks steep.

Repair: Say the words while you write: rise on top, run on the bottom. Label the two points first, then subtract the y values into the numerator.

When Slope between two points applies

When the two points sit directly above each other, x2 equals x1 and the denominator is zero. The line is vertical and its slope is undefined, not zero. Report it as x = c rather than forcing a number out of the division.

Questions about Slope between two points

Does it matter which point I call point 1?

No. Swapping them flips the sign on top and on the bottom, and those two sign flips cancel. Through (1,2) and (5,10) you get 8/4 = 2 one way and -8/-4 = 2 the other.

What is the difference between zero slope and undefined slope?

Zero slope means the rise is zero and the line is flat, like y = 3. Undefined slope means the run is zero and the line is vertical, like x = 3. They are opposite situations, not the same one.

Can slope be a fraction or a decimal?

Yes, and a fraction is usually more useful for graphing. A slope of 3/4 tells you to move up 3 and right 4 from any point on the line to land on another one.

How do I tell from the slopes whether two lines are parallel?

Parallel lines have exactly equal slopes and different intercepts. Perpendicular lines have slopes that multiply to -1, so a line of slope 2 is perpendicular to one of slope -1/2.

Make it yours

Change one input, predict whether the output should rise, fall, or stay fixed, and only then recalculate.

Watch the worked lesson

Follow every decision on screen, then return to the examples and practice on this page.