Slope Calculator

When you need to check slope, the Slope gives you a clear starting point. Enter one realistic example first, then compare another option if useful.

Slope (m)
—
Line equation —
Distance between points —
Angle of incline —
✉ Email me this result
</> Embed this calculator

Paste this into any website or blog post. It is free — the small "powered by" link must stay visible.

How it works

m = (y₂ − y₁) ÷ (x₂ − x₁); b = y₁ − m·x₁

How to use the Slope

Enter the requested values and start with one realistic example. Read the result together with its unit or label, then change one input at a time if you want to compare options.

Review the assumptions on the page and confirm any result that affects money, safety, technical work or another important decision.

Frequently Asked Questions

How do I find the slope between two points?
Divide the change in y by the change in x: between (1, 2) and (5, 10), m = (10−2)/(5−1) = 2. A positive slope rises left-to-right; negative falls.
What does an undefined slope mean?
The two points share the same x value, so the line is vertical and the rise-over-run division would divide by zero. Its equation is x = constant.
How is slope related to angle?
The angle of incline is arctan(m): a slope of 1 is 45°, a slope of 2 is about 63.4°. Road grades quote slope as a percentage (m × 100).