Slope Calculator
How steep is the line passing through these two points? Enter the values below to calculate the result.
Result for the values shown.
Calculations run in your browser.
What to enter
| Input | Meaning and units |
|---|---|
| First x coordinate (length) | Enter first x coordinate in length; use the same basis as the other measurements. |
| First y coordinate (length) | Enter first y coordinate in length; use the same basis as the other measurements. |
| Second x coordinate (length) | Enter second x coordinate in length; use the same basis as the other measurements. |
| Second y coordinate (length) | Enter second y coordinate in length; use the same basis as the other measurements. |
Understanding your result
Read slope in the units and model stated on this page. The formula slope=(y2-y1)/(x2-x1) defines the relationship; measurement accuracy and model applicability are separate from numerical precision.
Common mistakes
- Mixing input units or changing the physical meaning of a variable without changing the model.
Check your calculation
- Use the worked example as a known reference case, then change one input at a time and check the direction and units of the response.
Calculation checks, sources and review limits
How steep is the line passing through these two points?
How steep is the line passing through these two points? Enter the values below to calculate the result.
Common uses
- How steep is the line passing through these two points
How it works
slope=(y2-y1)/(x2-x1)
Worked example
Enter First x coordinate: 0 length; First y coordinate: 0 length; Second x coordinate: 3 length; Second y coordinate: 4 length. Results: slope: 1.3333333333333333 .