Slope-Intercept Form Calculator

Find the slope-intercept equation of a line (y = mx + b) from two points on the line.

Slope (m)-
Y-Intercept (b)-
Equation-
Advertisement
Advertisement

About the Slope-Intercept Form Calculator

The Slope-Intercept Form Calculator finds the equation of a straight line, written as y = mx + b, from any two points on that line.

This form is one of the most common ways to describe a line in algebra — m is the slope (steepness) and b is where the line crosses the y-axis.

How to Use This Calculator

Formula

Slope: m = (y2 − y1) ÷ (x2 − x1). Y-Intercept: b = y1 − m × x1. Equation: y = mx + b.

Example

For the points (1, 2) and (4, 11), the slope is (11−2)÷(4−1) = 3, the y-intercept is 2−3(1) = −1, giving the equation y = 3x − 1.

Frequently Asked Questions

What is slope-intercept form?

A linear equation written as y = mx + b, where m is slope and b is the y-intercept.

How is slope calculated from two points?

Slope = (y2 − y1) ÷ (x2 − x1).

How is the y-intercept found once slope is known?

Plug a known point and the slope into y = mx + b and solve for b.

Suggest a Calculator

👋 We noticed you might be using an ad blocker. This site is free thanks to ads — consider allowing them here to support us. Thanks!