Slope Calculator

Calculate the slope of a line from two points.

m = (y₂ - y₁) / (x₂ - x₁)

About this Tool

The Slope Calculator determines the slope or gradient of a line connecting two points in a 2D Cartesian coordinate system. The slope represents the steepness of the line, often described as 'rise over run.' The calculator also provides the equation of the line in slope-intercept form (y = mx + b).

Common Use Cases

Algebra and Geometry

Quickly solve for the slope in math homework and understand the relationship between points on a line.

Physics

Calculate rates of change, such as velocity from a position-time graph.

Engineering and Construction

Determine the grade or incline of a road, ramp, or piece of land.

Pro Tips

  • !

    Positive vs. Negative Slope

    A positive slope means the line goes up from left to right. A negative slope means it goes down.

  • !

    Zero Slope

    A slope of zero indicates a perfectly horizontal line.

  • !

    Undefined Slope

    An 'undefined' slope indicates a perfectly vertical line, as the 'run' (change in x) is zero.

Frequently Asked Questions