Menu
PDF Tools
Image Tools
Converters & Utilities
Seller & Print Tools
Accounting & Business
Calculators
Text & Writing Tools
Developer & Web Tools
Creator & Social Tools
Browser Utilities & Games
Document & Design Makers
Text & Developer Tools
Exam & Form Tools

Slope Calculator

This calculator finds the slope of the line through two points. It also gives the equation of the line, the angle with the x-axis, the distance between the points and the midpoint.

How to use Slope Calculator online

  1. Type the first point. Enter x1 and y1.
  2. Type the second point. Enter x2 and y2.
  3. Read the slope. The slope and the equation of the line appear.
  4. See the extras. The angle, distance, midpoint and perpendicular slope are listed.

Why use this free Slope Calculator

  • Slope and line equation
  • Angle in degrees
  • Distance and midpoint
  • Perpendicular slope
  • Vertical lines handled
  • Share by link

Slope

The slope, or gradient, of a line says how steeply it rises or falls. It is the rise divided by the run: the change in y divided by the change in x between two points. A positive slope rises to the right, a negative slope falls and a slope of 0 is flat.

The line equation

Once you have the slope m, the line is y = m x + b, where b is the y-intercept, the value of y when x is 0. The page finds b from one of your points. A vertical line has no slope, because the run is 0, and is written x = a number.

A worked example

For the points (1, 2) and (3, 6) the slope is 2, so the line is y = 2x + 0. It makes an angle of about 63.43 degrees with the x-axis. The two points are 4.4721 apart and the midpoint is (2, 4).

Perpendicular lines

A line at right angles to this one has the slope −1 ÷ m. The page shows it, which helps with constructing normals and with geometry problems about perpendicular lines.

Same point twice

If the two points are the same, no single line is defined, and the page says so. Check that you typed two different points.

Using the calculator

Change any box of the Slope Calculator and the answers move straight away. Copy the result, download a PDF or a CSV, or send the page link.

Slope Calculator: frequently asked questions

How do I find the slope between two points?
Divide the change in y by the change in x.
What is the slope of a vertical line?
It is undefined, because the run is 0.
How do I find the y-intercept?
Use b = y − m x with one of the points. The page does it.
What is the slope of a perpendicular line?
Minus one divided by the slope.
How do I turn the slope into an angle?
Take the arctangent of the slope. The page shows it in degrees.
Where do the numbers I type in the Slope Calculator go?
They are not sent anywhere; the Slope Calculator works from the numbers in your browser tab.
Can I share a Slope Calculator result?
Use Copy link to send the same Slope Calculator numbers, or download the result as a PDF or a CSV file.

Related searches for Slope Calculator

  • Slope Calculator online
  • free Slope Calculator
  • Slope Calculator online free
  • Slope Calculator for mobile
  • Slope Calculator without sign up
  • slope formula
  • slope calculator with table
  • Slope Calculator – Math, Stats & Charts

Slope Calculator is a free online tool on MAITBOX, in the Math, Stats & Charts group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.

More tools in Math, Stats & Charts →

Search tools