🐼

Slope Calculator

Calculate slope, y-intercept, x-intercept, distance, and equation of a line through two points. Shows slope-intercept and standard form.

Real-time results 100% free No sign-up Mobile friendly

Formulas verified against authoritative sources including the CFPB and Federal Reserve. Last reviewed . Editorial policy.

Two Points

Point 1 (x₁, y₁)

Point 2 (x₂, y₂)

y = 2.0000x -1.0000

Results

Slope (m)

2.000000

Y-intercept

(0, -1.0000)

X-intercept

(0.5000, 0)

Distance

8.9443

Angle

63.43°

Δx / Δy

4.00 / 8.00

Frequently Asked Questions

What is the slope formula?

Slope (m) = (y₂ − y₁) / (x₂ − x₁) = rise / run. It measures how steep a line is. Positive slope goes up left-to-right; negative slope goes down. Slope of 0 = horizontal line; undefined slope = vertical line.

What is slope-intercept form?

y = mx + b, where m is the slope and b is the y-intercept (where the line crosses the y-axis). This is the most common form for graphing. Example: y = 2x + 3 has slope 2 and crosses y-axis at (0, 3).

How do I find the y-intercept from two points?

First calculate slope m = (y₂−y₁)/(x₂−x₁). Then use point-slope form: y − y₁ = m(x − x₁) and solve for b in y = mx + b. Or simply b = y₁ − m·x₁.

Advertisement

728×90 Leaderboard