๐ Slope Calculator
Enter any two points (xโ, yโ), (xโ, yโ) or provide slope, angle, or percent grade to see the line details.
Inputs
๐ xโ
๐ yโ
๐ xโ
๐ yโ
โ Slope m
๐ Angle
๐งญ
Angle unit
i
๐ Percent grade (%)
Results (auto-updating)
๐งฎ Line equation (if not vertical)
๐ฏ y-intercept b
๐ Distance between points
๐ซ Vertical line?
Reference & formulas
| Quantity | Formula |
|---|---|
| Slope (m) | m = (yโ โ yโ) / (xโ โ xโ) |
| Angle | ฮธ = arctan(m) |
| Percent grade | % = 100 ร m |
| Distance | d = โ[(xโ โ xโ)ยฒ + (yโ โ yโ)ยฒ] |