Slope Calculator

Last Updated on March 9, 2026 | 9 : 54 pm by Anas Brittany

Use this slope calculator to find the slope of a line using two coordinate points. It calculates the slope value, rise and run, and shows the equation form. This tool is useful for algebra, geometry, graphing, and real-world applications like construction and engineering.

Slope Calculator

What Is Slope?

Slope measures the steepness and direction of a line. It describes how much the vertical value (y) changes for a given change in the horizontal value (x).

Slope is commonly described as rise over run, where:

  • Rise = vertical change
  • Run = horizontal change

Slope Formula

The slope between two points is calculated using:

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

Where:

  • (x₁, y₁) = first point
  • (x₂, y₂) = second point

This formula works for algebra, coordinate geometry, graphing, and real-world measurements.

Types of Slope

Positive Slope

The line rises from left to right (m > 0).

Negative Slope

The line falls from left to right (m < 0).

Zero Slope

The line is horizontal (y values are equal).

Undefined Slope

The line is vertical (x values are equal), and division by zero is not possible.

Real-World Uses of Slope

Slope is used in many practical situations:

  • Construction and roof pitch
  • Road and ramp design
  • Engineering and surveying
  • Physics and motion analysis
  • Economics and trend analysis

Example

Find the slope between (2, 3) and (6, 11):

Rise = 11 − 3 = 8
Run = 6 − 2 = 4

Slope = 8 / 4 = 2

This means the line goes up 2 units for every 1 unit to the right.

Frequently Asked Questions

What does a slope of 1 mean?

A slope of 1 means the line rises one unit vertically for every one unit horizontally.

Can slope be a fraction or decimal?

Yes. Slope can be a fraction, decimal, positive, negative, or zero.

When is slope undefined?

Slope is undefined when the run (x₂ − x₁) equals zero, which means the line is vertical.