How to Use This Calculator
1
Enter Point 1
Provide the x and y coordinates of the first point (x₁, y₁).
2
Enter Point 2
Provide the x and y coordinates of the second point (x₂, y₂).
3
View Slope and Equation
The calculator displays the slope, y-intercept, and the equation of the line in slope-intercept form.
Key Terms
- Slope (m)
- A measure of a line's steepness; the ratio of vertical change to horizontal change.
- Y-Intercept (b)
- The y-coordinate where the line crosses the y-axis (x = 0).
- Rise
- The vertical change between two points on a line (Δy).
- Run
- The horizontal change between two points on a line (Δx).
- Undefined Slope
- A vertical line has an undefined slope because the run (Δx) is zero, causing division by zero.
Real-World Examples
Example 1
Road Grade
(0, 0) and (100, 6)
m = 0.06 or 6% grade — a moderately steep road incline
Example 2
Linear Cost Function
(10, 250) and (50, 850)
m = 15 — each additional unit costs $15, with a fixed cost of $100 (y = 15x + 100)
Slope Interpretation Reference
| Slope Value | Direction | Steepness | Example |
| m > 0 | Upward left to right | Steeper as m grows | Positive correlation |
| m = 0 | Horizontal | Flat | Constant function |
| m < 0 | Downward left to right | Steeper as |m| grows | Depreciation |
| m = 1 | 45° angle | Moderate | y = x identity |
| Undefined | Vertical | Infinite | x = constant |
Slope: The Foundation of Linear Relationships
Slope in Algebra and Calculus
In algebra, slope defines the rate of change of a linear function. In calculus, the concept extends to curves through the derivative, which gives the instantaneous slope at any point. Understanding slope as a rate of change—dollars per unit, meters per second, degrees per hour—is fundamental to modeling relationships in science, economics, and engineering.
Parallel and Perpendicular Lines
Two lines are parallel if and only if they have the same slope. Two lines are perpendicular if the product of their slopes equals −1 (each slope is the negative reciprocal of the other). These properties are used extensively in coordinate geometry proofs and in CAD software for architectural and mechanical design.