Line Slope
Calculator

Inputs

Slope
2

Results

Slope
2
Y-intercept
0
Angle (degrees)
63.434948

Results

Slope2
Y-intercept0
Angle (degrees)63.434948

formula-map diagram

Slope
2
Y-intercept
0
Angle (degrees)
63.434948

Formula map

Formula

m = (y₂ − y₁) ÷ (x₂ − x₁)

= 2

Note

Simplified model: these are exact results of the stated idealised formulas, assuming perfect shapes and exact inputs. Real measurements carry error, and the ellipse perimeter is a Ramanujan approximation. Verify independently before relying on these figures.

More in Mathematics

See all →

Frequently asked questions

What do I enter to find the slope?+

The coordinates of two points on the line: (x₁, y₁) and (x₂, y₂).

What is the slope formula?+

Slope equals the change in y divided by the change in x: m = (y₂-y₁)/(x₂-x₁), often described as "rise over run."

What does a negative slope mean?+

A negative slope means the line falls as you move from left to right — as x increases, y decreases. A positive slope means the line rises left to right.

Why did I get an error or an undefined result?+

If both points share the same x-coordinate, the line is vertical and the slope is undefined (division by zero), since a vertical line has no defined "run."

What does a slope of zero mean?+

A slope of zero means the line is perfectly horizontal — y stays the same no matter how x changes, which happens when both points share the same y-coordinate.