Slope-Intercept Form Calculator

ALGEBRA

Build the slope-intercept equation of a line from a slope and a point. Enter the slope and a point on the line.

Equation
—
In y = mx + b form.

Usage Tip

The y-intercept is where x = 0; the x-intercept is where y = 0. Set the other variable to zero and solve.

THE MATH
y = mx + b, where m is slope and b is the y-intercept
b = y − m×x at any known point
Slope-intercept form, y = mx + b, is the most common way to write a line: m sets the steepness, b sets where it crosses the y-axis.
From a slope and any point, b is found directly.
Enter the slope and the coordinates of one point on the line.
The y-intercept and x-intercept are computed.
A slope of zero gives a horizontal line.
Practical Notes

Slope-intercept form writes a line as y = mx + b, where m is the slope and b is the y value where the line crosses the y axis. When you know the slope and one point on the line, the intercept follows from b = y – mx using the coordinates of that point.

The slope tells you how much y changes for each unit of x: positive slopes rise to the right, negative slopes fall, and a slope of zero gives a horizontal line. A vertical line has an undefined slope and cannot be written in this form. Check your answer by substituting the original point back into the finished equation.

Spotted an error or have a suggestion for this calculator? Let us know →
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.