Slope Calculator — Two-Point Line Calculator
Enter two coordinate points to find the slope, full line equation, angle of incline, distance between the points, and their midpoint.
📌 Enter Two Points
fa-chart-simple Result
Disclaimer: This tool performs standard mathematical calculations for educational and reference purposes. Always double-check results independently for graded coursework, exams, or safety-critical applications.
What Slope Represents
Slope measures the steepness and direction of a line — how much y changes for every unit change in x. A positive slope rises left to right, a negative slope falls, a slope of zero is a flat horizontal line, and a vertical line has an undefined slope (since it would require dividing by zero).
The Formula
m = (y₂ − y₁) / (x₂ − x₁). Once you have the slope, the full line equation in slope-intercept form is y = mx + b, where b (the y-intercept) is found by substituting either point back into the equation.
Worked Example
Find the line through (1, 2) and (4, 11).
- Step 1: m = (11 − 2) / (4 − 1) = 9 / 3 = 3
- Step 2: Using point (1,2): 2 = 3(1) + b, so b = 2 − 3 = −1
- Step 3: Line equation: y = 3x − 1