Line Equation from Two Points

Enter two points to get the slope, y-intercept, and the line equation in slope-intercept, point-slope, and standard form.

Inputs

P_1(x_1,\, y_1)\quad P_2(x_2,\, y_2)

Results

ΔxΔyxyP₁P₂
\begin{aligned} m &= \dfrac{y_2 - y_1}{x_2 - x_1} \\ &= \dfrac{(11) - (2)}{(4) - (1)} \\ &= ? \end{aligned}
\begin{aligned} b &= y_1 - m x_1 \\ &= (2) - (?)(1) \\ &= ? \end{aligned}

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?