Point-Slope Form Calculator

Express the equation of a line in point-slope form using the calculator below. You can use two known points, the slope and one known point on the line, or the slope and y-intercept.

Point #1 Coordinates:
Point #2 Coordinates:
Point Coordinates:

Point-Slope Form:

y − 4 = 1 / 4(x - 3)

Line Graph:


Steps to Find Point-Slope Form

Step One: Calculate the Slope

m=(y2 - y1) / (x2 - x1)
m=(5 - 4) / (7 - 3)
m=(5 - 4) / (7 - 3)=1 / 4
m=1 / 4

Step Two: Express the Line in Point-Slope Form

Substitute the slope for m and the coordinates of one of the points for x1 and y1 .
y-y1=m(x-x1)
y-4=1 / 4(x-3)
Learn how we calculated this below


On this page:


How to Find Point-Slope Form

When working with lines, there are a number of ways to describe the line.

One way to describe a line is using its slope, or gradient. However, the slope only describes the angle or gradient of the line, but not its position on a graph.

The most common way to describe a line is with an algebraic equation. There are several standard equations for a line: point-slope form, slope-intercept form, and standard form.

The calculator above will help describe the line in point-slope form. Keep reading to learn more about it.

What is Point-Slope Form?

Point-slope form is an algebraic equation of a linear line using the slope and one point on the line. It is expressed using a standard formula.

Point-slope form is most useful when you know the slope of a line and the coordinates of a point on it.

Point-slope form is a linear equation of a straight line, so it is not useful for curves or lines described by other functions. Non-linear functions represent the equation of a curve, where the steepness of the line changes along the line.

Point-Slope Formula

The point-slope form equation for describing a linear line is:

y – y1 = m(x – x1)

The point-slope form equation states that y minus the y-coordinate y1 is equal to the slope of the line m times x minus the x-coordinate x1.

Note that the slope is the coefficient of (x – x1) in the formula.

The point-slope form equation for a line showing that y minus y1 is equal to m times x minus x1

Deriving the Point-Slope Form Equation

The point-slope formula is derived from the slope formula.

Recall the formula for slope:

m = y2 – y1 / x2 – x1

By multiplying both sides of this equation by the denominator (x2-x1), the formula can be simplified to:

m(x2 – x1) = y2 – y1 / x2 – x1 × (x2 – x1)

m(x2 – x1) = y2 – y1

Now, note that the resulting equation of the line is the point-slope formula above.

Steps to Find the Equation of a Line in Point-Slope Form

You can express the equation of a straight line in point-slope form in a few steps.

Step One: Find the Slope

The first step is to find the slope of the line. You can use the slope formula above to find it if you have two points. You can also use a slope calculator.

If you know the slope already, then you can skip this step.

Step Two: Form the Equation

The next step is to substitute the slope and coordinates of the known point into the equation m, x1, and y1 variables.

In some cases, the equation can be simplified, for instance, to remove a double-negative or rearrange the formula for a horizontal line.

For example, let’s create the equation for a line with a slope of 1/2 and a point (3, 4) in point-slope form.

Since we know the slope, we can start with the second step and input 1/2 for the m variable, 3 for the x1 variable, and 4 for the y1 variable in the equation above.

y – 4 = 1 / 2(x – 3)

It’s that easy to create the equation of a line.

Point-Slope Form For Horizontal Lines

Point-slope form can also be used to represent the equation of a straight horizontal line. A horizontal line is a line that is parallel to the x-axis, and it has a slope of 0 since it has no steepness at all.

So, point slope form looks like this:

y – y1 = 0(x – x1)

This can be simplified to:

y – y1 = 0

By adding the y-coordinate to both sides of the equation, we can solve for y:

(y – y1) + y1 = 0 + y1

y = y1

And this makes sense since every point on a horizontal line has the same y-coordinate.

Point-Slope Form for Vertical Lines

A vertical line where the line is parallel to the y-axis essentially has infinite steepness, so the slope is undefined. Since vertical lines have an undefined slope, they cannot be represented using point-slope form.

Instead, the standard form equation can be used, where x is equal to c. The variable c is the x-intercept of the line.

x = c

How to Convert Slope-Intercept Form to Point-Slope Form

Another common way to express the equation of a line is using slope-intercept form. If you have an equation in slope-intercept form, you can convert it to point-slope form.

Recall the slope-intercept formula:

y = mx + b

In slope-intercept form, the variable m is the slope, and b is the y-intercept. Since we need one point to use point-slope form, we’ll need to find a point.

Because we know the y-intercept of the line, which is the point where the line crosses the y-axis, we know a point on the line where x is equal to 0 and y is equal to the y-intercept.

Thus, the point we can derive from slope-intercept form is:

(0, b)

Then, to put this in point-slope form, substitute the slope for m, 0 for x1, and b for y1.

y – b = m(x – 0)

This can be simplified further to:

y – b = mx

Try our slope-intercept form calculator to express the equation of a line in slope-intercept form.

How to Find Point-Slope Form Using Two Points

You can also find point-slope form for a line if you have two points on the line.

Recall from above that the variable m in the equation represents the slope. So, the first step is to find the slope.

Use the formula above to calculate the slope m.

m = y2 – y1 / x2 – x1

Then, use the slope and one of the points to put the equation of the line in point-slope form.

How to Graph a Line in Point-Slope Form

To graph a line with an equation in point-slope form, start by finding one point and slope from the equation.

Recall the point-slope form equation from above:

y – y1 = m(x – x1)

When you have the equation of a line in this form, you can start by identifying the slope m in the equation.

Then, you can identify the x1 and y1 coordinates from the equation; this is the first point.

Next, you need to find a second point on the line using the slope and the first point. Since the slope is a ratio of the vertical change to the horizontal change of the line, you can use that ratio to find a second point from the first one.

Given a point (x1, y1), the second point is equal to (slope denominator + x1, slope numerator + y1).

Then, you can draw the first and second points on the graph and connect them with a straight line.

For example, let’s find the two points to graph a line from the equation y – 4 = 2 / 3(x-1).

Start by identifying the slope. The fraction 2/3 appears in the m position of the equation, so that’s the slope.

Then find the coordinates for the first point. In this equation, 1 is in the x1 location, and 4 is in the y1 location. So, the first point is (1, 4).

Now you can use the slope to find a second point on the line. Add the slope’s denominator 3 to the first point x-coordinate.

1 + 3 = 4

Then add the slope’s numerator to the first point y-coordinate.

4 + 2 = 6

By putting these together, you can find the second point, which is (4, 6).

And finally, you can plot the points (1, 4) and (4, 6) on a graph, then connect these points to graph the line.