Skip to content
    ∫
    Algebra
    Middle School
    First-Order Linear Polynomial

    Slope Formula

    Calculate the slope between two points

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

    Interactive Sandbox

    Live Reactive

    Adjust values in real-time and observe mathematical cause-and-effect

    x1
    0.120
    y1
    120
    x2
    120
    y2
    124
    Live EquationFormula Proof
    m = (y₂ - y₁)/(x₂ - x₁) = 3
    (0, -1)
    m = 3b = -1
    Calculated Solution
    3

    Constant Rate of Change: Every unit increase in x causes a constant change of m in y.

    Variable Mechanics

    Roles, constraints & impacts

    4 Params
    x1

    X₁ coordinate

    Formula Parameter

    ImpactDirect contribution
    ConstraintReal numbers
    y1

    Y₁ coordinate

    Formula Parameter

    ImpactDirect contribution
    ConstraintReal numbers
    x2

    X₂ coordinate

    Formula Parameter

    ImpactDirect contribution
    ConstraintReal numbers
    y2

    Y₂ coordinate

    Formula Parameter

    ImpactDirect contribution
    ConstraintReal numbers

    At a Glance

    Gotchas, units & real-world use

    Essential

    Formula Nature & Mechanics

    Constant Rate of Change: Every unit increase in x causes a constant change of m in y.

    Common Mistakes & Traps

    • Confusing slope m = Δy/Δx with Δx/Δy (rise over run, not run over rise).
    • Vertical lines have undefined slope (division by Δx = 0).
    • Parallel lines have equal slopes (m₁ = m₂), while perpendicular lines have negative reciprocal slopes (m₁ × m₂ = -1).

    Dimensional Analysis & Units

    [y units] = [y/x units] × [x units] + [y units]

    Real-World & Industry Application

    Cost functions with fixed overhead + per-unit cost, velocity graphs with initial position, and economic supply-demand curves.

    📖 Beginner's guideHow to Find the Slope of a Line (Step-by-Step)Learn how to find the slope of a line using two points, with the rise-over-run formula explained simply, a real example, and a free calculator.

    Worked Example: Slope Formula

    Given:

    • x1 = 1
    • y1 = 2
    • x2 = 3
    • y2 = 8
    1. m = (y₂ - y₁)/(x₂ - x₁)
    2. m = (8 - 2)/(3 - 1)
    3. m = 6/2
    4. m = 3

    Answer: 3

    Frequently Asked Questions

    What is the Slope Formula formula?

    m = (y₂ - y₁)/(x₂ - x₁). Calculate the slope between two points.

    How do I calculate Slope Formula?

    Enter X₁ coordinate (x1), Y₁ coordinate (y1), X₂ coordinate (x2), Y₂ coordinate (y2) into the calculator. It applies m = (y₂ - y₁)/(x₂ - x₁) and shows every step of the working.

    Sponsored ToolsAd

    More tools on Ytools →
    Calcu.click — 25+ Free Smart Calculators preview

    Calcu.click — 25+ Free Smart Calculators

    Brand new calculation platform with 0ms reactive math, 100% client-side privacy, and dedicated subdomains. Fast calculators for EMI, SIP, Mortgage, Income Tax, BMI, Age, Percentage, and more.

    25+ CalculatorsFinanceHealth0ms Real-TimeFree
    Keyboard Arena preview

    Keyboard Arena

    Master touch typing with real-time WPM speed tests, mechanical switch audio, A-Z finger biomechanics drills, 40+ structured lessons, and competitive arcade games.

    Typing TestWPMTouch Typing
    Flutter Log Explorer preview

    Flutter Log Explorer

    Real-time structured log viewer and search explorer for Flutter & Dart. Zero-config capture from Debug Adapter (DAP) & Dart VM Service with smart classification and filters.

    FlutterDartVS Code ExtensionOpen VSX