Slope Calculator
Calculate the slope, angle, and equation of a line between two points
Point 1
Point 2
Results
Slope1.0000
Rise over run (Δy/Δx)
Angle45.00°
Angle of the line from horizontal
Equationy = 1.00x +0.00
Line equation in slope-intercept form (y = mx + b)
Perpendicular Slope-1.0000
Slope of a line perpendicular to this line
Step-by-Step Solution
Change in Y
Formula: y₂ - y₁
Result: 1 - 0 = 1
Change in X
Formula: x₂ - x₁
Result: 1 - 0 = 1
Slope
Formula: (y₂ - y₁) ÷ (x₂ - x₁)
Result: 1.0000
Angle
Formula: arctan(slope)
Result: 45.00°
Y-Intercept
Formula: y₁ - (slope × x₁)
Result: 0.0000
Understanding Slope
The slope of a line represents its steepness and direction. It is calculated as the change in y-coordinates (rise) divided by the change in x-coordinates (run) between two points.
- Positive slope: Line goes up from left to right
- Negative slope: Line goes down from left to right
- Zero slope: Horizontal line
- Undefined slope: Vertical line
The slope-intercept form of a line equation is y = mx + b, where:
- m is the slope
- b is the y-intercept (where the line crosses the y-axis)