Slope Calculator
Slope and intercept details for a line through two points.
Slope Calculator helps you slope and intercept details for a line through two points. Enter x₁, y₁, x₂, and y₂, review the breakdown, and use the guidance below to understand what the number means — and what it does not. When to use Slope Calculator Slope Calculator is for arithmetic, algebra, geometry, and number tools. Slope and intercept details for a line through two points. Find how steep a straight line is from two points on it, plus the line’s equation, its angle and the midpoint. Useful for graphing homework. How Slope is calculated Enter the first point (x₁, y₁) and the second point (x₂, y₂). The slope is the rise divided by the run: slope = (y₂ − y₁) ÷ (x₂ − x₁). The calculator then finds where the line crosses the y-axis, b = y₁ − slope × x₁, and writes the equation y = slope × x + b. It also gives the angle in degrees, the distance between the points and the midpoint; two points with the same x value (a vertical line) have no slope. Slope: m = (y₂ − y₁) ÷ (x₂ − x₁). Rise over run between two points. The line is then y = mx + b, with b = y₁ − m × x₁.