Slope-Intercept Form
This calculator helps you find the slope (m), y-intercept (b), and the full equation of a straight line in slope-intercept form (y = mx + b) given two points. It's a fundamental tool for understanding linear relationships in algebra.
Enter the x-coordinate of the first point.
Enter the y-coordinate of the first point.
Enter the x-coordinate of the second point.
Enter the y-coordinate of the second point.
This calculator helps you find the slope (m), y-intercept (b), and the full equation of a straight line in slope-intercept form (y = mx + b) given two points. It's a fundamental tool for understanding linear relationships in algebra.
Slope (m) = (y₂ - y₁) / (x₂ - x₁) Y-intercept (b) = y₁ - m * x₁ Equation: y = mx + b
Suppose you have two points: (2, 5) and (4, 11). 1. Calculate the slope (m): m = (11 - 5) / (4 - 2) = 6 / 2 = 3. 2. Calculate the y-intercept (b) using the first point: b = 5 - (3 * 2) = 5 - 6 = -1. 3. The equation in slope-intercept form is: y = 3x - 1.
Slope-intercept form is a way to write the equation of a straight line: y = mx + b. Here, 'm' represents the slope (how steep the line is), and 'b' represents the y-intercept (where the line crosses the y-axis).
It's named 'slope-intercept' because the two key pieces of information it directly gives you are the slope ('m') and the y-intercept ('b'). This makes it very easy to graph a line or understand its characteristics.
Yes, if you enter two points with the same x-coordinate (e.g., (3, 2) and (3, 7)), the calculator will identify it as a vertical line and provide its equation in the form x = constant, noting that the slope is undefined.
Simply input the x and y coordinates of two distinct points that lie on your line. The calculator will then compute the slope, y-intercept, and the full equation in y=mx+b form, helping you check your work or quickly solve problems.
© 2025-2026 PromathTools. All rights reserved.
Built by KruskalCode – SaaS & Automation Experts