Slope Calculator - calculatorsee.com


Slope Calculator

Calculate the slope (m), y-intercept (b), angle of inclination, and distance between two coordinate points (x₁, y₁) and (x₂, y₂).

Calculator Inputs

First X point.
First Y point.
Second X point.
Second Y point.

Calculated Results

Line Slope (m)
m = 1.50 (Rise / Run: 3/2)
Line Equation y = 1.50x - 1.00
Y-Intercept (b) -1.00 (0, -1)
Angle of Inclination (θ) 56.31°
Values calculate live as you adjust inputs.

About Slope Calculator

Slope measures the steepness and direction of a straight line on a Cartesian coordinate plane, defined as vertical change (rise) divided by horizontal change (run).

What is Slope Calculator?

Slope measures the steepness and direction of a straight line on a Cartesian coordinate plane, defined as vertical change (rise) divided by horizontal change (run).

How to Use This Calculator

  1. Enter coordinate pair for Point 1 (x₁, y₁).
  2. Enter coordinate pair for Point 2 (xâ‚‚, yâ‚‚).
  3. Review line slope, slope-intercept formula (y = mx + b), and distance.

The Mathematical Formula & Variables

Slope m = (y2 - y1) / (x2 - x1); Intercept b = y1 - m*x1

Variables Definition

Symbol / Variable Name Description
m Gradient / Slope Rate of vertical change per unit horizontal change.

Step-by-Step Worked Example

Scenario: Points (2, 2) and (6, 8).

  1. Rise = y2 - y1 = 8 - 2 = 6.
  2. Run = x2 - x1 = 6 - 2 = 4.
  3. Slope m = 6 / 4 = 1.50.
  4. Intercept b = 2 - (1.5 * 2) = -1.0.

Result: m = 1.5 | y = 1.5x - 1

Frequently Asked Questions

What is the slope of a vertical line?

A vertical line has an undefined slope because x₂ - x₁ = 0, causing division by zero. A horizontal line has a slope of exactly 0.