Slope Calculator – Find Slope Between Two Points

Slope Calculator

Use this slope calculator to find the slope between two points using the formula m = (y₂ − y₁) / (x₂ − x₁).

x₁
y₁
x₂
y₂

How to Use the Slope Calculator

Enter two coordinate points to calculate the slope of the line through them.

Practical Example

For (2,3) and (6,11), slope = (11−3)/(6−2) = 2.

Factors That Affect the Result

Point order must remain consistent in numerator and denominator. A vertical line has zero horizontal change, so its slope is undefined.

Frequently Asked Questions

Can slope be negative?

Yes. It indicates a downward trend from left to right.

What does zero slope mean?

The line is horizontal.

Why can slope be undefined?

Vertical lines have no horizontal change.

Related Tools

Understanding Slope Between Two Points

Slope measures the rate of vertical change relative to horizontal change. For two points (x₁, y₁) and (x₂, y₂), the formula is (y₂ − y₁) ÷ (x₂ − x₁). A positive slope rises from left to right, a negative slope falls, and a slope of zero represents a horizontal line. If x₂ equals x₁, the denominator is zero and the line is vertical, so its slope is undefined. For example, points (2, 3) and (6, 11) have slope (11 − 3) ÷ (6 − 2) = 8 ÷ 4 = 2. The units of slope depend on the variables being compared, such as meters per second or dollars per unit. Keep coordinate order consistent in both numerator and denominator; reversing both points produces the same slope.