ChalksumThe right answer, with the work shown.
Math › Slope calculator

Slope calculator

Enter two points to get the slope, the y-intercept and the equation of the line.

Your points

Point 1 (, )
Point 2 (, )
slope = 4/3
4/3slope (m)
1.3333as a decimal
0.3333y-intercept (b)
y = 4/3 x + 0.3333equation
53.13°angle
133.33%grade
slope = rise ÷ run = (y2 − y1) ÷ (x2 − x1) = (11 − 3) ÷ (8 − 2) = 8 ÷ 6 = 4/3 y-intercept: b = y1 − m × x1 = 3 − 1.3333 × 2 = 0.3333 so y = 4/3 x + 0.3333

How it works

Slope is rise over run: the change in y divided by the change in x between two points. A positive slope goes up to the right, negative goes down, zero is flat and a vertical line has no defined slope. Once you have the slope m, the y-intercept is b = y − m × x for either point, giving the line y = mx + b.

Questions

How do you find the slope from two points?

Subtract the y-values and divide by the difference of the x-values. For (2, 3) and (8, 11): (11 − 3) ÷ (8 − 2) = 8/6 = 4/3.

What is slope-intercept form?

y = mx + b, where m is the slope and b is where the line crosses the y-axis. The line through (2, 3) and (8, 11) is y = 4/3x + 0.3333.

What is the slope of a horizontal or vertical line?

A horizontal line has slope 0. A vertical line has an undefined slope because the run is 0.

More math calculators