ToolSlash LogoToolSlash

Slope-Intercept Calculator

Point Coordinates

Point 1 (x₁, y₁)
Point 2 (x₂, y₂)

Coordinate Graph

P₁: indigoP₂: emerald
-6-4-22468-224681012P₁(1, 3)P₂(4, 9)

Step-by-Step Solution

1. Calculate slope (m): m = (y₂ - y₁) / (x₂ - x₁) = (9 - 3) / (4 - 1) = 6 / 3 = 2
2. Calculate y-intercept (b): b = y₁ - m · x₁ = 3 - (2)(1) = 1
3. Write slope-intercept form (y = mx + b): y = 2x + 1
4. Calculate x-intercept (set y = 0): 0 = mx + b ⇒ x = -b / m = -0.5 (-0.5, 0)
5. Distance between points: d = √(Δx² + Δy²) = √(3² + 6²) = 6.7082
Equation (y = mx + b)
y = 2x + 1
Slope (m)
2
Y-Intercept (b)
1 (0, 1)
X-Intercept
-0.5 (-0.5, 0)
Guide

How It Works

Find the slope, y-intercept, and linear equation for any two points (x₁, y₁) and (x₂, y₂).

  • Slope (m): Calculated as rise over run: m = (y₂ - y₁) / (x₂ - x₁).
  • Y-Intercept (b): Solved using point-slope form: b = y₁ - m · x₁.
  • Line Equation: Expressed in slope-intercept form as y = mx + b.