Slope Calculator

Find the slope of a line through two points, with its angle of inclination, y intercept and equation.

Slope calculator

Slope: —
Angle of inclination: —
y intercept: —
Equation: —
Slope is the rise divided by the run: m equals y2 minus y1 divided by x2 minus x1.

How to use the Slope Calculator

  1. Enter the x and y of the first point on the line.
  2. Enter the x and y of the second point on the line.
  3. Read the slope, the angle, the y intercept and the line equation.

Features

Advertisement

Frequently Asked Questions

Common questions about the free online slope calculator.

Divide the change in y by the change in x between the two points. The tool does this instantly and also shows the angle.
A positive slope means the line rises as you move to the right, while a negative slope means it falls.
A vertical line has no defined slope because the change in x is zero, and the tool reports it as undefined.
The angle is the inverse tangent of the slope converted to degrees, and it always lies between 0 and 180 degrees.
It is the value of y where the line crosses the vertical axis, found by substituting x equals zero into the equation.
Yes. Negative and decimal values both work, and the slope is calculated in exactly the same way.
No. The slope calculator runs entirely in your browser, so your coordinates stay on your own device.
Yes, the slope calculator is free to use as often as you like, with no account and no usage limits.

Last updated: October 10, 2026