Slope & Line Calculator
Enter two Cartesian coordinate points (x₁, y₁) and (x₂, y₂) to instantly calculate the slope, line equation, angle, and distance between them.
Slope & Line Calculator
1 Point 1
2 Point 2
Enter two points to calculate the slope, line equation, and distance.
Understanding Slope and Linear Geometry
The slope of a line, often represented by the letter m, dictates the steepness and direction of a line crossing a two-dimensional Cartesian plane. Connecting any two coordinate points allows us to define an infinitely long straight line characterized by this slope.
The "Rise over Run" Formula
The classic mathematical formula for determining slope simply measures the vertical change compared to the horizontal change between two points: m = (y₂ - y₁) / (x₂ - x₁).
- Positive Slope: The line moves upwards from left to right (e.g., business growth).
- Negative Slope: The line moves downwards from left to right.
- Zero Slope: The line is perfectly horizontal and flat. The "Rise" is 0.
- Undefined Slope: The line is perfectly vertical. The "Run" is 0, creating a divide-by-zero math error. Vertical lines cannot be represented in standard
y = mx + bformat.
Slope-Intercept Form (y = mx + b)
Beyond simply returning a number, the Calculay Slope Calculator instantly constructs the equation of the line generated by your two points into Slope-Intercept Form.
In y = mx + b, m is your newly calculated slope and b is the exact point on the y-axis where your line intersects it (the "y-intercept"). This format allows you to plug in any arbitrary X coordinate to easily find the corresponding Y height.