Browser-onlyLiveMath Calculators

Slope Calculator

Compute slope of a line from two points.

Privacy note. Runs in your browser. The point coordinates you enter never leave this page.
Slope (m)2
Y-intercept (b)0
Equationy = 2x
Distance between points6.708204

Recommended next steps

Related tools

Frequently asked questions

Slope m = (y2 − y1) / (x2 − x1). Y-intercept b = y1 − m × x1. Distance between points = sqrt((x2 − x1)^2 + (y2 − y1)^2). The line equation is y = mx + b.

Last updated 2026-06-03.