freeonlinecalFreeOnlineCal

Slope of a Line Calculator

Point 1 Coordinates

Point 2 Coordinates


The calculated slope of the line is: 0

How to calculate Slope of line calculator?

The slope measures how steep a line is between two points. It is the ratio of the change in y to the change in x.

Use the formula m = (y2 - y1) / (x2 - x1) where (x1, y1) and (x2, y2) are the two points.

Using the Slope of line calculator calculator: an example

Example points: (2, 3) and (6, 11).

Step-by-step calculation:

  • Compute vertical change: Δy = 11 − 3 = 8.
  • Compute horizontal change: Δx = 6 − 2 = 4.
  • Divide: m = Δy / Δx = 8 / 4 = 2.
  • Interpretation: slope m = 2 means the line rises 2 units for each 1 unit moved right.

Frequently Asked Questions

What if Δx = 0?

If Δx = 0 the slope is undefined. The line is vertical and does not have a finite slope.

Can slope be negative?

Yes. A negative slope means the line falls as x increases; compute it the same way using the formula.

How do I report slope as a fraction?

Express Δy/Δx in lowest terms by dividing numerator and denominator by their greatest common divisor.



Related Calculators