Slope Calculator
Enter two points and get the slope (rise over run), the angle of incline, the distance between the points, and the line equation y = mx + b. Vertical lines are detected and reported as undefined slope.
TheCalculators — Slope Calculator
Printed thecalculators.com
Slope (m)
1.333333
Line: y = 1.3333x · angle θ = 53.13°
- Slope m = Δy/Δx
- 1.333333
- Angle of incline θ
- 53.13°
- Distance d between points
- 5
- Y-intercept b
- 0
- Equation
- y = 1.3333x
- Direction
- Increasing (uphill)
Step-by-step solution
- 1Rise over runm = (y₂ − y₁)/(x₂ − x₁) = (8 − 4) / (6 − 3) = 4 / 3 = 1.333333
- 2Angle of inclineθ = arctan(m) = arctan(1.3333) = 53.13°
- 3Distance (Pythagoras)d = √(Δx² + Δy²) = √(3² + 4²) = 5
- 4Y-interceptb = y₁ − m·x₁ = 4 − 1.3333·3 = 0
The line between your points
Most useful next
Formula
m = (y₂ − y₁) / (x₂ − x₁) = tan(θ) · d = √(Δx² + Δy²) · b = y₁ − m·x₁
Pro tips
- • Slope is "rise over run": positive m climbs left-to-right, negative m falls.
- • Parallel lines share the same slope; perpendicular lines have slopes that multiply to −1.
- • A 45° line has slope exactly 1.
FAQ
Related Calculators
More Everyday tools you might need.
Pythagorean Theorem Calculator
Solve a² + b² = c² for the missing side, plus angles, area and perimeter.
CalculateTriangle Calculator
Solve any triangle: area, perimeter and angles from base & height or three sides (Heron).
CalculateDistance Calculator
Euclidean distance between two 2-D points, plus midpoint and slope, with full working.
CalculateRight Triangle Calculator
Solve right triangles: sides, acute angles, area, perimeter and altitude.
Calculate