Rise over run · line equation
Slope Calculator
Slope as rise over run (m = Δy/Δx), distance, angle θ, and y = mx + b from two points—or solve for a missing point from slope and distance. Logic trace and coordinate plot. Runs locally.
By Jeff Beem
Updated
Enter coordinates
Enter Point 1 (x₁, y₁) and Point 2 (x₂, y₂); Point 1 + slope + distance to solve for Point 2; Point 2 + slope + distance to solve for Point 1; or Point 1 + angle θ (uses a unit segment for the plot). Toggle °/rad for the angle field.
Reading results in each input mode
There are four ways to define a line: both points; Point 1 + slope + distance; Point 2 + slope + distance; or Point 1 + angle θ. The Results column shows slope, line equation, angle, and distance; Visual plot and Logic trace appear when the inputs resolve.
Worked example: (1, 3) and (4, 9)
Line equation
Angle & distance
Visual plot & Logic trace
Solve-for-point and angle modes
Point 1 + slope + distance
Point 2 + slope + distance
Point 1 + angle θ
Slope Calculator: Find Slope, Distance, Angle & Line Equation
Rise over run from two points, distance, angle θ, and y = mx + b. Solve for a missing point from slope and distance. Logic trace and coordinate plot.
What This Calculator Does
How the Math Works
How to Use This Calculator
- Point 1 & Point 2 (x, y):Enter both for direct slope, distance, angle, and equation.
- Slope (m) & Distance (d):Optional. With Point 1 only → solve Point 2; with Point 2 only → solve Point 1.
- Angle (θ):Optional with Point 1 only. Toggle ° or rad. Sets m = tan(θ).
- Results:Slope & fraction, line equation, angle & distance cards; Copy results.
- Visual plot & Logic trace:Run/Rise triangle and step-by-step substitution when a line is resolved.
Slope-Intercept Form and Vertical Lines
Rise Over Run in Graphing and Grades
Slope Calculator FAQ
What is the slope of a line?
How do you find the slope between two points?
What is slope-intercept form?
How do you find the distance between two points?
Can I solve for a missing point from slope and distance?
How does the angle θ field work?
What if both points are the same?
Mathematical Reference Note
Calculation Logic: This tool uses standard mathematical algorithms. While we strive for accuracy, errors in logic or user input can result in incorrect data.
Verification: Results should be cross-checked if used for important academic, professional, or personal calculations.
Standard Terms: This tool is provided free of charge and as-is. CalcRegistry provides no warranty regarding the accuracy or fitness of these results for your specific needs.