Slope Calculator
Calculate the slope, intercept, and equation of a line from two points. Free online slope calculator.
Embed this toolx₁
y₁
x₂
y₂
Result
Slope (m)
2
Y-Intercept (b)
0
Equation
y = 2x + 0
Advertisement
Ad
Understanding Slope-Intercept Form
The slope-intercept form of a linear equation, y = mx + b, is one of the most useful ways to describe a straight line. The slope m tells you how steep the line is and in which direction it travels. The y-intercept b tells you where the line crosses the vertical axis. This form makes it easy to graph lines, compare their steepness, and solve real-world problems in physics, economics, and engineering.
Key Concepts
- Slope (m): Rise over run — the change in y divided by the change in x.
- Y-Intercept (b): The value of y when x = 0; where the line hits the y-axis.
- Positive slope: The line rises as you move from left to right.
- Negative slope: The line falls as you move from left to right.
- Zero slope: A perfectly horizontal line.
- Undefined slope: A perfectly vertical line (x is constant).
Frequently Asked Questions
Slope measures the steepness of a line. It is calculated as the change in y divided by the change in x between two points: m = (y₂ - y₁) / (x₂ - x₁). A positive slope means the line goes up from left to right; a negative slope means it goes down.