Slope Calculator

Two (x, y) points yield slope m and rise/run components—edit coordinates without reloading.

Two points

Slope m = (y₂ − y₁) ÷ (x₂ − x₁).

m2
Guide & resources

What this slope calculator does

Slope measures how steep a straight line is between two plotted points. This slope calculator takes two coordinate pairs, subtracts to find Δy and Δx, then divides to report m. Results update live as you edit any field. After Reset, the teaching default uses (2, 3) and (6, 11), so rise is 8, run is 4, and slope m = 2. That single row is the sanity check before harder homework.

Parabolas and curved graphs use different tools—open the quadratic formula calculator when the model is not a line. Triangle area and altitude ideas live on the triangle calculator. Exact rational slopes simplify on the fraction calculator. Road-grade percent wording converts on the percent calculator. Long decimal division belongs on the scientific calculator. Browse related pages from the math calculator hub when tonight’s packet mixes topics.

Who should compute slope here

Algebra students learning Δy over Δx. Physics learners estimating linear trends between two lab readings. Developers checking coordinate deltas in unitless grids. Tutors who want one consistent (2, 3) to (6, 11) demo after every Reset.

Statisticians fitting regression lines across many points need spreadsheet or CAS tools—two-point slope here is geometry, not least-squares regression across a cloud of data.

Order of subtraction matters for sign, not for magnitude of steepness

Swapping which point you treat as “first” flips the sign of both Δy and Δx, so their ratio stays the same. A line that rises left-to-right has positive slope; falling lines show negative m. When Δx is zero the line is vertical and slope is undefined—the UI prints “Undefined” instead of dividing by zero.

Quick start

  1. Enter x₁, y₁ for the first point and x₂, y₂ for the second.
  2. Read Δy, Δx, and slope m in the results panel.
  3. Change either point to see the line steepness update immediately.
  4. Try equal x coordinates to see the vertical-line undefined case.
  5. Press Reset for (2, 3), (6, 11), and slope 2.

Slope formula

m = (y₂ − y₁) / (x₂ − x₁) when x₂ differs from x₁. Equivalent forms use run in the denominator and rise in the numerator. Parallel lines share the same m; perpendicular lines multiply to −1 when both slopes exist. Point-slope form y − y₁ = m(x − x₁) builds equations once m is known.

Default two-point slope calculation
Step Value Notes
Point A (2, 3) Reset first point
Point B (6, 11) Reset second point
Δy 11 − 3 = 8 Rise
Δx 6 − 2 = 4 Run
Slope m 8 ÷ 4 = 2 Up two units per one right

Reading slope on graphs

From (2, 3) to (6, 11), each step of one unit right raises y by two on average along that segment. Sketch the segment before trusting the number—transposed coordinates are the most common typo. Compare with the quadratic formula calculator when the graph bends; slope between two points on a curve is only a secant slope, not the tangent unless the curve is a line.

Negative and zero slope

Horizontal lines have Δy zero and m zero. Downhill segments yield negative m. A slope of negative two still means magnitude two with opposite direction—do not drop the sign when interpreting physics graphs.

Fraction slopes and percent grade

Slope two equals rise two over run one. Rational slopes like three-fourths belong on the fraction calculator when you must lowest-terms the ratio. Road grade as percent often multiplies slope by one hundred—phrase that on the percent calculator.

Three worked examples (reset to defaults first)

Example 1: Default segment

Points (2, 3) and (6, 11). Δy = 8, Δx = 4, m = 2. Matches Reset.

Example 2: Falling line

Use (0, 5) and (4, 1). Δy = −4, Δx = 4, m = −1. Same magnitude as forty-five-degree fall in unit steps.

Example 3: Vertical line

Use (3, 2) and (3, 9). Δx = 0—slope undefined. Reset before the next demo.

Limitations

Two points only—no full line equation output, no regression across many points, no angle in degrees from slope alone. Not CAD or GIS certification. Floating-point rounding may hide tiny denominators near zero. For curved models use the quadratic formula calculator, not this secant shortcut.

Coordinate plane habits

Label x before y aloud when typing. Reset to (2, 3) and (6, 11) before tutoring blocks so every student sees slope two. Link geometry area questions to the triangle calculator when the worksheet mixes rise-run triangles with polygon area.

Homework integrity

Show subtraction steps on paper; use this page to verify m. Teachers may require exact fractions—reduce on the fraction tool when rise and run are integers.

Slope fluency note 1

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 1: label both points before subtracting coordinates.

Slope fluency note 2

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 2: label both points before subtracting coordinates.

Slope fluency note 3

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 3: label both points before subtracting coordinates.

Slope fluency note 4

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 4: label both points before subtracting coordinates.

Slope fluency note 5

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 5: label both points before subtracting coordinates.

Slope fluency note 6

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 6: label both points before subtracting coordinates.

Slope fluency note 7

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 7: label both points before subtracting coordinates.

Slope fluency note 8

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 8: label both points before subtracting coordinates.

Slope fluency note 9

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 9: label both points before subtracting coordinates.

Slope fluency note 10

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 10: label both points before subtracting coordinates.

Slope fluency note 11

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 11: label both points before subtracting coordinates.

Slope fluency note 12

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 12: label both points before subtracting coordinates.

Slope fluency note 13

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 13: label both points before subtracting coordinates.

Slope fluency note 14

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 14: label both points before subtracting coordinates.

Slope fluency note 15

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 15: label both points before subtracting coordinates.

Slope fluency note 16

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 16: label both points before subtracting coordinates.

Slope fluency note 17

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 17: label both points before subtracting coordinates.

Slope fluency note 18

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 18: label both points before subtracting coordinates.

Slope fluency note 19

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 19: label both points before subtracting coordinates.

Slope fluency note 20

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 20: label both points before subtracting coordinates.

Slope fluency note 21

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 21: label both points before subtracting coordinates.

Slope fluency note 22

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 22: label both points before subtracting coordinates.

Slope fluency note 23

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 23: label both points before subtracting coordinates.

Slope fluency note 24

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 24: label both points before subtracting coordinates.

Slope fluency note 25

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 25: label both points before subtracting coordinates.

Slope fluency note 26

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 26: label both points before subtracting coordinates.

Slope fluency note 27

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 27: label both points before subtracting coordinates.

Slope fluency note 28

Slope is rise over run: Δy divided by Δx. Default points (2, 3) and (6, 11) give Δy = 8, Δx = 4, and m = 2 after Reset. Vertical lines show undefined slope when x coordinates match. Link to the quadratic-formula calculator for curved graphs, the triangle calculator for area, the fraction calculator for rational rise/run, the percent calculator for grade percent, and the scientific calculator for quick arithmetic. Note 28: label both points before subtracting coordinates.

Questions we hear often

Defaults, classroom use, and how this page fits your math stack—summarized below.

Default slope example?

Points (2, 3) and (6, 11) give slope 2 after Reset.

Vertical line?

When x₁ equals x₂, slope is undefined—the tool shows “Undefined”.

Negative slope?

Falling lines have negative Δy/Δx; the sign carries through automatically.

Versus quadratic formula?

Quadratics curve; slope here is constant between two points on a line.

Fraction slope?

Enter decimals or use the fraction calculator to simplify rise over run by hand.

How we calculate: Math tools evaluate the expressions and formulas you enter using standard arithmetic and JavaScript Math functions (trigonometry, roots, powers). Fraction and percent pages reduce to exact rational steps where possible, then show decimals for convenience. We do not substitute for exam proctors, engineering sign-off, or financial rounding rules your employer requires.

Line slope only—curves need calculus beyond this page.

Last updated: 2026-10-06