Slope answers one question: how steep, and in which direction? Formally it is rise ÷ run — how much y changes when x increases by 1.
From two points
m = (y₂ − y₁) ÷ (x₂ − x₁). The order of subtraction must match in the top and bottom — swap both or neither.
m = (11 − 3) ÷ (6 − 2) = 8 ÷ 4 = 2
Using point (2, 3): b = 3 − 2×2 = −1 → line: y = 2x − 1
The four cases
- Positive: line climbs left to right.
- Negative: line falls.
- Zero: horizontal line, y never changes.
- Undefined: vertical line, x never changes — division by a run of zero.
Slope is a rate
Outside pure maths, slope always carries units: km per hour on a distance graph, rupees per item on a cost graph, degrees per day on a temperature graph. If a word problem asks “how fast is it changing?”, it is asking for a slope.
Parallel and perpendicular
Parallel lines share the same slope. Perpendicular lines have slopes that multiply to −1 (flip the fraction, flip the sign: 2 and −1/2). These two facts answer a large share of coordinate-geometry questions on their own.
Now try it with your numbers
The guide showed the method — the Slope Calculator applies it instantly, with the same steps written out for your values.
Open the Slope Calculator →