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.
- Free, no sign-up
- Nothing is sent to a server
- Worldwide
How to use Slope Calculator online
- Type the first point. Enter x1 and y1.
- Type the second point. Enter x2 and y2.
- Read the slope. The slope and the equation of the line appear.
- 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?
What is the slope of a vertical line?
How do I find the y-intercept?
What is the slope of a perpendicular line?
How do I turn the slope into an angle?
Where do the numbers I type in the Slope Calculator go?
Can I share a Slope Calculator result?
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.