Slope Calculator
Find the slope, angle, distance and equation of the line through two points, or the second point from one point, the slope or angle and a distance.
Change the values and press Calculate to work out your own figures.
Slope from two points
Enter two points.
Show the working
- Δx = 1, Δy = 2
- m = Δy ÷ Δx = 2
Second point from a point, slope or angle, and distance
Enter a point, the distance, and either the slope or the angle.
Show the working
- x₂ = x₁ ± d cos θ, y₂ = y₁ ± d sin θ, with θ = arctan m
How to use it
Enter two points. Enter a point, the distance, and either the slope or the angle.
Enter coordinates as whole numbers, decimals or fractions (3/4). Show the working gives the formula with your numbers.
Key facts
m = (y₂ − y₁) ÷ (x₂ − x₁); θ = arctan m
Slope and angle
A slope of 1 is 45°; a slope of 2 is about 63.43°. Vertical lines have no slope.
Questions
What is the slope through (1, 3) and (2, 5)?
2.
Through (3, 4) and (7, 5)?
1/4.
Formulas
m = (y₂ − y₁) ÷ (x₂ − x₁); θ = arctan m
Sources
Limitations
- Vectors have two or three components (leave z blank for 2-D).
- Earth distances assume the WGS 84 ellipsoid (sea level).