Slope calculator

Enter two points (x₁, y₁) and (x₂, y₂). You get the slope, the equation of the line, the distance between the points, the angle and the midpoint.

Last updated: · By · About & Methodology

Slope calculator

Slope (m)

—

Embed this calculator on your website

Copy this code into your page. It's free — please keep the link to Abacurio.

How is it calculated?

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

d = √((x₂ − x₁)² + (y₂ − y₁)²)

A positive slope rises from left to right; a negative slope falls. A slope of 0 is a horizontal line.

Common questions

What does slope mean?

Rise over run: how much y changes for each step of 1 in x.

How do I get a slope as a percentage (grade)?

Multiply the slope by 100: a slope of 0.08 is an 8% grade.

Choose a language