Slope Calculator
Rise over run, every time.
Slope Calculator
undefined
Calculated instantly
Embed this calculator
Put this calculator on your own site with the snippet below. The frame contains the tool only, reports its own height, and carries a visible link back to the full page. Embedding is free; keep the attribution link as it is, and do not wrap the frame in a way that hides it.
Preparing the embed code for this page...
What This Calculator Does
The Slope Calculator finds the slope and equation of a line passing through two points. Slope measures the steepness and direction of a line.
How It Works
Slope = (y2 - y1) / (x2 - x1). The equation is y = mx + b where m is the slope and b is the y-intercept.
Example
Points (2,3) and (6,11): slope = (11-3)/(6-2) = 8/4 = 2. Equation: y = 2x - 1.
Formula
m = (y2-y1)/(x2-x1)Reading the Results
Slope (m)
The steepness of the line. Positive = rising, negative = falling, zero = horizontal, undefined = vertical.
y-intercept (b)
Where the line crosses the y-axis.
Frequently Asked Questions
What does a slope of zero mean?
A slope of zero means a horizontal line. The y-value is constant.
What does undefined slope mean?
Undefined slope occurs with a vertical line where x2 equals x1, causing division by zero.
How do I find slope from an equation?
From y = mx + b, the slope is m. For ax + by + c = 0, slope = -a/b.
