Slope-Intercept Form Calculator

Find the slope-intercept equation of a line passing through two points and visualize it.

Enter Coordinates

Results

Slope (m):
Y-intercept (b):
Equation:

Line Visualization

What is Slope-Intercept Form?

The slope-intercept form is a way to write the equation of a straight line. It is given by y = mx + b, where:

To find the slope-intercept form from two points (x₁, y₁) and (x₂, y₂), we first calculate the slope (m) using the formula: \( m = \frac{y₂ - y₁}{x₂ - x₁} \)

Once we have the slope, we can find the y-intercept (b) by substituting one of the points and the slope into the slope-intercept form and solving for b.

Learn more about slope-intercept form on Math is Fun and Wikipedia.