Skip to main content

Slope Calculator

Calculate slope, angle, and line equations from two points

Input Values

Enter coordinates for two points to calculate the slope and line equation.
Point 1
Point 2
Graph will appear here after calculation

Results

Enter coordinates to see results

Slope Formulas

Slope: m = (y₂ - y₁) / (x₂ - x₁)
Angle: θ = arctan(m)
Distance: d = √[(x₂ - x₁)² + (y₂ - y₁)²]
Special Cases:
  • Vertical line: Slope is undefined (x₁ = x₂)
  • Horizontal line: Slope is 0 (y₁ = y₂)
  • Positive slope: Line rises from left to right
  • Negative slope: Line falls from left to right

Note: Calculations are provided as-is for educational and planning purposes. For critical applications, always verify results independently.

Need more geometry tools? Check out tierflux.com