๐Ÿ‡บ๐Ÿ‡ธ USC
Math & Conversion
๐Ÿ“ˆ

Point Slope Form Calculator

Line equation from a point and a slope, or from two points, with steps

โœ…

Last updated September 6, 2026

Method: Point-slope form uses the definition y − y1 = m(x − x1). In two-point mode the slope comes from m = (y2 − y1) ÷ (x2 − x1). All conversions are exact rational arithmetic, so fractions stay fractions and are never rounded.

Included: Point-slope form, slope-intercept form y = mx + b, standard form Ax + By = C with whole-number coefficients, slope as a fraction and a decimal, both intercepts, the angle with the x-axis, the perpendicular slope, a table of points on the line and a full step-by-step solution.

Not included: Curves and non-linear equations, systems of two lines, graphing on a plotted grid, and vertical lines in point-slope form, which do not exist because their slope is undefined.

๐Ÿ“ˆ Build the line

Point 1 ย (x1, y1)
Slopeย (m)
Fractions such as 3/4 and decimals such as -1.5 both work. Everything updates as you type.

๐Ÿ“ˆ Point-slope form

y + 5 = (3/4)(x - 2)
m = 3/4 (0.75) through (2, -5)
Slope-intercept form
y = (3/4)x - 13/2
Standard form
3x - 4y = 26
Slope m
3/4 = 0.75
y-intercept b
-13/2 = -6.5

๐Ÿงฎ Step by step

  1. Write point-slope form. Substitute m = 3/4 and (x1, y1) = (2, -5) into y - y1 = m(x - x1): y + 5 = (3/4)(x - 2)
  2. Distribute the slope. Multiply 3/4 through the bracket and move the constant to the right side, which gives b = y1 - m ยท x1 = -5 - (3/4)(2) = -13/2.
  3. Slope-intercept form. y = (3/4)x - 13/2
  4. Standard form. Clear the fractions and move the x-term left so the coefficients are integers with A not negative: 3x - 4y = 26
  5. Check. Put x = 2 back into the slope-intercept form: y = -5, which matches y1 = -5. A second point on the line is (3, -17/4).

๐Ÿ“‹ Line details

y-intercept (0, b)
(0, -13/2)
x-intercept
(26/3, 0)
Angle with the x-axis
36.87ยฐ
Slope as a percent grade
75%
Direction
Rises left to right
Perpendicular slope
-4/3

๐Ÿ“Š Points on this line

xyy (decimal)
0-13/2-6.5
1-23/4-5.75
2-5-5
3-17/4-4.25
4-7/2-3.5
5-11/4-2.75

The highlighted row is the point you entered. Plot any two rows and draw a straight line through them.

All three forms describe the same line. Point-slope form is exact whenever the slope and the point are exact, so fractions are kept as fractions rather than rounded decimals.

Point slope form: everything you need to know

A point slope form calculator turns one point and a slope into the equation of a line. The form is y − y1 = m(x − x1). For the point (2, −5) with slope 3/4 the answer is y + 5 = (3/4)(x − 2), which rearranges to y = (3/4)x − 13/2 and to the standard form 3x − 4y = 26.

Three sister tools cover the neighboring questions. The Slope Calculator finds m on its own from two points when the equation is not what you need yet, the Linear Equation Calculator solves an equation for x once you already have one, and the Midpoint Calculator and Distance Calculator answer the other two standard questions about a pair of points. Use this page when the assignment says "write the equation of the line".

The point-slope formula

Point-slope form is nothing more than the slope definition rearranged. Slope between a fixed point (x1, y1) and any other point (x, y) on the same line is m = (y − y1) ÷ (x − x1). Multiply both sides by (x − x1) and the fraction disappears:

y − y1 = m(x − x1)

That is the whole method. There is no solving, no isolating, no guessing: you substitute the slope for m and the coordinates of your point for x1 and y1, and the line is written. Because the subtraction signs are baked into the formula, a negative coordinate flips to a plus sign in the final equation. With x1 = −3 the bracket becomes (x + 3), and with y1 = −5 the left side becomes y + 5.

When you start from two points instead, you need one extra step first. The slope comes from the rise over the run:

m = (y2 − y1) ÷ (x2 − x1)

Then you pick either point, put it into the point-slope formula, and you are finished. The calculator above does both routes, keeps every value as an exact fraction, and shows the algebra line by line.

Worked example: a point and a slope

Write the equation of the line through (2, −5) with slope m = 3/4.

  1. Substitute. y − (−5) = (3/4)(x − 2), which tidies to y + 5 = (3/4)(x − 2). That is the point-slope answer.
  2. Distribute the slope. (3/4)(x − 2) = (3/4)x − 3/2, so y + 5 = (3/4)x − 3/2.
  3. Isolate y. Subtract 5 from both sides: y = (3/4)x − 3/2 − 5. Since 5 = 10/2, the constant is −3/2 − 10/2 = −13/2, giving y = (3/4)x − 13/2, or y = 0.75x − 6.5 in decimals.
  4. Clear the fractions. Multiply everything by 4: 4y = 3x − 26. Move the x-term left: 3x − 4y = 26, the standard form with whole-number coefficients.
  5. Check. At x = 2 the slope-intercept form gives 0.75 × 2 − 6.5 = 1.5 − 6.5 = −5, exactly the y-coordinate you started with.

The finished line crosses the y-axis at (0, −6.5) and the x-axis at (26/3, 0), which is about (8.67, 0). Its angle with the x-axis is arctan(0.75) = 36.87 degrees, and as a percent grade the slope reads 75%. Any line perpendicular to it has slope −4/3, the negative reciprocal.

Worked example: two points

Write the equation of the line through (−3, 4) and (5, −2).

  1. Slope. The rise is −2 − 4 = −6 and the run is 5 − (−3) = 8, so m = −6/8 = −3/4. The negative sign says the line falls from left to right.
  2. Point-slope. Using the first point: y − 4 = (−3/4)(x + 3). Using the second point instead gives y + 2 = (−3/4)(x − 5). Both are correct.
  3. Slope-intercept. Distributing the first version gives y − 4 = (−3/4)x − 9/4, so y = (−3/4)x − 9/4 + 4 = (−3/4)x + 7/4, that is y = −0.75x + 1.75.
  4. Standard form. Multiply by 4: 4y = −3x + 7, then move the x-term across to get 3x + 4y = 7.
  5. Check both points. At x = −3: −0.75 × (−3) + 1.75 = 2.25 + 1.75 = 4. At x = 5: −0.75 × 5 + 1.75 = −3.75 + 1.75 = −2. Both original points sit on the line.

Two extra facts about the same pair of points: their midpoint is (1, 1) and the distance between them is exactly 10 units, because the rise of 6 and the run of 8 form a 6-8-10 right triangle. That is a useful sanity check, since a slope of −3/4 is the same 3-4 ratio in reduced form.

Converting point-slope form to slope-intercept form

Most homework asks for the conversion, and it is two moves. First distribute the slope across the bracket. Second, add or subtract the constant so that y stands alone on the left. In symbols, y − y1 = m(x − x1) becomes y = mx + (y1 − m · x1), which means the y-intercept has a shortcut of its own:

b = y1 − m × x1

For (2, −5) and m = 3/4 that shortcut gives b = −5 − (3/4)(2) = −5 − 1.5 = −6.5 in a single line, matching the long route above. Use it when you only want the intercept and do not need the intermediate algebra written out.

Converting to standard form Ax + By = C

Standard form wants integer coefficients, the variables on the left, the constant on the right, and by convention A greater than or equal to zero. Getting there from slope-intercept form takes three moves: multiply every term by the least common denominator to clear fractions, move the x-term to the left side, and if the x-coefficient came out negative, multiply the whole equation by −1. Finally divide by any common factor so the three numbers share no divisor. The calculator applies exactly that sequence, which is why y = (3/4)x − 13/2 becomes 3x − 4y = 26 rather than the equivalent but untidy 6x − 8y = 52.

Point and slope converted into all three forms

Every row below was produced with the formulas on this page. Notice how a negative x1 or y1 always turns into a plus sign inside the finished equation.

Point Slope m Point-slope form Slope-intercept Standard form
(2, −5)3/4y + 5 = (3/4)(x − 2)y = (3/4)x − 13/23x − 4y = 26
(0, 3)2y − 3 = 2xy = 2x + 32x − y = −3
(−1, 4)−2y − 4 = −2(x + 1)y = −2x + 22x + y = 2
(5, 0)1/3y = (1/3)(x − 5)y = (1/3)x − 5/3x − 3y = 5
(3, 7)0y − 7 = 0(x − 3)y = 7y = 7
(−4, −6)5/2y + 6 = (5/2)(x + 4)y = (5/2)x + 45x − 2y = −8

Two points converted into a line equation

Here the slope is computed first with the rise-over-run formula, and the first listed point is the one substituted into point-slope form. The last row is the exception that has no point-slope version at all.

Two points Slope m Point-slope form Slope-intercept Standard form
(1, 2) and (4, 8)2y − 2 = 2(x − 1)y = 2x2x − y = 0
(−3, 4) and (5, −2)−3/4y − 4 = (−3/4)(x + 3)y = (−3/4)x + 7/43x + 4y = 7
(2, 5) and (6, 5)0y − 5 = 0(x − 2)y = 5y = 5
(0, −1) and (3, 5)2y + 1 = 2xy = 2x − 12x − y = 1
(−2, 3) and (4, −9)−2y − 3 = −2(x + 2)y = −2x − 12x + y = −1
(7, 1) and (7, 6)undefinedx = 7

What each slope looks like

The slope you type controls the steepness and the direction of the line. The angle column is arctan(m) converted to degrees, and the percent grade is simply the slope times 100, the same convention road signs use.

Slope m Decimal Angle Percent grade Direction
−2−2.0000−63.43°−200.0%Falls steeply
−3/4−0.7500−36.87°−75.0%Falls gently
00.00000.00°0.0%Horizontal
1/30.333318.43°33.3%Rises gently
3/40.750036.87°75.0%Rises gently
11.000045.00°100.0%Perfect diagonal
22.000063.43°200.0%Rises steeply
5/22.500068.20°250.0%Rises steeply

A slope of 1 is the benchmark worth memorizing: rise equals run, so the line tilts at exactly 45 degrees. Anything steeper has a slope above 1, anything gentler sits between 0 and 1.

How to use this point slope calculator

  1. Pick your starting information. Tap "A point and the slope" if the problem hands you m directly, or "Two points" if you have to work the slope out first.
  2. Type the coordinates. Enter x1 and y1 for your point. Negative values are fine, and so are decimals such as −1.5.
  3. Enter the slope as a fraction if you have one. Typing 3/4 keeps the answer exact; typing 0.75 gives the same line but shows the constants as decimals wherever the fraction does not terminate neatly.
  4. Read the headline. The blue card shows the finished point-slope equation, with slope-intercept form, standard form, m and b in the tiles beneath it.
  5. Follow the steps. The step-by-step card writes out the substitution, the distribution, the value of b and the rearrangement into standard form, so you can copy the reasoning rather than just the answer.
  6. Use the table of points. The last card lists six coordinate pairs on the line, which is all you need to sketch it on graph paper.

Who this calculator is for

  • Algebra 1 and Algebra 2 students working through a homework set on writing linear equations.
  • Students revising for a test who want a worked solution to compare against their own, not just a final answer.
  • Parents and tutors checking a page of exercises quickly without redoing every conversion by hand.
  • Anyone fitting a straight line to two data readings, such as a cost that grows by a fixed amount per unit, and needing the formula behind it.
  • Trades and design work where a run and a rise are known and the equation of the line matters for layout.

Key terms explained

  • Slope (m): how much y changes for each one-unit increase in x. Positive rises, negative falls, zero is flat.
  • Rise and run: the vertical and horizontal change between two points. Slope is rise divided by run.
  • Point-slope form: y − y1 = m(x − x1), built from any single point on the line.
  • Slope-intercept form: y = mx + b, where b is the y-value at x = 0.
  • Standard form: Ax + By = C with integer coefficients, the version most often used when solving systems of equations.
  • y-intercept: the point (0, b) where the line crosses the vertical axis.
  • x-intercept: the point where y = 0, found by solving 0 = mx + b, so x = −b/m.
  • Negative reciprocal: the slope of a perpendicular line. Flip the fraction and change the sign, so 3/4 becomes −4/3.

Special cases: horizontal and vertical lines

A horizontal line has slope 0. Point-slope form still works, it just collapses: y − 7 = 0(x − 3) is true for every x, which means y = 7 everywhere. A vertical line is the one case point-slope form cannot express. Both of its points share the same x-value, so the run is zero, and slope is rise divided by run. Division by zero is undefined, so there is no m to substitute. Write the line as x = 7 instead, or as the standard form 1x + 0y = 7. The calculator detects this situation in two-point mode and tells you so rather than printing an error.

What changes the result

  • The slope sets the steepness and the direction. Change its sign and the line mirrors from rising to falling.
  • The point shifts the line up or down without tilting it. Two lines with the same m but different points are parallel.
  • Which point you choose changes how the point-slope equation looks, but never the line itself. Both versions simplify identically.
  • Fractions versus decimals. A slope of 1/3 is exact, while 0.333 is not; over a long run that rounding visibly moves the line.
  • Sign errors on negative coordinates are the single most common way a correct slope still produces the wrong equation.

Tips that save time

  • When both points have ugly coordinates, use point-slope form and stop there if the question does not demand slope-intercept form. It is a complete, valid equation.
  • Keep the slope as a fraction until the very last step, then convert to a decimal only if the answer sheet asks for one.
  • Use b = y1 − m × x1 as a one-line shortcut whenever you only need the y-intercept.
  • For a parallel line through a new point, reuse the same m. For a perpendicular one, flip the fraction and change the sign.
  • Always test the original point in your final equation. It catches nearly every sign slip in a few seconds.
  • If the run divides the rise evenly, the slope is a whole number and the algebra stays fraction-free the whole way.

Limitations of this tool

  • It handles straight lines only. Parabolas, circles and other curves need a different method; for a quadratic, use the Quadratic Formula Calculator.
  • It works in two dimensions. A line in three-dimensional space needs a vector or parametric form instead.
  • Vertical lines have no point-slope form, so the calculator reports x = c rather than forcing an equation that does not exist.
  • Very long decimal inputs are converted to exact fractions, which can produce large numerators in standard form. Rounding your input first keeps the coefficients readable.
  • It does not draw a plotted graph. The table of points is there so you can sketch the line yourself.

Which calculator should you use?

Line problems come in a small family, and each sibling page answers a different part of it:

  • Use this page when you need the equation of a line from a point and a slope, or from two points.
  • Use the Slope Calculator when the question stops at m, the rise over run, the angle or the distance between two points.
  • Use the Linear Equation Calculator when you already have an equation and need to solve it for x.
  • Use the Midpoint Calculator for the point exactly halfway between two coordinates, and the Distance Calculator for the length of the segment joining them.
  • Use the Inequality Calculator when the relation is a less-than or greater-than rather than an equals sign.

Sources

Everything on this page is deterministic coordinate geometry, so no external data source applies. The point-slope identity y − y1 = m(x − x1) follows algebraically from the definition of slope, m = (y2 − y1) ÷ (x2 − x1); the slope-intercept and standard forms are equivalent rearrangements of that same equation, and the angle of the line is arctan(m) by the definition of the tangent function. These are exact mathematical definitions rather than measured or published values, so there is nothing to cite and nothing that changes over time. The only convention involved is the standard-form tidying rule, that A, B and C are integers with no common factor and A is not negative, which is the ordering used in US algebra curricula.

โš ๏ธ Common mistakes & edge cases

Losing the double negative

With the point (2, −5), y − y1 becomes y − (−5), which is y + 5, not y − 5. The same trap sits inside the bracket when x1 is negative: x1 = −3 gives (x + 3).

Flipping the slope formula

Slope is rise over run, m = (y2 − y1) ÷ (x2 − x1). Writing the x-difference on top gives the reciprocal, so −3/4 turns into −4/3 and the whole line is wrong.

Mixing up which point is first

Consistency is what matters. If you start with y2 in the numerator, start with x2 in the denominator too. Mixing them flips the sign of the slope.

Forgetting to distribute to both terms

(3/4)(x − 2) is (3/4)x − 3/2, not (3/4)x − 2. Multiplying only the first term inside the bracket is the classic conversion error on the way to slope-intercept form.

Trying to write a vertical line in point-slope form

If both points share an x-value, the slope is undefined and no point-slope equation exists. Write x = 7 instead of hunting for an m that is not there.

Rounding the slope too early

Turning 1/3 into 0.33 before you distribute pushes the y-intercept off. Keep fractions exact until the final line, then round only if you are asked to.

Note: Point-slope form is not unique. Two answers that use different points on the same line are both correct, and both reduce to the same y = mx + b.

❓ Frequently asked questions

What is point-slope form?

Point-slope form is the line equation y - y1 = m(x - x1), where m is the slope and (x1, y1) is any known point on the line. It is the fastest way to write a line when you know one point and how steep the line is, because you simply substitute three numbers and you are done - no solving required.

How do I write an equation in point-slope form?

Substitute the slope for m and the coordinates of your point for x1 and y1, then leave the equation as it is. For the point (2, -5) with slope 3/4 you get y - (-5) = (3/4)(x - 2), which tidies up to y + 5 = (3/4)(x - 2). Watch the double negative: subtracting a negative y1 turns into a plus sign.

How do I convert point-slope form to slope-intercept form?

Distribute the slope through the bracket, then add or subtract y1 from both sides so y stands alone. Starting from y + 5 = (3/4)(x - 2): distribute to get y + 5 = (3/4)x - 3/2, then subtract 5 from both sides to get y = (3/4)x - 13/2. The constant -13/2 (that is -6.5) is the y-intercept b.

How do I find point-slope form from two points?

First compute the slope with m = (y2 - y1) / (x2 - x1), then drop that slope and either point into y - y1 = m(x - x1). For (-3, 4) and (5, -2) the rise is -6 and the run is 8, so m = -3/4 and the equation is y - 4 = (-3/4)(x + 3). Using the second point gives y + 2 = (-3/4)(x - 5), which is the same line.

Does it matter which point I use in point-slope form?

No. Any point on the line produces a valid point-slope equation, and all of them simplify to the same slope-intercept and standard form. The two versions look different on paper but describe an identical line, so teachers accept either unless the problem names a specific point to use.

What is the difference between point-slope form and slope-intercept form?

Point-slope form, y - y1 = m(x - x1), is built around any point on the line. Slope-intercept form, y = mx + b, is built around the one special point where the line crosses the y-axis. Point-slope is quicker to write from raw data; slope-intercept is quicker to graph and to read the intercept from.

How do I convert point-slope form to standard form?

Expand the brackets, multiply both sides by the least common denominator to clear fractions, then move the x-term to the left so the equation reads Ax + By = C with whole-number coefficients and A not negative. From y + 5 = (3/4)(x - 2) you reach y = (3/4)x - 13/2, multiply by 4 to get 4y = 3x - 26, and rearrange to 3x - 4y = 26.

Can point-slope form describe a vertical line?

No. A vertical line has an undefined slope because the run (x2 - x1) is zero, and you cannot substitute an undefined value for m. A vertical line through x = 7 is simply written as x = 7. Every non-vertical line, including horizontal ones, can be written in point-slope form.

What does point-slope form look like for a horizontal line?

A horizontal line has slope 0, so y - y1 = 0(x - x1). The right side is zero for every x, which collapses to y = y1. For the point (3, 7) the equation is y - 7 = 0(x - 3), and that is just y = 7.

Why is the sign inside the bracket subtraction?

The formula comes from the slope definition m = (y - y1) / (x - x1). Multiplying both sides by (x - x1) leaves y - y1 = m(x - x1), so the subtraction is built into the algebra. When x1 is negative the subtraction of a negative becomes addition: with x1 = -3 the bracket reads (x + 3).

Can the slope in point-slope form be a fraction?

Yes, and fractions are usually preferred over decimals because they are exact. A slope of 3/4 stays 3/4 rather than becoming 0.75, so the converted slope-intercept form is exact too. This calculator accepts fractions such as 3/4 and -1/2 as well as decimals such as -1.5.

How do I check that my point-slope equation is right?

Substitute the x-coordinate of your original point into the final equation and confirm you get the original y-coordinate. For y = (3/4)x - 13/2 at x = 2 you get 1.5 - 6.5 = -5, which matches the point (2, -5). Testing a second point, such as (6, -2), confirms the slope as well.

What is the point-slope equation for a line through (2, -5) with slope 3/4?

It is y + 5 = (3/4)(x - 2). Distributing gives the slope-intercept form y = (3/4)x - 13/2, or y = 0.75x - 6.5, and clearing fractions gives the standard form 3x - 4y = 26. The line crosses the y-axis at (0, -6.5) and the x-axis at about (8.67, 0).

Is this point slope calculator free?

Yes. This point slope form calculator is completely free, needs no sign-up, and runs entirely in your browser. Enter as many points and slopes as you like; nothing you type is sent anywhere or stored.

๐Ÿ’ก Good to know

Point-slope form is the fastest form to write

It needs no algebra at all: three numbers go straight into the template. Slope-intercept form always costs you one extra step, because you have to compute b before you can write it down.

Two different-looking answers can be the same line

y − 4 = (−3/4)(x + 3) and y + 2 = (−3/4)(x − 5) use different points from the same line. Both simplify to y = (−3/4)x + 7/4, so both are right.

Parallel and perpendicular lines are one edit away

Keep the slope and change the point for a parallel line. Flip the fraction and change the sign for a perpendicular one, so a slope of 3/4 becomes −4/3.

Related Calculators