Skip to content
Calixo

Slope Calculator

Find the slope of a line between two points.

Inputs

Saved Scenarios

— select 2+ to compare

Slope

2.0000

Spark says

How it's calculated

Formula

m=y2y1x2x1m = \dfrac{y_2 - y_1}{x_2 - x_1}
(x_1,y_1), (x_2,y_2)
— The two points

What is the Slope Calculator?

Slope measures how steep a line is — the ratio of vertical change (rise) to horizontal change (run) between two points.

How to use it

  1. 1 Enter the coordinates of the first point.
  2. 2 Enter the coordinates of the second point.

Worked examples

Common mistakes

  • ⚠️ Entering the same x-coordinate for both points, which makes the line vertical — slope is undefined (division by zero) in that case.

Frequently asked questions

What does a slope of zero mean?

A slope of zero means the line is perfectly horizontal — y doesn't change as x changes.