‹ Back ✦ AI Chat
y=

Line Equation from Two Points

Slope-intercept, point-slope and standard form.

y = 2x + 1
Slope-intercept form
y − 3 = 2(x − 1)
Point-slope form
2x − 1y = -1
Standard form
-0.5
x-intercept
63.434949°
Angle

Runs entirely in your browser. Nothing is sent anywhere.

How it works

  1. 1Enter your values.
  2. 2See the result update instantly as you type.
  3. 3Change any value to compare scenarios.

About this tool

Line Equation from Two Points: Slope-intercept, point-slope and standard form. Type your numbers and the result is calculated instantly — no button to press, nothing to install. All math runs locally in your browser, so the values you enter are never sent anywhere.

Example

Input
P₁ (x, y)1, 3
P₂ (x, y)4, 9
Result
Slope-intercept formy = 2x + 1
Point-slope formy − 3 = 2(x − 1)
Standard form2x − 1y = -1
x-intercept-0.5
Angle63.434949°
How do I use the Line Equation from Two Points?

Enter your values. See the result update instantly as you type. Change any value to compare scenarios.

Is the Line Equation from Two Points free?

Yes. It is completely free with no sign-up, no usage limits and no watermark.

Is my data sent to a server?

No. Everything is calculated locally in your browser. Nothing you enter is uploaded, logged or stored.

Does it work on my phone?

Yes. It works in any modern browser on Android, iPhone, iPad, Windows, Mac and Linux — no app needed.