Skip to content
ihateDesmos

Point-slope form

6 min read · Updated 6 November 2026

Point-slope form writes a straight line using its slope and any one point on it: y − y₁ = m(x − x₁). It is the fastest way to write an equation when you know a point and a slope, and it is what you use for tangent lines in calculus.

The point-slope formula

y−y1=m(x−x1)

Here m is the slope and (x₁, y₁) is a known point on the line. x and y stay as letters: they stand for every point on the line.

The formula comes straight from the definition of slope. Between (x₁, y₁) and any other point (x, y), the slope is m = (y − y₁)/(x − x₁). Multiply both sides by (x − x₁), and you have point-slope form.

How to write an equation in point-slope form

From a point and a slope

For slope 3 through the point (2, 5), put the numbers in: y − 5 = 3(x − 2). That is the whole job.

With negative coordinates

Watch the signs. For slope 2 through (−1, −4): y − (−4) = 2(x − (−1)), which simplifies to y + 4 = 2(x + 1).

From two points

For (1, 2) and (4, 8):

  1. Find the slope: m = (8 − 2) ÷ (4 − 1) = 2.
  2. Use either point: y − 2 = 2(x − 1).

Using the other point gives y − 8 = 2(x − 4), which looks different but is the same line. Expand either one to get y = 2x.

−22450
Open in calculator
The line
y−5=3(x−2)
passes through (2, 5) with slope 3. You can read the point and slope straight from the equation.

Converting to slope-intercept form

Multiply out the bracket and solve for y:

  1. Start with y − 5 = 3(x − 2).
  2. Expand the right side: y − 5 = 3x − 6.
  3. Add 5 to both sides: y = 3x − 1.

Now it is in slope-intercept form, with y-intercept −1.

How to graph from point-slope form

  1. Read the point: in y − 5 = 3(x − 2), it is (2, 5). The signs inside the equation are opposite to the coordinates.
  2. Plot that point.
  3. Use the slope to find a second point: up 3, right 1 gives (3, 8).
  4. Draw the line through them.

When to use each form

FormEquationBest when
Point-slopey − y₁ = m(x − x₁)You know a point and a slope, or you need a tangent line
Slope-intercepty = mx + bYou want to graph quickly or compare lines
StandardAx + By = CYou are solving a system, or want the intercepts

Point-slope form in calculus

This form is everywhere in calculus, because a derivative gives you a slope at a point. The tangent to y = f(x) at x = a is y − f(a) = f′(a)(x − a). For y = x² at x = 3, the slope is 6, so the tangent is y − 9 = 6(x − 3). The tangent line calculator finds these for any function.

Common mistakes

  • Sign errors with negative coordinates. The point (−1, 4) gives y − 4 = m(x + 1). Subtracting a negative is adding.
  • Putting numbers in for x and y. Only x₁ and y₁ get numbers. The plain x and y stay as letters.
  • Swapping the coordinates. y₁ goes with y, and x₁ goes with x.

Frequently asked questions

What is point-slope form?
A way of writing a line as y − y₁ = m(x − x₁), where m is the slope and (x₁, y₁) is any point on the line.
How do you write point-slope form from two points?
Find the slope with m = (y₂ − y₁)/(x₂ − x₁), then put m and either point into the formula.
How do you convert point-slope form to slope-intercept form?
Expand the bracket and solve for y. y − 5 = 3(x − 2) becomes y = 3x − 1.
Does it matter which point I use?
No. Each point gives a different-looking equation, but they all describe the same line.
What is the difference between point-slope and slope-intercept form?
Point-slope uses any point on the line. Slope-intercept uses the specific point where the line crosses the y-axis.

Keep going

Try it in the calculator

Every figure on this page opens in ihateDesmos, where you can drag sliders and watch the graph respond.

Open the calculator