Algebra & Equations
Line From Two Points
Slope-intercept form through two points.
Formula
Formula
y = m·x + c
Variables
| Symbol | Definition | Type & range | Units | Role |
|---|---|---|---|---|
| m | slope | computed result | — | result |
| c | y-intercept | computed result | — | result |
Try it yourself
Interactive calculator
Worked examples
Example 1
Givenx₁ = 1, y₁ = 2, x₂ = 3, y₂ = 8
Result
slope
3
intercept
-1
Example 2
Givenx₁ = 0, y₁ = 1, x₂ = 2, y₂ = 5
Result
slope
2
intercept
1