Calculate slope, gradient, angle, and equation of a line between two points
Slope (m): 1
Rise: 4
Run: 4
Angle: 45.00°
Gradient: 100.00%
Slope-intercept form: y = 1x - 1
Point-slope form: y - 3 = 1(x - 2)
Standard form: x - y - 1 = 0
Distance between points: 5.66 units
Midpoint: (4, 5)
Slope type: Positive (increasing)
A slope calculator is an essential tool for determining the steepness or incline of a line between two points on a coordinate plane. Understanding slope is fundamental to coordinate geometry, algebra, calculus, and numerous real-world applications including construction, engineering, and physics.
Slope represents the rate of change between two variables, typically expressed as "rise over run." It measures how much the y-coordinate changes for every unit change in the x-coordinate. The slope formula is:
m = (y₂ - y₁) / (x₂ - x₁)
Where m is the slope, and (x₁, y₁) and (x₂, y₂) are two distinct points on the line.
When the slope is positive (m > 0), the line increases from left to right. As x increases, y also increases.
When the slope is negative (m < 0), the line decreases from left to right. As x increases, y decreases.
A horizontal line has zero slope (m = 0). The y-coordinate remains constant regardless of x-coordinate changes.
A vertical line has undefined slope because the denominator (x₂ - x₁) equals zero, making division impossible.
The slope calculator can convert between slope and angle measurements:
Angle (θ) = arctan(slope) Slope = tan(angle)
Gradient is often expressed as a percentage, especially in construction and road design:
Gradient (%) = slope × 100
The most common form for linear equations:
y = mx + b
Where m is slope and b is the y-intercept.
Useful when you know a point and the slope:
y - y₁ = m(x - x₁)
The general linear equation format:
Ax + By + C = 0
Slope calculators are essential for:
In scientific applications, slope represents:
Students use slope calculators for:
Parallel lines have identical slopes. If two lines are parallel:
m₁ = m₂
Perpendicular lines have slopes that are negative reciprocals:
m₁ × m₂ = -1 or m₂ = -1/m₁
Highway signs showing "6% grade" indicate the road rises 6 feet for every 100 feet horizontally.
A roof with a 4:12 pitch rises 4 inches for every 12 inches horizontally, giving a slope of 1/3.
ADA guidelines require ramps to have a maximum slope of 1:12 (8.33%) for accessibility.
Our comprehensive slope calculator provides accurate calculations for all slope-related problems, from basic coordinate geometry to complex engineering applications. Whether you're a student learning algebra, an engineer designing infrastructure, or a professional working with linear relationships, this tool delivers the precision and insight you need for successful slope analysis.