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

x1 = y1 =

x2 = y2 =



If you've found a bug, or would like to contact us please click here.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

Looking for an ethical KiwiSaver? Go to mindfulmoney.nz – it’s quick, easy and free.

Copyright © 2019 calculate.co.nz All Rights Reserved. No part of this website, source code, or any of the tools shall be copied, taken or used without the permission of the owner. All calculators and tools on this website are made for educational and indicative use only. Calculate.co.nz is part of the GST Calculator, PAYE Calculator and CGT Calculator group.