Slope Calculator

Slope, y-intercept, and the line equation from two points.

Quick answer: Calculate the slope of a line from two points. Free online slope calculator providing y-intercepts and full slope-intercept equations.

Slope (m)2
Y-intercept (b)0
Equationy = 2x + 0

computed locally — nothing leaves your browser

Find the slope between two points, plus the y-intercept and the full slope-intercept equation of the line.

How it works

  1. Enter the X and Y coordinates for your first point.
  2. Enter the X and Y coordinates for your second point.
  3. The calculator derives the slope (m) and the y-intercept equation.

Frequently asked questions

What does slope mean?

The steepness and direction of a line: positive rises left to right, negative falls, zero is flat.

Why is a vertical line undefined?

It has no horizontal change (run = 0), and dividing by zero is undefined.

What is slope-intercept form?

y = mx + b, where m is the slope and b is where the line crosses the y-axis.

More in Math & Education