Slope Calculator
m = (y₂−y₁) / (x₂−x₁). Returns slope-intercept form y = mx + b.
Result
Slope (m)
3.000000
y = 3.0000x − 1.0000.
- Point 1(1, 2)
- Point 2(5, 14)
- Δx (run)4
- Δy (rise)12
- Slope m3.00000000
- y-intercept b-1.000000
- Angle71.565°
- Equationy = 3.0000x + -1.0000
Step-by-step
- Δx = 5 − 1 = 4.
- Δy = 14 − 2 = 12.
- m = Δy / Δx = 12 / 4 = 3.0000.
- b = y₁ − m × x₁ = 2 − 3.0000 = -1.0000.
How to use this calculator
- Enter two points.
- Read slope, y-intercept, and full line equation.
About this calculator
Slope m = rise/run = Δy/Δx. Positive = uphill; negative = downhill; 0 = horizontal; undefined = vertical. Slope-intercept form y = mx + b is the standard line equation. Slope generalizes to derivatives in calculus (instantaneous rate of change). In real life: highway grades (often expressed in %), roof pitches, escalator angles.
Frequently asked
Rate of change. m = 2 means y increases 2 for every 1 unit increase in x.
Related calculators
Distance Between Two Points
d = √((x₂−x₁)² + (y₂−y₁)²). Pythagorean distance in the plane.
Midpoint Calculator
Midpoint = ((x₁+x₂)/2, (y₁+y₂)/2). The point exactly between two points.
Pythagorean Theorem Calculator
a² + b² = c². Solve for hypotenuse or missing leg of a right triangle.
Gradient (Grade %) Calculator
Grade % = rise / run × 100. Convert to angle (degrees) and category (Cat 4-HC).
Linear Equation Solver
ax + b = 0 → x = −b / a. Single-variable linear equations in standard form.
2×2 Systems of Equations Solver
Solve a₁x + b₁y = c₁; a₂x + b₂y = c₂. Cramer's rule via determinants.