Audited ·Last updated 27 Jul 2026·4 citations·Tier 2·0 uses

Point-Slope Form Calculator

Turn a point and a slope into point-slope, slope-intercept, and standard form instantly. Free calculator with worked steps for any line.

Point-Slope Form Calculator

The x-coordinate of the point the line passes through. Any real number — positive, negative, or zero.
The y-coordinate of the point the line passes through.
The slope of the line. Zero is a valid, fully-defined slope (a horizontal line). This calculator cannot accept an undefined (vertical-line) slope, since that isn't a finite number — use x = x₁ directly for a vertical line.
y-intercept (b)
2
The y-intercept of the line, computed as b = y₁ − m·x₁. Completes the slope-intercept form y = mx + b.
Slope (m)
2
Standard form: A
2
Standard form: B
-1
Standard form: C
-2
Point-slope form
y - 4 = 2(x - 1)
Slope-intercept form
y = 2x + 2
Standard form
2x - y = -2

Background.

A point-slope form calculator takes the two pieces of information you most often have about a line in the real world — one specific point it passes through, and its rate of change — and turns them into the three equation forms algebra actually uses: point-slope, slope-intercept, and standard form. Enter a point (1, 4) and a slope of 2, and the calculator immediately writes y − 4 = 2(x − 1), simplifies it to y = 2x + 2, and rearranges it again to the standard form 2x − y = −2, all from the same three numbers.

Point-slope form exists because it is frequently the most natural form to write down first. A physics problem gives you a velocity (the slope) at a specific instant (the point). A calculus problem gives you a derivative at a point and asks for the tangent line. A construction drawing gives you a known corner and a required pitch. In every one of these situations you know a point and a rate before you know where the line happens to cross the y-axis, which is exactly the piece of information slope-intercept form needs first. Point-slope form, y − y₁ = m(x − x₁), lets you write the equation immediately from what you actually have, and this calculator handles the algebra of converting that into the other two standard forms so you don't have to do it by hand every time.

This is a deliberately different tool from the Quanta slope calculator, which runs in the opposite direction: given two points, it computes the slope between them. Here, the slope is already known and supplied directly as an input, and the calculator's job is to build the full family of equivalent equations around it — which is also why this tool, unlike the slope calculator, never needs to handle an "undefined slope" case. A vertical line has no defined slope at all, so there is no numeric m you could type in to represent one; vertical lines are excluded by the shape of the input itself, not by an error message.

Slope-intercept form, y = mx + b, is what most people mean when they picture "the equation of a line" — it is the fastest form to graph, because b tells you exactly where to start on the y-axis and m tells you how to move from there. Standard form, Ax + By = C, is less commonly taught first but shows up constantly in systems of equations, linear programming, and any context where you want x and y to look symmetric rather than singling y out as "the answer." This calculator produces all three so you can use whichever one your next step actually requires, without re-deriving the others by hand.

Negative coordinates, negative slopes, and a slope of exactly zero are all completely ordinary inputs. A horizontal line (m = 0) is just as well-defined as any other line — it has a real slope-intercept form and a real standard form, it simply happens to have no x-term in it once you finish the algebra. The only input this calculator genuinely cannot represent is a vertical line, and that limitation comes from the definition of slope itself, not from anything this tool restricts.

What is point-slope form calculator?

Point-slope form is one of the standard ways to write the equation of a straight line in the coordinate plane: y − y₁ = m(x − x₁), where (x₁, y₁) is any known point on the line and m is the line's slope. It is called "point-slope" because those are exactly the two pieces of information it needs — nothing about where the line crosses either axis is required to write it down. Every non-vertical line has infinitely many equivalent point-slope equations (one for every point you could pick on the line), all of which simplify to the same slope-intercept and standard forms once the algebra is carried out. Slope-intercept form, y = mx + b, isolates y and exposes the y-intercept b directly, making it the most convenient form for graphing. Standard form, Ax + By = C, keeps x and y on the same side and is the form most often used in systems of linear equations. A vertical line is the one case none of these forms can express, because a vertical line has no defined slope — its equation is simply x = a constant, entirely outside the y = mx + b family.

How to use this calculator.

  1. Identify a point the line passes through — any point will do, it does not need to be an intercept — and the line's slope.
  2. Enter the point's x-coordinate and y-coordinate, and the slope, into the three fields.
  3. Read the point-slope form first: it is exactly y − y₁ = m(x − x₁) with your numbers substituted in, which is the fastest form to write down from the given data.
  4. Read the slope-intercept form (y = mx + b) if you need to graph the line or state its y-intercept directly.
  5. Read the standard form (Ax + By = C) if you need the equation for a system of equations or a context where x and y should look symmetric.
  6. If your line is vertical (undefined slope), this calculator is not the right tool — a vertical line's equation is simply x = x₁, with no slope to enter.

The formula.

y − y₁ = m(x − x₁)

Point-slope form starts from the definition of slope itself: for any two points (x₁, y₁) and (x, y) on the same line, the slope between them is m = (y − y₁) / (x − x₁). Multiplying both sides by (x − x₁) clears the denominator and produces y − y₁ = m(x − x₁) — an equation that holds for every point (x, y) on the line, which is exactly what makes it the line's equation rather than just a fact about two specific points.

Converting to slope-intercept form is a matter of isolating y. Expand the right-hand side: y − y₁ = mx − m·x₁. Add y₁ to both sides: y = mx + (y₁ − m·x₁). The quantity in parentheses is exactly the y-intercept, so b = y₁ − m·x₁, and the equation becomes the familiar y = mx + b.

Converting to standard form starts from the same slope-intercept equation and moves every term to one side: y = mx + b rearranges to mx − y = −b, which is already in the shape Ax + By = C with A = m, B = −1, and C = −b. This calculator then applies two cosmetic normalizations that match textbook convention: it flips every sign if that is needed to make A non-negative (or, for a horizontal line where A is already 0, to make B positive instead), and — when the slope and coordinates you entered have a bounded number of decimal places — it scales all three coefficients up and divides out their greatest common divisor, so the result comes out as small whole numbers instead of decimals whenever that reduction is clean. If the inputs involve too many decimal places for that reduction to stay well-behaved, the standard form is left in exact decimal form instead, which is still entirely correct — just not dressed up as integers.

A horizontal line (m = 0) is the one case worth calling out explicitly, because it can look unusual in point-slope form: with m = 0, the right-hand side of y − y₁ = m(x − x₁) becomes 0(x − x₁), which is always 0 regardless of x, so the equation reduces to y = y₁. That is entirely correct — a horizontal line's y-value never changes — it is simply the algebra confirming what the geometry already tells you.

A worked example.

Example

A line passes through the point (1, 4) with a slope of 2. In point-slope form, that is immediately y − 4 = 2(x − 1) — no algebra required, just substitution. To get slope-intercept form, expand the right-hand side: y − 4 = 2x − 2. Add 4 to both sides: y = 2x + 2. So the y-intercept is b = 2, matching the formula b = y₁ − m·x₁ = 4 − 2·1 = 2. To get standard form, rearrange y = 2x + 2 as 2x − y = −2. Both coefficients are already whole numbers with no common factor beyond 1, so the standard form is simply 2x − y = −2. As a check, substitute the original point back into every form. Point-slope: 4 − 4 = 2(1 − 1) → 0 = 0. Slope-intercept: 4 = 2·1 + 2 → 4 = 4. Standard form: 2·1 − 4 = −2 → −2 = −2. All three confirm the same line through the same point.

y14
x11
m2

Frequently asked questions.

What is point-slope form used for?
Point-slope form, y − y₁ = m(x − x₁), is the fastest way to write down a line's equation when you know one point on the line and its slope but not necessarily where it crosses the y-axis. This situation comes up constantly: a derivative gives you a slope at a specific point and asks for the tangent line, a word problem gives you a starting condition and a rate of change, or a construction drawing gives you a known corner and a required pitch. Rather than solving for the y-intercept first, point-slope form lets you write a correct equation immediately from the data you already have, then convert to slope-intercept or standard form afterward if you need those instead.
How do you convert point-slope form to slope-intercept form?
Start from y − y₁ = m(x − x₁). Distribute the slope across the parentheses: y − y₁ = mx − m·x₁. Then add y₁ to both sides to isolate y: y = mx + (y₁ − m·x₁). The quantity in parentheses is the y-intercept b, so the slope-intercept form is y = mx + b with b = y₁ − m·x₁. This calculator performs exactly that substitution and reports b directly as the yIntercept output.
How do you convert to standard form, and why aren't the coefficients always whole numbers?
Starting from slope-intercept form y = mx + b, move every term to one side: mx − y = −b, which already has the shape Ax + By = C with A = m, B = −1, C = −b. This calculator then normalizes the sign (so the leading coefficient is non-negative) and, when your slope and point were entered with a reasonably small number of decimal places, scales all three coefficients up and divides out their greatest common divisor to produce clean whole numbers. If the inputs involve many decimal places, that scaling would produce absurdly large integers, so the calculator leaves the standard form in exact decimal terms instead — the equation is still perfectly correct, just not reduced to small whole numbers.
Why can't this calculator handle a vertical line?
A vertical line has no defined slope at all — every point on it shares the same x-coordinate, so the standard slope formula (y₂ − y₁)/(x₂ − x₁) divides by zero. Because the slope field on this calculator requires a genuine finite number, there is no way to type in "undefined" to represent a vertical line in the first place; the input design excludes that case rather than needing to detect and reject it afterward. A vertical line's equation is simply x = x₁ — a single coordinate, with no m and no y-intercept in the usual sense.
Is a slope of 0 a valid input?
Yes — a slope of exactly 0 describes a perfectly ordinary horizontal line, and it is fully supported here. With m = 0, the point-slope equation y − y₁ = 0(x − x₁) simplifies to y = y₁, meaning the line's y-value never changes no matter what x is. The slope-intercept form becomes simply y = y₁ (the y-intercept equals y₁), and the standard form becomes y = y₁ as well, once the vanished x-term is dropped. This is different from an undefined slope (a vertical line), which this calculator cannot represent at all — a slope of 0 is a real, finite number and causes no special handling beyond the algebra simplifying naturally.
Can the point (x₁, y₁) or the slope be negative?
Yes, without exception. Negative coordinates simply place the known point in a different quadrant of the plane, and a negative slope simply means the line falls from left to right instead of rising. Neither changes the algebra in any special way — the same point-slope, slope-intercept, and standard-form derivations apply exactly as written. The only inputs this calculator rejects are non-finite values; every combination of negative, zero, positive, whole-number, and fractional inputs for x₁, y₁, and m is a legitimate line.
What's the difference between this calculator and the slope calculator?
The slope calculator runs in the opposite direction: you give it two points, and it computes the slope between them (plus the y-intercept, angle, and other derived values). This calculator assumes you already know the slope — perhaps from a previous calculation, a physics formula, or a stated rate — and instead focuses on building the full family of equivalent line equations (point-slope, slope-intercept, and standard form) around a single known point. If you have two points and need the slope first, use the slope calculator; if you already have a point and a slope and need the equation, use this one.

References& sources.

  1. [1]Dawkins, Paul. "3.2 Lines." Paul's Online Math Notes, Lamar University Department of Mathematics — covers point-slope, slope-intercept, and standard (Ax + By = C) forms.
  2. [2]Weisstein, Eric W. "Line." MathWorld — Wolfram Research — reference definitions of point-slope, slope-intercept, and standard form.
  3. [3]Descartes, René (1637). La Géométrie. Discours de la méthode, Appendix III — original publication introducing the Cartesian coordinate system and the algebraic treatment of straight lines.
  4. [4]Sullivan, Michael. Algebra & Trigonometry, 10th edition. Pearson, 2018 — standard reference treatment of the point-slope, slope-intercept, and standard forms of a linear equation.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon