Calculate & Convert

Slope Calculator

Slope, line equation, distance and midpoint from two points.

Enter values

The formula

m = (y₂ − y₁) / (x₂ − x₁); y = mx + b

Slope measures steepness as rise over run — how much y changes per unit of x. Two points pin down a unique straight line, and once you have the slope, the y-intercept and full equation follow in one more step.

All calculations run locally in your browser and update instantly as you type.

Example calculations

Common questions this calculator answers — select one to load its values.

Related calculators

Frequently asked questions

What does the slope tell me?+
Slope is rise over run — how much y changes for each unit of x. Positive slopes rise left-to-right, negative slopes fall, zero is horizontal, and a vertical line has an undefined slope.
All calculations run locally in your browser. Nothing you type is sent to a server.