Geometry
Slope of a Line
Slope through two points.
Formula
Formula
m = y2 − y1x2 − x1
Variables
| Symbol | Definition | Type & range | Units | Role |
|---|---|---|---|---|
| x₁,y₁ | first point | computed result | — | result |
| x₂,y₂ | second point | computed result | — | result |
Try it yourself
Interactive calculator
Worked examples
Example 1
Givenx₁ = 1, y₁ = 2, x₂ = 4, y₂ = 8
Result2
Example 2
Givenx₁ = 0, y₁ = 0, x₂ = 5, y₂ = 10
Result2