Slope Calculator

Slope Calculator

Calculate the slope (gradient) of a line between two points. Get the slope value, angle of inclination, and detailed line equation with visual graph representation.

Calculate Slope Between Two Points

Formula:
Slope (m) = (y₂ - y₁) ÷ (x₂ - x₁)
Point 1 (x₁, y₁)
Point 2 (x₂, y₂)
0
Slope (m)
Angle of Inclination
0
Distance Between Points
Line Equation:
y = mx + b

Visual Graph

How to Use the Slope Calculator

The Slope Calculator determines the gradient of a line passing through two given points on a coordinate plane. Enter the coordinates of both points (x₁, y₁) and (x₂, y₂), and the calculator will instantly compute the slope, angle of inclination, distance between points, and the complete line equation. The visual graph helps you understand the line's direction and steepness at a glance.

Understanding slope is fundamental in mathematics, physics, engineering, and real-world applications such as calculating road grades, roof pitches, and rates of change. A positive slope indicates an upward trend from left to right, while a negative slope shows a downward trend. Zero slope means a horizontal line, and undefined slope (division by zero) represents a vertical line. This calculator is perfect for algebra students, engineers, architects, and anyone working with linear relationships.

📈
Positive Slope
m = (4-1)/(3-1) = 3/2 = 1.5

Line rises from left to right

📉
Negative Slope
m = (1-4)/(3-1) = -3/2 = -1.5

Line falls from left to right

➡️
Zero Slope
m = (2-2)/(5-1) = 0/4 = 0

Horizontal line, no rise