Math
STEP-BY-STEP SOLVER

Slope Calculator

Find slope from two points, simplify it to an exact fraction, see the line equation, and view a coordinate graph.

Enter your problem

Enter ordinary decimals with up to 6 decimal places; no exponent notation.

Your entries are calculated in this browser and are not saved or sent to AblePro.

SLOPE—

Step-by-step work

    How it works

    Slope measures rise divided by run: m = (y₂ − y₁) ÷ (x₂ − x₁). A horizontal line has slope 0. A vertical line has undefined slope because its change in x is zero. Identical points do not define a unique line. Coordinates accept up to six decimal places and absolute values up to 1,000,000,000; calculations use exact fractions.

    Example: (1, 2) and (5, 10)

    Rise = 10 − 2 = 8 and run = 5 − 1 = 4, so m = 8/4 = 2. The y-intercept is b = 2 − 2 × 1 = 0, giving y = 2x. The graph uses equal scales on both axes; decimal graph labels are approximate.