calcy treasure chest of featuresLove the calculators but not the ads?

Take a sneak peek at the Ad-Free Design being enjoyed by hundreds of members for less than 25¢ a week. Full details and a bonus!

Slope Calculator to Find Slope and Y-Intercept of a Straight Line

Calculator Preferences
Slope Calculator Sign
Slope Calculator

This calculator will find the slope, y-intercept, and angle of a straight line from two entered points. Plus, the calculator will also find the distance between the two points, and formulate the line equation from the points and slope. The calculator will also attempt to plot the two points on a graph and draw the line that runs through them. The Learn tab includes:

  • How to calculate slope from two points.
  • How to formulate a line's equation.
Learn More

Selected Data Record:

A Data Record is a set of calculator entries that are stored in your web browser's Local Storage. If a Data Record is currently selected in the "Data" tab, this line will list the name you gave to that data record. If no data record is selected, or you have no entries stored for this calculator, the line will display "None".

DataData recordData recordSelected data record: None
Point 1:Point 1 (X1,Y1):Point 1 (X1,Y1):Point 1 (X1,Y1):
X1:
-
/
X1 decimal:
Y1:
-
/
Y1 decimal:

Point 1 (X1,Y1):

Enter the X and Y values of the first point. The values can be in the form of a decimal or a whole number.

If you need to convert mixed numbers and fractions to decimals, expand the description to reveal a mini fraction-to-decimal calculator. Enter the whole number (if none, leave blank), the numerator, and the denominator and calculator will make the conversion and enter the decimal into the corresponding calculator field.

Point 2:Point 2 (X2,Y2):Point 2 (X2,Y2):Point 2 (X2,Y2):
X2:
-
/
X2 decimal:
Y2:
-
/
Y2 decimal:

Point 2 (X2,Y2):

Enter the X and Y values of the second point. The values can be in the form of a decimal or a whole number.

If you need to convert mixed numbers and fractions to decimals, expand the description to reveal a mini fraction-to-decimal calculator. Enter the whole number (if none, leave blank), the numerator, and the denominator and calculator will make the conversion and enter the decimal into the corresponding calculator field.

Δ X:Change in X:Change in X (X2 - X1):Change in X (X2 - X1):

Change in X (Δ X):

This is the difference or change between X2 and X1 and is often referred to as the run. If X2 is to the left of X1, the run will be a negative number. If X2 is to the right of X1, the run will be a positive number.

Δ Y:Change in Y:Change in Y (Y2 - Y1):Change in Y (Y2 - Y1):

Change in Y (Δ Y):

This is the difference or change between Y2 and Y1 and is often referred to as the rise. If Y2 is below Y1, the rise will be a negative number. If Y2 is above Y1, the rise will be a positive number.

Slope m:Slope m:Slope m:Slope m:

Slope m:

This is the rise (Δ Y) divided by the run (Δ X). If the slope is positive, it means the line is going up from left to right. If the slope is negative it means the line is going down from right to left. The higher the absolute value of the slope, the steeper the line.

Angle θ:Angle θ:Angle θ:Angle θ:

Angle θ:

This is the angle the line forms with the X axis, which is based on the arc tangent of the slope.

Distance d:Distance d:Distance dDistance d:

Distance d:

This is the distance between the entered points. For a vertical line the distance is the absolute value of the change in Y. For a horizontal line the distance is the absolute value of the change in X. For all other lines, distance is calculated using the distance formula (pythagorean theorem to calculate the length of side of a triangle, a.k.a, the hypotenuse).

Y-intercept b:Y-intercept b:Y-intercept b:Y-intercept b:

Y-intercept b:

This is the point at which the line crosses the Y axis, which is calculated by multiplying the slope by the result of -1 x X1.

Equation:Line equation:Equation y = mx - b:Equation y = mx - b:

Equation y = mx - b:

This is the calculated equation of the straight line that passes through the entered points. m stands for slope and b stands for Y-intercept.

If you would like to save the current entries to the secure database, tap or click on the Data tab, select "New Data Record", give the data record a name, then tap or click the Save button. To save changes to previously saved entries, simply tap the Save button. Please select and "Clear" any data records you no longer need.

Feedback AppreciatedFeedback Greatly AppreciatedYour Feedback Would Be Greatly AppreciatedYour Feedback Is Greatly Appreciated
Heading

Tip

About

About the Slope Calculator

This calculator will find the slope, y-intercept, and angle of a straight line when two points on the line are known.

Plus, the calculator also finds the distance between the two entered points, formulates the equation of the line, and even shows its work as to how it arrived at the slope and the line equation.

Finally, the calculator will attempt to graph the straight line formed by the two points (may not work for large coordinates or in older web browsers).

Discover the benefits of subscribing to the Ad-Free Member Version of my website.
Learn how I went from being trapped in a work I hated to being free to work at what I love.

Instructions

How to use the Slope Calculator

Step #1:

Enter the X and Y coordinates of the point on the line you would like to represent point #1.

Step #2:

Enter the X and Y coordinates of the point on the line you would like to represent point #2.

Step #3:

Tap the "Calculate Slope" button and scroll down to view the results.

Saving Entries:

If your web browser supports Local Storage, you can save your entries to your web browser so won't have to start over on your next visit. Please note that your saved entries can only be retrieved from the same device and web browser you were using when you stored them. If you would like to access your saved entries from any device I invite you to subscribe to the Ad-Free Member Version.

To save your entries to your web browser, click or tap the Data tab in the Help and Tools section (mobile: top right of the main screen), select "New Data Record" from the drop-down menu, enter a name for the data record, and then tap or click the Save button.

To load previously saved entries, click or tap the Data tab and select the saved data record from the drop-down menu. You can then save any changes to your entries by simply clicking the Save button while the data record is selected.

To clear a named set of saved entries, click or tap the Data tab, select the saved data record from the drop-down menu, and then tap or click the Clear button.

Numbers and Decimals:

Only numeric characters (0-9 and decimal points) may be entered in numeric fields. Non-numeric characters (dollar signs, percent signs, commas, etc.) may cause calculation errors. If the field includes a grid icon, tapping the icon will open a popup keypad which will include only the characters allowed in the field. If your device keypad does not include a decimal point, use this popup keypad to enter decimal numbers where applicable.

Popup Tool Tips:

Tap the info (i) icons for a further explanation of each entry field (you can click [X] or outside of the pop-up tool tips to close them). A summary of these explanations, along with any additional term explanations, can also be found under the Terms tab.

Disclaimer:

Since I can't test for every possible combination of numbers, please be sure to double-check the results of this calculator yourself before considering them to be valid. If you do discover an issue with the calculated results, please report the issue using the feedback form located below the calculator.

Scrolling & Shrinking:

In order to scroll the calculator vertically you will need to swipe just outside of the calculator's dark-blue border, or use the window's far right-hand scroll bar, whichever is applicable to your device.

If the top section of the calculator becomes to tall for your viewport, tapping in the "Enter a problem..." field should reset the top section to its original height.

Disclaimer:

The Algebra Calculator is the only calculator on the site that I did not create myself. And since I did not create it, I don't have access to the code for fixing any issues you may be experiencing. So if you are having issues with the calculator, please visit the support page at Mathway.com for assistance.

Glossary

Fields, Terms, and Definitions.

Reset button:

Clicking the "Reset" button will restore the calculator to its default settings.

Pocket Calculator

Calculate any amounts needed to enter into calculator.

 

Data Management

Save and retrieve entries and notes (requires HTML5 compliant web browser).

Calculator Data

Calculator Data:

If you are using the latest version of your web browser software, this feature will allow you to save your calculator entries to your web browser's local storage in between visits. This means the calculator entries can only be recalled with the same device and web browser you were using when you saved them. If you'd like to save data between devices you will need to subscribe to the Ad-Free Member Version.

Save: To save a new set of calculator entries, select "New Data Record" from the dropdown list, enter a nickname for the data record, then click the "Save" button.

Load: To load a previously saved set of calculator entries, simply select the name of the data record from the dropdown list.

Save Changes: To save changes to a set of previously saved calculator entries, be sure the name of the data record is selected, and then click the "Save" button.

Clear: To clear a saved set of entries, be sure the name of the data record is selected, and then click the "Clear" button.

Backup Data
My Notes:
Subscribe to the Cloud level of the Ad-Free Member Version to save your entries and notes to a secure online database, allowing you to access your saved entries from any device or web browser.

Sorry! The Save functions are bonus features reserved for those who allow ads to display on the page.

If you would like to use the Save features, please disable ad blocking for this website and refresh the page. Or you can choose to subscribe to the Ad-Free Member Version of the site.

Help and Tools

Help and Tools:

This section, which you can Unstick or Hide in the Calculator Preferences (just above the top of the calculator), contains the following tabs (content too long to fit within bordered frame can be scrolled up and down):

About: Click this tab for an introduction to the calculator.

Instructions: Click this tab for step-by-step instructions for using the calculator.

Terms: Click this tab for a list of the descriptions that are located within each popup help button (info icons).

PCalc: Click this tab for a handy "pocket" calculator you can use when you need to calculate an entry needed for the calculator.

Data: Click this tab to save a set of entries or a note in between visits. Entries and notes will be stored to your web browser's local storage (if supported by your browser of choice), meaning they can only be recalled with the same device and web browser you were using when you saved them. If you'd like to save entries and notes between devices you can do so by subscribing to the Ad-Free Member Version.

 

Favorites

Add or remove this page to/from my favorites.