📐 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₁)²] |