斜率计算器

    计算两点之间的斜率

    公式

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

    Rise over run between two points.

    示例

    (1,2) to (4,8)

    Slope = 2, y = 2x + 0

    常见问题

    关于 斜率计算器

    Calculate the slope and equation of a line through two points. The slope formula m = (y₂ - y₁) / (x₂ - x₁) gives the rate of change or steepness of a line. A positive slope rises left to right, negative slope falls, zero slope is horizontal, and undefined slope is vertical. The slope-intercept form y = mx + b is widely used in algebra, physics, economics, and data analysis. In real-world applications, slope represents rates like speed (distance/time), cost per unit, or temperature change over time. Understanding slope is fundamental to calculus, where instantaneous slope (the derivative) describes how functions change at any point. Parallel lines have equal slopes, while perpendicular lines have slopes that are negative reciprocals of each other.