Slope Intercept Form Calculator
Calculate slope intercept form instantly with our math tool. Shows detailed work, formulas used, and multiple solution methods.
Reviewed by Manoj Kumar, Mathematics Educator
Formula
m = (y2 - y1) / (x2 - x1), then y = mx + b where b = y1 - m*x1
The slope m is the ratio of vertical change to horizontal change between two points. The y-intercept b is found by substituting one point into the equation and solving.
Worked Examples
Example 1: Finding Slope-Intercept Form from Two Points
Problem:Find the equation of the line passing through (1, 5) and (4, 11).
Solution:Step 1: Calculate slope m = (11 - 5) / (4 - 1) = 6 / 3 = 2\nStep 2: Use point-slope form: y - 5 = 2(x - 1)\nStep 3: Simplify: y = 2x - 2 + 5 = 2x + 3\nVerification: At x=1: y = 2(1)+3 = 5. At x=4: y = 2(4)+3 = 11. Both points check out.
Result:y = 2x + 3 | Slope = 2 | Y-intercept = 3 | X-intercept = -1.5
Example 2: Negative Slope Line
Problem:Find the equation of the line through (-2, 8) and (6, -4).
Solution:Step 1: Calculate slope m = (-4 - 8) / (6 - (-2)) = -12 / 8 = -1.5\nStep 2: Find intercept: 8 = -1.5(-2) + b => 8 = 3 + b => b = 5\nStep 3: Equation: y = -1.5x + 5\nStandard form: 3x + 2y = 10\nDistance = sqrt(64 + 144) = sqrt(208) = 14.42
Result:y = -1.5x + 5 | Slope = -1.5 | Distance = 14.42 | Midpoint = (2, 2)
Frequently Asked Questions
What is slope-intercept form and why is it important?
Slope-intercept form is the equation of a straight line written as y = mx + b, where m represents the slope (rate of change) and b represents the y-intercept (the point where the line crosses the y-axis). This form is important because it immediately reveals two critical properties of any line: how steep it is and where it starts on the y-axis. It is the most commonly used linear equation format in algebra, physics, economics, and data science. The slope-intercept form makes it easy to graph lines, compare different linear relationships, and solve systems of equations quickly.
How do you calculate the slope from two points?
The slope between two points (x1, y1) and (x2, y2) is calculated using the formula m = (y2 - y1) / (x2 - x1), which represents the change in y divided by the change in x, often described as rise over run. This ratio tells you how many units the line goes up or down for each unit it moves to the right. A positive slope means the line rises from left to right, a negative slope means it falls, a zero slope means the line is horizontal, and an undefined slope (division by zero) means the line is vertical. The slope remains constant at every point along a straight line.
What is the difference between slope-intercept form and standard form?
Slope-intercept form (y = mx + b) explicitly shows the slope and y-intercept, making it ideal for graphing and understanding the behavior of a line. Standard form (Ax + By = C) uses integer coefficients where A is typically positive, making it better for solving systems of equations and finding intercepts symmetrically. Converting between forms is straightforward: from standard form Ax + By = C, solve for y to get y = (-A/B)x + (C/B), giving slope = -A/B and y-intercept = C/B. Each form has advantages depending on the problem context, and being comfortable with both is essential for algebra proficiency.
How do you find the y-intercept and x-intercept of a line?
The y-intercept is found by setting x = 0 in the equation and solving for y. In slope-intercept form y = mx + b, the y-intercept is simply b, the constant term. The x-intercept is found by setting y = 0 and solving for x, giving x = -b/m. These intercepts represent where the line crosses the coordinate axes and are fundamental for graphing. For example, in the equation y = 3x - 6, the y-intercept is -6 (the line crosses the y-axis at the point (0, -6)) and the x-intercept is 2 (setting 0 = 3x - 6 gives x = 2, so the line crosses the x-axis at (2, 0)).
References
Reviewed by Manoj Kumar, Mathematics Educator ยท Editorial policy