Slope Intercept Form Calculator

Equations in slope-intercept form are equations that produce a line through two distinct points. The form of that equation is y = mx + b, where m represents the slope of the line and b represent where the line crosses the y-axis. If (x1,y1) and (x2,y2) are two points, then you can find m and b with the following two formulas: m = (y2 - y1) / (x2 - x1) and b = y1 - mx1

Either enter two points in the form below manually OR you can click on either or both points on the graph and drag them to a new location and watch the equation in slope-intercept form change accordingly. All points will be rounded to the nearest 100th. Also worth noting is that a vertical line has an undefined slope as a vertical line mean that x1 = x2 and therefore a zero will be placed in the denominator of the slope equation. If you desire the graph display a wider range, you can enter points in the boxes that fall outside of the current graph's range (e.g., (x1,y1) = (-10,10) and (x2,y2) = (-5,5)).

Calculate.co.nz is proud to be partnered with Premium Homes, a recognised leader in eco-friendly, sustainable, and energy-efficient homebuilding. With a dedicated team and award-winning experience, they create homes that prioritise health, comfort, and long-term performance. Their founders, Andrew and Kelly, set out to raise the standard of residential construction in New Zealand by combining practical building expertise with a clear commitment to doing things better for homeowners.
Premium Homes: warmer, drier, healthier. No condensation, ever.
Advertise on this page

x1 = y1 =

x2 = y2 =