Two Point Slope Calculator

👤 By whycalculator Team 📅 Last Updated April 11, 2026

Y2-Y1 / X2-X1 Calculator

Disclaimer: While we strive to ensure the accuracy of our calculator tools, we cannot be held responsible for any damages or financial losses resulting from their use.

This Y2-Y1 / X2-X1 Calculator is a simple and efficient tool designed to calculate the slope of a line using two points on a Cartesian plane. Just enter the values for x1, y1, x2, and y2, and the calculator will display the slope along with detailed step-by-step calculations.

Additionally, it provides a graph that represents the slope on the first quadrant. Whether you’re a student, engineer, or math enthusiast, this tool simplifies slope calculation with clarity and precision.

How to Calculate the Slope from Two Points?

The slope of a line measures its steepness and direction. It is calculated using the coordinates of two points on the line, denoted as (x1,y1) and (x2,y2).

The slope m is calculated using the formula:

m = y2−y1/ x2−x1

Where:

  • (x1,y1): Coordinates of the first point.
  • (x2,y2): Coordinates of the second point.
  • m: The slope of the line.

Example 1: Positive Slope

Let (x1,y1) = (2,3) and (x2,y2) = (6,11).

Using the formula:

m = y2−y1 / x2−x1

Substitute the values:

m = 11−3 / 6−2

m = 8 / 4

Simplify:

m = 2

Result: The slope is m=2.

Example 2: Negative Slope

Let (x1,y1) = (4,8) and (x2,y2) = (2,2).

Using the formula:

m = y2−y1 / x2−x1

Substitute the values:

m = 2−8 / 2−4

Simplify:

m = −6 / (−2) = 3

Result: The slope is m=3

Key Notes

  • Positive Slope: The line rises as it moves from left to right.
  • Negative Slope: The line falls as it moves from left to right.
  • Zero Slope: If y2−y1 = 0, the line is horizontal.
  • Undefined Slope: If x2−x1 = 0, the line is vertical.

By using this method, you can calculate the slope between any two points.

Related Calculators:

Degree to slope calculator

Slope to degree calculator

Central angle calculator

Reference:

Finding slope from two points