Math Solvers & Matrices

Slope Calculator

Calculate slope, rise, run, line angle and the two-point line equation.

★ 0.0 · 0 ratings
✓ Secure processing
↗ Instant result

Slope Calculator is designed for the exact search intent behind “slope calculator”. Calculate the slope of a line from two points using change in y divided by change in x. Calculate the slope of a line from two points using change in y divided by change in x. Slope formula For points (x₁,y₁) and (x₂,y₂), m = (y₂−y₁)/(x₂−x₁) . Rise over run The numerator is vertical change and the denominator is horizontal change. Positive slope rises left-to-right; negative slope falls. Vertical and horizontal lines A horizontal line has slope 0. A vertical line has x₂−x₁=0, so division by zero makes its slope undefined. Worked example: m = (8−2)/(4−1) = 6/3 = 2. Common practical uses include Check coordinate geometry; Verify graphing work; Calculate line gradients; Teach rise-over-run. Important limitations: Vertical lines have undefined slope. Coordinate units should be compatible. Rounding coordinates can change a computed slope. Key questions this page should answer include: What is the slope formula? m = (y₂−y₁)/(x₂−x₁). What is rise over run? Vertical change divided by horizontal change. What is the slope of a horizontal line? 0. What is the slope of a vertical line? Undefined because the horizontal change is zero. What does a negative slope mean? The line decreases in y as x increases. The page should stay focused on this differentiator: Lead with m=(y2−y1)/(x2−x1), show sign interpretation and correctly handle vertical lines as undefined. The tool should appear before the explanatory copy so a visitor can complete the task immediately, then use the supporting content to verify the method and understand the result. The explanation should keep terminology consistent with the calculator or converter interface, because a mismatch between labels in the tool and labels in the content can create confusion and weaken search-intent alignment. Where the calculation or transformation has edge cases, the page should state them directly instead of implying that every input is valid.

How to use this tool

Slope formula

For points (x₁,y₁) and (x₂,y₂), m = (y₂−y₁)/(x₂−x₁).

Rise over run

The numerator is vertical change and the denominator is horizontal change. Positive slope rises left-to-right; negative slope falls.

Vertical and horizontal lines

A horizontal line has slope 0. A vertical line has x₂−x₁=0, so division by zero makes its slope undefined.

Examples

Points (1,2) and (4,8)

m = (8−2)/(4−1) = 6/3 = 2.

Common use cases

Frequently asked questions

What is the slope formula?

m = (y₂−y₁)/(x₂−x₁).

What is rise over run?

Vertical change divided by horizontal change.

What is the slope of a horizontal line?

0.

What is the slope of a vertical line?

Undefined because the horizontal change is zero.

What does a negative slope mean?

The line decreases in y as x increases.

Related tools

Related guides

Rate this tool