Geometry & Shapes
Slope Calculator
Slope: it computes slope as rise over run, m = (y₂−y₁) ÷ (x₂−x₁), with the line's angle from its arctangent. Worked through below with real figures, and the calculator repeats the working on your own inputs — free, on-device, instant.
Enter your x₁, y₁, x₂ and y₂ and Slope Calculator works out the slope and the line's angle with rise over run, (y₂−y₁) ÷ (x₂−x₁) — fast, free and private, with no sign-up or uploads.
About this calculator
It computes slope as rise over run, m = (y₂−y₁) ÷ (x₂−x₁), with the line's angle from its arctangent. It matters whenever a shape has to be measured, cut, covered or compared and the geometry has to be right first. Worked below as For the two points (2, 3) and (6, 11), slope is the change in y over the change in x: (11 − 3) ÷ (6 − 2) = 8 ÷ 4 = 2 . A positive slope of 2 means the line rises two units for every one unit it moves right. — and the calculator on this page repeats exactly that working for your inputs, instantly, and offline after load.
How to use
- Enter the first point's coordinates.
- Enter the second point's coordinates.
- Press Calculate to find the slope.
- Read the slope, the line equation, and the angle of the line.
Why use Slope Calculator
Fast
Calculations run in your browser. No round trip to a server.
Private
Your inputs never leave your device. Nothing is uploaded.
Free
No signup, no paywall, no ads-in-results, no watermarks.
Accurate
Uses standard formulas where applicable; check critical results before relying on them.
Mobile-ready
Optimised for phones, tablets, and desktops alike.
Transparent
Honest disclaimers wherever browser limits or regional rules apply.
Common uses
Slope in coordinate-geometry homework
Use it when sizing a drainage fall
Use it for a quick gradient check
Use it for a road or path gradient
Use it for the gradient of a line
Use it for everyday slope maths
Technical notes
Slope Calculator computes slope as rise over run, m = (y₂−y₁) ÷ (x₂−x₁), with the line's angle from its arctangent.
Points are taken exactly as entered on a flat plane; rounding affects only the displayed decimals.
Because it runs locally, results appear instantly with no server round-trip.
Worked example
For the two points (2, 3) and (6, 11), slope is the change in y over the change in x: (11 − 3) ÷ (6 − 2) = 8 ÷ 4 = 2. A positive slope of 2 means the line rises two units for every one unit it moves right.
FAQ
What happens for a vertical line?
If both points have the same x-value, the slope is not defined because the change in x is zero.
How is slope calculated?
Slope is the change in y divided by the change in x between the two points, often called rise over run.
What does a negative slope mean?
A negative slope means the line falls from left to right; a positive slope means it rises.
Does the Slope Calculator send my data to a server?
No. The Slope Calculator runs entirely in your browser, so nothing you enter is uploaded, stored, or shared.