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. What the Slope calculator does Slope Calculator is built for arithmetic, algebra, geometry, and number tools. Slope and intercept details for a line through two points. You enter x₁, y₁, x₂, and y₂, then Simple Calculators computes the result instantly. Results use standard school and engineering formulas that run privately in your browser. How the math works 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. The formula: m = (y₂ − y₁) ÷ (x₂ − x₁). Rise over run between two points. The line is then y = mx + b, with b = y₁ − m × x₁.