How do I use the Slope Calculator?
Enter your values in the fields and the result updates instantly as you type.
Calculate the slope between two points. Enter your values, review the formula, and use the worked result as a quick check for everyday planning.
Calculate the slope between two points.
Any numeric value
Any numeric value
Any numeric value (not equal to x₁)
Any numeric value
Results
Slope (m)
1.5
Angle
56.309932 °
Formula: Slope = (y₂-y₁) / (x₂-x₁)
Calculate the slope (gradient) of the line passing through two points, plus the angle of inclination in degrees. The slope represents the rate of change: how much y changes per unit change in x.
Slope m = (y₂ − y₁) ÷ (x₂ − x₁). If x₂ = x₁, the slope is undefined (vertical line). The angle = arctan(m) × 180/π degrees.
Points (1, 2) and (5, 8): rise = 6, run = 4, slope = 1.5. Angle = arctan(1.5) = 56.3°. A line with slope 1 makes a 45° angle.
Slope > 0: line goes upward left to right. Slope < 0: line goes downward. Slope = 0: horizontal line. Slope = 1: 45° angle. Slope undefined: vertical line.
Roof pitch, road grade, wheelchair ramp specifications, drainage slope, and statistical trend lines all use slope. A 6% road grade means a slope of 0.06 (rise of 6 m per 100 m horizontal).
Enter your values in the fields and the result updates instantly as you type.
Slope = (y₂-y₁) / (x₂-x₁)
Yes. Decimal inputs are supported for most calculators. Integer-based tools use rounded integer values where appropriate.
Yes. CalcuNimble calculators are free and optimized for fast everyday use.