Slope, Intercept & Line Calculator
Determine line equations (y = mx + b), distance, midpoint, and perpendicular slopes from 2 points or point-slope parameters.
Point 1 (x₁, y₁)
Point 2 (x₂, y₂)
Understanding Slope-Intercept Form
The slope-intercept equation y = mx + b is the most widely utilized representation of straight lines in algebra and calculus. The coefficient m specifies the slope or rate of vertical change per unit horizontal shift (rise over run), while b identifies the initial value or y-intercept where the line intersects the vertical Cartesian axis at coordinate (0, b).
Frequently Asked Questions
What does a slope of zero mean?
A slope of zero indicates a perfectly horizontal line (parallel to the x-axis) with equation y = b. Y never changes as X varies.
What happens when a slope is undefined?
When two points share the exact same x-coordinate (x1 = x2), dividing by zero creates an undefined slope. This represents a perfectly vertical line with equation x = constant.
How do you find the angle of inclination of a line?
The angle of inclination θ that a line makes with the positive horizontal x-axis is calculated via θ = arctan(m). For instance, a slope of 1 has an inclination angle of 45°.