Slope Calculator
Enter two points. You get the slope, the line through them in slope-intercept form, the distance and the midpoint.
How it works
Slope
Rise over run: m = (y₂ − y₁) / (x₂ − x₁).
Line equation
Substitute one point into y = mx + b and solve for b.
Distance
Use the Pythagorean theorem on the differences: √((x₂ − x₁)² + (y₂ − y₁)²).
Midpoint
Average the x values and average the y values.
Common questions
What is the slope of a vertical line?
It is undefined, because the run is zero. The line's equation is x = a constant.
What does a negative slope mean?
The line falls from left to right: y decreases as x increases.
More free calculators
Quadratic formulaRoots, discriminant and vertexGCF and LCMGreatest common factor, least common multiplePrime factorizationPrime factors and all divisorsPercentage calculatorPercent of, percent change, reverse percentFraction calculatorAdd, subtract, multiply, divide, simplifyScientific calculatorTrig, logs, powers and rootsMean, median, modeAverage, range and sum of a data setFinal grade calculatorWhat you need on the final exam