All calculators

Calculator · math

Slope Calculator

Slope, y-intercept and distance between two points.

Your numbers

The result

Slope

3

y-intercept

-1

Distance between points

9.49

Runs in your browser · Nothing you type is stored

Embed this on your site

Free to embed. The attribution link stays with the widget, and the calculator keeps working exactly as it does here.

<iframe src="https://thedigitalstash.net/embed/slope-calculator" title="The Digital Stash calculator" width="100%" height="720" style="border:0;max-width:100%" loading="lazy"></iframe>

What this calculator works out

Slope, y-intercept and distance between two points.

How the maths works

A vertical line has no defined slope, so the slope reads zero when both x values match.

Worked example

With the default figures, the calculator returns:

  • Slope: 3
  • y-intercept: -1
  • Distance between points: 9.49 Change one input at a time to see which lever actually moves the result. That is usually more useful than changing everything at once.

When it is worth using

A vertical line has no defined slope, so the result reads zero when both x values match.

Assumptions you should check

Every figure here follows the assumptions above. Rates, fees and prices are yours to enter rather than hard-coded, because regional and personal differences are larger than any average. If your situation differs from the defaults, enter your own numbers instead of trusting the example.

Free, private and no sign-up

This calculator runs entirely in your browser. Nothing you type is sent to a server, stored or shared, and there is no account to create. Bookmark the page and it will still be here when you need it.

More tools like this