About Slope-Intercept Form Calculator
This slope-intercept form calculator turns two points into y = mx + b. It shows how the slope m is found, how the y-intercept b follows from one point, and plots the line so you can see where it crosses the y axis. It is free, needs no sign-up and runs in your browser, so nothing you enter is uploaded.
For (0, -2) and (3, 4) the slope is 2 and the line crosses the y axis at -2, so y = 2x − 2.
How to use Slope-Intercept Form Calculator
- Type the coordinates of point 1 and point 2. Negative numbers and decimals are fine.
- Pick what you need: everything, slope and angle, line equation, distance, midpoint, or parallel and perpendicular lines.
- Read the headline answer and the table of every result under it.
- Check the graph. Drag to pan and scroll or pinch to zoom, and use the trace to read coordinates.
- Open the step-by-step working to copy the method into your homework.
- For parallel and perpendicular lines, enter the point the new lines must pass through.
Features
- Slope as an exact fraction and a decimal, with rise and run.
- Angle of inclination between 0 and 180 degrees.
- Slope-intercept, point-slope and standard form with whole-number coefficients.
- Vertical and horizontal lines handled correctly (slope undefined or zero).
- Distance formula and midpoint formula with steps.
- Parallel and perpendicular lines through a chosen point.
- An interactive graph of the line, the points and the midpoint.
- Step-by-step working in KaTeX.
Slope-intercept form
m is the slope and b is where the line crosses the y axis.
y = mx + bWorked examples
(0, -2) and (3, 4) gives m = 2, b = -2
The point (0, -2) is already the y-intercept.
Privacy: how it works
- Every result is calculated by code in your browser tab. The coordinates you enter are not sent to Ulkaa or to any other server, and there is nothing to sign in to.
Tips
- Keep the order consistent. Subtract the first point from the second in both the numerator and the denominator, or the sign of the slope flips.
- If both points are the same, no line is defined. The calculator tells you.
- Two lines are perpendicular when the product of their slopes is −1, and parallel when the slopes are equal.
- Standard form is scaled to whole numbers with no common factor, so decimals in the points are cleared for you.
Frequently asked questions
Is it really free?
Yes. There is no price, no trial and no credit card. Ulkaa Tool does the work with your own device, so there is no server bill to pass on to you.
Do I need an account?
No. There is no sign-up and no login. Open the page and use it. An Ulkaa account is not needed for anything on this tool.
Does it run in my browser?
Yes. Your points are processed by code running in your browser tab, on your own device.
Is my data uploaded?
No. Your points are never sent to Ulkaa or to anyone else. You can check this yourself by watching the Network tab in your browser developer tools while you use the tool.
What is the y-intercept?
The y value where the line crosses the y axis, at x = 0. It is the b in y = mx + b.
Why does a vertical line have no slope-intercept form?
Its slope is undefined and it never crosses the y axis in one point. It is written x = a constant.
More Slope Calculator pages
- Slope CalculatorEnter two points to get the slope, the angle, the equation of the line, the distance and the midpoint, with the working and a graph.
- Slope From Two Points CalculatorEnter two points and get rise over run and the angle of the line.
- Distance Formula CalculatorEnter two points to get the straight-line distance between them.
- Midpoint CalculatorEnter two endpoints to get the midpoint of the segment.
- Line Equation From Two PointsEnter two points to get the equation of the line in three forms.
- Parallel and Perpendicular Line CalculatorEnter a line by two points and a third point, and get the parallel and perpendicular lines through it.
- Perpendicular Line CalculatorEnter a line by two points and the point the perpendicular must pass through.