Slope-Intercept Form Calculator

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.
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.