Online Slope Calculator
Find the slope of a line from two points, or from a point with a slope or angle, plus the angle, distance, and rise and run.
X1
Y1
X2
Y2
X1
Y1
X1
Y1
°
Slope (m)
| Slope (m) | 1.75 |
|---|---|
| Angle (θ) | 1.05165 rad, 60.255119° |
| Distance (d) | 8.062258 |
| Delta x (Δx) | 4 |
| Delta y (Δy) | 7 |
What Is This Tool?
The Slope Calculator finds the steepness of a line. Give it two points, or a point with a slope, or a point with an angle and distance, and it returns the slope, the angle in radians and degrees, the distance, and the change in x and y. For example, the line from (3, 2) to (7, 9) has a slope of 1.75.
How to Use This Tool?
- Choose whether you have two points, a slope, or an angle.
- Enter the coordinates and any other known values.
- Click Calculate.
- Read the slope, angle, distance, and rise and run.
Key Features
- Calculates slope from two points.
- Finds a second point from a point, slope, and distance.
- Works from a point, angle, and distance.
- Reports the angle in both radians and degrees.
- Shows the distance and the change in x and y.
Examples
- From (3, 2) to (7, 9), the slope is 1.75.
- That line has an angle of about 60.26° and a length of about 8.06.
- Its change in x is 4 and change in y is 7.
- A vertical line has an undefined slope, shown as ∞.
Common Use Cases
- Finding the gradient of a line in algebra.
- Measuring the steepness of a ramp or road.
- Locating a second point along a direction.
- Converting between slope and angle.
- Checking coordinate-geometry homework.
Tips & Best Practices
- Enter coordinates in the same order for both points.
- Remember slope is rise over run, or Δy divided by Δx.
- A positive slope rises and a negative slope falls.
- A horizontal line has a slope of zero.
- A vertical line has no defined slope.
Limitations
- The two points must be different.
- Vertical lines have an undefined slope.
- Results are rounded for display.
- It works with straight lines in two dimensions.
Frequently Asked Questions
- What is the slope formula?
- Slope is the change in y divided by the change in x, written m = (y₂ − y₁) ÷ (x₂ − x₁).
- What does slope mean?
- Slope measures how steep a line is and in which direction it tilts. It is often described as rise over run.
- Why is a vertical line's slope undefined?
- A vertical line has no change in x, so the slope formula divides by zero, which is undefined. The tool shows this as ∞.
- How is slope related to angle?
- The slope equals the tangent of the line's angle, so the angle is the inverse tangent of the slope.
Key Terminology
- Slope
- A measure of a line's steepness, equal to rise over run.
- Rise
- The vertical change between two points, or Δy.
- Run
- The horizontal change between two points, or Δx.
- Gradient
- Another name for the slope of a line.
- Angle of inclination
- The angle a line makes with the horizontal axis.