Slope calculator
Find the slope, intercepts, angle and equation through two coordinate points.
Slope
2
Showing the previous result. Check the highlighted inputs.
The line rises as x increases.
Breakdown & share
- Line equation
- y = 2x + 0
- Rise
- 8
- Run
- 4
- y-intercept
- 0
- x-intercept
- 0
- Angle
- 63.4349488°
Estimates only.
Your inputs
How it’s worked out
See how we got 2
Slope m = (y₂ − y₁) ÷ (x₂ − x₁). For a nonvertical line, y = mx + b and b = y₁ − mx₁.
- Subtract x coordinates for the run and y coordinates for the rise.
- Divide 8 by 4 to find 2.
About this calculator
Find the slope, intercepts, angle and equation through two coordinate points.
Worked example
Slope · 2
Slope m = (y₂ − y₁) ÷ (x₂ − x₁). For a nonvertical line, y = mx + b and b = y₁ − mx₁.
- Subtract x coordinates for the run and y coordinates for the rise.
- Divide 8 by 4 to find 2.
Formula sources
Reference checked November 22, 2026.
Copy a report template with the calculator name. Add the numbers and expected result before sharing it.