Slope Calculator
Enter two coordinate points to calculate slope, line equation, length, midpoint, and angle.
Calculate the slope of a line between two points, the y-intercept, the equation in slope-intercept form (y = mx + b), the line length, midpoint, and angle. Enter the coordinates of any two points on the line.
Advertisement
Last reviewed: April 2026Report an error
Point 1
Point 2
Slope
2
Slope: 2. Equation: y = 2x + 0. Length: 6.7082. Midpoint: (2.5, 5). Angle: 63.4°.
Slope (m)
2
Equation
y = 2x + 0
Line Length
6.7082
Y-Intercept
0
Midpoint
(2.5, 5)
Angle
63.4°
Advertisement
How to Use This Slope Calculator
- Enter the x and y coordinates of the first point (x₁, y₁).
- Enter the x and y coordinates of the second point (x₂, y₂).
- Read slope (m), y-intercept (b), line equation, length, midpoint, and angle.
Frequently Asked Questions
- Slope (m) = rise/run = (y₂-y₁)/(x₂-x₁). It measures how steep a line is. Positive slope goes up left-to-right; negative slope goes down.
- y = mx + b, where m is the slope and b is the y-intercept (where the line crosses the y-axis). It's the most common way to express a linear equation.
Advertisement
Related Calculators
</> Embed this calculator on your website
<iframe src="https://calqpro.com/calculators/slope-calculator" width="100%" height="600" frameborder="0" title="Calqpro Calculator" loading="lazy"></iframe> <p>Powered by <a href="https://calqpro.com">Calqpro</a></p>
Advertisement