(1, 2), (4, 8)
- 1.Rise: 8 − 2 = 6
- 2.Run: 4 − 1 = 3
- 3.Slope: 6 ÷ 3 = 2
- 4.Line: y = 2x, through (1, 2) and (4, 8)
Check: 2 × 1 = 2 ✓ and 2 × 4 = 8 ✓ — both points lie on the line.
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.
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.
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
Rise and run
Slope-intercept form
Standard form
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)
Check: 2 × 1 = 2 ✓ and 2 × 4 = 8 ✓ — both points lie on the line.
y = 2x + 1
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
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)
slope undefined — a vertical line, x = 2
Division by zero has no answer, so "undefined" is the honest result — not an error ✓.
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.
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.
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.
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.
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.
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.
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.
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.
Yes — free, no sign-up, no app, full steps and verification included on every problem.
See it on the graph: plot the line, drag to pan, and watch the rise and run on the curve.
Where the line crosses the axes — the other half of reading a line from its equation.
Which x-values a function accepts and which y-values it reaches, found by structural analysis.
Evaluate f(x) at values, read f(a), and expand f(x+h) — the language lines and curves are written in.
For curves, where steepness changes at every point — the slope question, generalised.
Rearrange and solve the equations that lines come from, with the same verified steps.
Two points give a slope here — rise over run. The geometry page turns the same two points into a distance and a midpoint, with the equidistance proof.
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.