Slope Formula

Slope is a measure of the steepness and direction of a line, calculated as the ratio of vertical change (rise) to horizontal change (run) between any two points on the line.

The Formula

m=ΔyΔx=y2−y1x2−x1

Ask yourself: Does the output change by the same amount for each equal step in the input?

Quick example

Rise 6, run 2: slope=62=3 — for every 1 unit right, go 3 units up.

Notation

m is the slope: the change in y for each +1 change in x.

What this formula means

A measure of the steepness and direction of a line, calculated as the ratio of vertical change (rise) to horizontal change (run) between any two points on the line. Slope is written as m=y2−y1x2−x1 and indicates how much y changes for each unit increase in x.

On a staircase, slope is how far you climb for each step forward. Tall, short steps make a big slope; long, shallow steps make a small one. Real stairs only go up as you walk, but a line can also have negative slope, which is a staircase going down as you move to the right.

Formal view

For two distinct points (x1,y1),(x2,y2)∈R2 with x1≠x2: m=y2−y1x2−x1. The slope is the unique m∈R such that y−y1=m(x−x1) for all (x,y) on the line.

Worked examples

Example 1

easy
Find the slope of the line passing through points (2,3) and (6,11).
Show solution

Answer

m=2

First step

1.
Use the slope formula: m=y2−y1x2−x1.

Full solution

  1. 2.
    Substitute: m=11−36−2=84=2.
  2. 3.
    The slope is 2, meaning the line rises 2 units for every 1 unit to the right.
Slope measures steepness: the ratio of vertical change (rise) to horizontal change (run). A positive slope means the line goes upward from left to right.

Example 2

medium
A line passes through (3,7) and (3,−2). What is its slope?

Example 3

medium
Find the slope of the line passing through (2,5) and (6,13).

Common mistakes

  • Computing ΔxΔy instead of ΔyΔx — rise goes over run, output over input.
  • Subtracting the coordinates in a different order top and bottom — keep (y2−y1) over (x2−x1) with the same first point.
  • Calling a curved or unequal-step relationship a slope — slope only describes a straight line.

Why this formula matters

Slope turns a line into one number you can compare: a road with slope 0.08 is steeper than one at 0.05, and a plan charging $0.10 per minute grows faster than one at $0.05. It lets you predict the next value without plotting. Mix up rise and run and a gentle ramp with slope 112 becomes a wall with slope 12.

Frequently asked questions

What is the Slope formula?

A measure of the steepness and direction of a line, calculated as the ratio of vertical change (rise) to horizontal change (run) between any two points on the line. Slope is written as m=y2−y1x2−x1 and indicates how much y changes for each unit increase in x.

How do you use the Slope formula?

Find a slope when a problem asks how steep, how fast, or how much per something (per hour, per item, per metre) and the relationship is a straight line or changes by equal amounts. Two points, a graph, or a table with constant differences is all you need. If the changes in a table are not equal, the relationship isn't a line, so find an average rate of change between two points instead. If the question asks for the starting value, you want the y-intercept, not the slope.

What do the symbols mean in the Slope formula?

m is the slope: the change in y for each +1 change in x.

Why is the Slope formula important in Math?

Slope turns a line into one number you can compare: a road with slope 0.08 is steeper than one at 0.05, and a plan charging $0.10 per minute grows faster than one at $0.05. It lets you predict the next value without plotting. Mix up rise and run and a gentle ramp with slope 112 becomes a wall with slope 12.

What do students get wrong about Slope?

The procedure for slope is the easy part; the trap is computing ΔxΔy instead of ΔyΔx. Asking "Does the output change by the same amount for each equal step in the input?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Slope formula?

Before studying the Slope formula, you should understand: coordinate plane, rates.