Kid-friendly explanation

Think about walking up a ramp. A gentle ramp is easy to walk up, and a very steep ramp is harder. Slope is the number that tells how steep the ramp is. In math, slope compares how much a line goes up or down to how far it goes across.

Worked examples

Example 1 (middle school level): Finding slope from two points

Suppose a line goes through the points (1, 2) and (4, 8). To find the slope, use the idea "slope = rise ÷ run".

  • Find the vertical change (rise): 8 − 2 = 6.
  • Find the horizontal change (run): 4 − 1 = 3.
  • Divide rise by run: slope = 6 ÷ 3 = 2.

The slope is 2. This means for every 1 unit you move to the right, the line goes up 2 units.

Example 2 (upper high school level): Interpreting slope in a real-world linear function

A babysitter earns money according to the equation y = 12x + 5, where x is the number of hours worked and y is the total amount of money in dollars.

  • The equation is in slope-intercept form, y = mx + b, where m is the slope and b is the y-intercept.
  • Here, m = 12 and b = 5, so the slope is 12.
  • The slope of 12 means the babysitter earns $12 for each additional hour worked. This is the constant rate of change.
  • The y-intercept of 5 means the babysitter starts with $5 before working any hours, maybe as a fee.

The slope connects the equation, the graph, and the situation: every step 1 unit to the right on the graph (1 more hour) goes up 12 units (12 more dollars).

Going deeper with slope

For any non-vertical straight line, the slope is the same no matter which two points you choose. This happens because the line has a constant rate of change, so every "rise over run" ratio is equivalent. In geometry, this can be shown using similar right triangles formed between different pairs of points on the same line.

Slope is a key feature of a linear function, along with the y-intercept. In the equation y = mx + b, the slope m tells how quickly the dependent variable (often y) changes when the independent variable (often x) increases by 1. In a proportional relationship written as y = mx, the slope m is also the constant of proportionality, and the y-intercept is 0.

Slope is also used to compare lines. Parallel lines in the coordinate plane have the same slope, and lines with different slopes intersect at exactly one point (unless they are parallel). In algebra and geometry, slope helps with graphing lines, converting between equation forms, and solving geometric problems involving distance, midpoint, and angle relationships.

Common mistakes with slope

  • Mixing up rise and run. A common error is to compute slope as run ÷ rise, for example 3 ÷ 6 = 0.5 instead of 6 ÷ 3 = 2. Slope is always vertical change divided by horizontal change: rise ÷ run.
  • Forgetting that slope can be negative. A student might see a line going down from left to right and still write a positive slope, for example +2 instead of −2. If the line goes down as x increases, the slope is negative.
  • Using different points incorrectly. Sometimes a student picks two points on a line, gets one slope, then picks two other points and gets a different slope, such as 2 from one pair and 3 from another. This usually means a subtraction order was reversed in one of the calculations; when rise and run are found consistently, all point pairs on the same line give the same slope.

How slope shows up in everyday life

Slope appears any time something changes at a steady rate. The steepness of a ramp or hill, the speed of a car in miles per hour, the cost per slice of pizza, or the number of points added to a game score each round can all be described by slope. In each case, slope tells how much one quantity changes when another quantity increases by 1 unit.

Related terms to explore