Slope Calculator

Calculate slope, find line equations, and work with different forms of linear equations.

Calculate slope using two points on a line

Point 1

Point 2

How to Use

  • Select the calculation type based on what information you have
  • Enter the required coordinates and values
  • Click "Calculate" to find the slope and equation
  • Use "Load Example" to see sample calculations

Calculation Types

  • Two Points: Calculate slope using two points on a line
  • Point-Slope Form: Find equation using a point and slope
  • Slope-Intercept Form: Work with y = mx + b form

Slope Formula

For two points (x₁, y₁) and (x₂, y₂):

m = (y₂ - y₁) / (x₂ - x₁)

Line Equations

  • Point-Slope Form: y - y₁ = m(x - x₁)
  • Slope-Intercept Form: y = mx + b
  • Standard Form: Ax + By = C

Examples

  • Points (2,4) and (6,8): slope = 1
  • Point (3,7) with slope 2: y = 2x + 1
  • Slope 3, y-intercept 5: y = 3x + 5