How to Find Slope
How to use this calculator
- Choose the information given in your problem.
- Enter integers, decimals, or fractions such as
1/3. - Select decimal precision and calculate.
- Read the exact result first, then follow the substituted steps and graph.
The slope formula
For P₁(x₁, y₁) and P₂(x₂, y₂), rise is Δy = y₂ − y₁ and run is Δx = x₂ − x₁.
This is “rise over run.” Keep the subtraction order the same in the numerator and denominator.
Four slope types
m > 0; the line rises from left to right.m < 0; the line falls from left to right.m = 0; the line is horizontal, y = constant.Δx = 0; the line is vertical, x = constant. Two identical points are different: they define no unique line.Finding slope from an equation
Solve the equation for y and read the coefficient of x. From Ax + By = C, subtract Ax and divide by B: y = (−A/B)x + C/B, so m = −A/B. If B = 0, the equation is vertical.
Angle, percent grade, parallel and perpendicular lines
This calculator reports the signed direction angle θ = arctan(m) in the range −90° to 90°; it does not call a negative result an inclination. Percent grade is 100m%. Distinct nonvertical parallel lines have the same slope. For nonzero m, a perpendicular line has the negative reciprocal −1/m. Horizontal and vertical lines are perpendicular to each other.
Common mistakes
- Reversing the subtraction order in only one part of the fraction.
- Calling duplicate points a vertical line instead of recognizing that no unique line is defined.
- Rounding before the final step instead of keeping an exact fraction.
- Writing decimal standard-form coefficients when all coefficients can be scaled to relatively prime integers.
- Confusing the signed direction angle used here with inclination, which is commonly measured from 0° to 180°.
