VerifySolveSolve a problem

Slope Calculator — rise over run, proven twice

Type two points or a line equation and get the slope as an exact fraction — rise and run written out, the line equation found, and both points checked on the line. This slope calculator refuses curves honestly: a curve's slope changes, so it belongs on the Derivative Calculator.

  • ✓100% free — no paywall, ever
  • ✓No sign-up, no app
  • ✓Every answer verified before you see it

In short

Slope is rise over run: the change in y divided by the change in x. From two points, subtract the y-values and the x-values and divide; from an equation, read the coefficient of x once the line is in slope-intercept form. This slope calculator shows both subtractions, gives the answer as an exact fraction, and proves it by checking both points on the resulting line.

Rise over run, in four lines

One formula handles every slope problem, whether the input is two points or an equation. This slope calculator names each move so the method transfers to your homework.

Two points

m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}

Rise and run

m=riserunm = \frac{\text{rise}}{\text{run}}

Slope-intercept form

y=mx+by = mx + b

Standard form

Ax+By=C  ⇒  m=−ABAx + By = C \;\Rightarrow\; m = -\frac{A}{B}

Worked examples — points, equations, and a vertical line

Two points, an equation in each form, and the vertical case. Every check below is the same verification this slope calculator prints on every problem.

(1, 2), (4, 8)

  1. 1.Rise: 8 − 2 = 6
  2. 2.Run: 4 − 1 = 3
  3. 3.Slope: 6 ÷ 3 = 2
  4. 4.Line: y = 2x, through (1, 2) and (4, 8)

Check: 2 × 1 = 2 ✓ and 2 × 4 = 8 ✓ — both points lie on the line.

y = 2x + 1

  1. 1.Already in slope-intercept form y = mx + b
  2. 2.Coefficient of x: m = 2

slope 2, y-intercept 1

Check with two points on the line, (0, 1) and (1, 3): rise 2, run 1, slope 2 ✓.

2x + 3y = 6

  1. 1.3y = −2x + 6
  2. 2.y = −2/3x + 2

slope −2/3

Check: at x = 0, y = 2; at x = 3, y = 0 — rise −2, run 3, slope −2/3 ✓.

(2, 5), (2, 9)

  1. 1.Rise: 9 − 5 = 4
  2. 2.Run: 2 − 2 = 0

slope undefined — a vertical line, x = 2

Division by zero has no answer, so "undefined" is the honest result — not an error ✓.

Common mistakes — and how to dodge them

Dividing run by rise

Slope is rise OVER run — change in y on top, change in x underneath. Flipping the fraction gives the reciprocal, which is the slope of a different line entirely. This slope calculator labels rise and run separately in the steps, so the fraction is never built upside down.

Subtracting in different orders

y₂ − y₁ must pair with x₂ − x₁ — the same point second in both subtractions. Mixing the orders flips the sign: (1, 2) and (4, 8) give 6/3 = 2, but 2 − 8 over 4 − 1 gives −2. The steps always subtract in the same order, and the check on the line catches a flipped sign.

Calling a vertical line "zero slope"

A horizontal line has slope 0 (rise 0, run non-zero); a vertical line has UNDEFINED slope (run 0, division by zero). The two are opposites, not synonyms. Vertical inputs get "undefined" as the answer, with the reason shown.

Slope Calculator — questions

What is slope, in plain words?

How steep a line is, measured as rise over run: for every step right, how far the line climbs (or falls). A slope of 2 climbs 2 units per step right; a slope of −1/2 falls half a unit per step right; a slope of 0 is flat.

How does this slope calculator verify its answer?

Two computed checks, both shown: rise ÷ run is recomputed from the original points by an independent path, and both points are tested on the resulting line (m·x + b must equal y exactly). For equation inputs, two points on the line are found and the rise/run check runs from them. Nothing is asserted — every line of the proof is arithmetic you can repeat.

What does "undefined slope" mean?

The line is vertical: run = 0, so rise ÷ run is division by zero, which has no answer. "Undefined" is the correct mathematical answer here, not an error message. The line equation (x = a) is still given, and the page says so plainly.

Can I enter fractions or decimals?

Yes — coordinates accept integers, decimals and fractions like 1/2, and answers stay exact: (1/2, 1) and (3/2, 3) give slope 2, computed with fraction arithmetic, never rounded floats.

What about curves like y = x²?

Refused, honestly: a curve has no single slope — its steepness changes at every point. That is a derivative question, and the Derivative Calculator answers it with the same verified-steps approach.

Is the slope calculator free?

Yes — free, no sign-up, no app, full steps and verification included on every problem.

Keep solving

A note on honest use: VerifySolve is built for learning. Use the steps to understand the method, then close the tab and try one on your own — that is where the grade actually comes from. If your teacher or school has a policy on calculators, follow it.