Slope Calculator
Find the slope of a line between two points with this free slope calculator.
- Runs in your browser No upload — everything runs on your device.
- No sign-up, no watermark Free to use, no account needed.
- Files never uploaded Nothing leaves your device.
- 5,400+ tools, one site File, unit and currency tools in one place.
Find the slope of a line between two points with this free slope calculator. Give x1, the first point's x, in the box, and y1, x2, and y2 as options, and it returns the slope and the y-intercept. The slope is the change in y divided by the change in x: between (1, 2) and (4, 8) the slope is 2, and the line crosses the y-axis at 0. A positive slope rises to the right, a negative slope falls, and zero means the line is flat. Two points with the same x make a vertical line, and the tool refuses that case with a clear error, because a vertical line has no defined slope — you cannot divide by zero. The y-intercept is worked out from the unrounded slope, so the line it describes genuinely passes through both points you entered. Use it for graphing, gradients, ramps, roof pitches, or any rate of change between two measurements. Your numbers never leave the page — the maths runs entirely in your browser, free, with nothing to install.
How to use Slope Calculator
- Enter a value type a number into the box above.
- Fill in the options set the units, currencies or values the tool asks for below the box.
- Click Convert the maths runs entirely in your browser — nothing is uploaded.
- Read your result it appears below the tool.
- Convert another change the value or the options — no sign-up, no limits.
Format facts
| Input | A number, plus the options below the box (units, currencies or values). |
|---|---|
| Engine | Built-in browser engine |
| Category | Calculators |
Frequently asked questions
What is the slope between (1, 2) and (4, 8)?
2. The change in y is 6 and the change in x is 3, so 6 divided by 3 is 2. The line crosses the y-axis at 0.
What does a negative slope mean?
That the line falls as it goes to the right. A positive slope rises, a negative slope falls, and a slope of zero means the line is flat.
Why does a vertical line give an error?
Because its slope is undefined. The two points have the same x, so the change in x is zero and dividing by zero has no answer.
What is the y-intercept?
The y value where the line crosses the y-axis. For the line through (1, 2) and (4, 8) it is 0.
Is the slope calculator free?
Yes — free to use, with no account, no sign-up, and no limits on how often you use it.
Was this tool helpful?
Thanks — your feedback helps us improve this tool.
Sorry it didn’t help — tell us what went wrong and we’ll fix it.