Falling line
What do you know?: Two points · x₁: -2 · y₁: 4 · x₂: 3 · y₂: -1
Slope m-1
m = -1; y = -1x + 2.
The slope between (1, 2) and (5, 10) is 2: rise ÷ run = (10 − 2) ÷ (5 − 1) = 8 ÷ 4. The line’s equation is y = 2x, and it rises at 63.435° to the horizontal.
Slope m
2
Understand it
Slope measures how steep a line is: how much y changes for each one-unit change in x. Positive slopes rise left to right, negative slopes fall, zero is flat, and vertical lines have undefined slope.
Enter two points, one point and the slope, or a rise and run to get the slope, the equation in slope-intercept and point-slope form, the angle in degrees, the percent grade used for roads and ramps, plus distance and midpoint — with a graph of the line.
What do you know?: Two points · x₁: -2 · y₁: 4 · x₂: 3 · y₂: -1
Slope m-1
m = -1; y = -1x + 2.
What do you know?: Two points · x₁: 0 · y₁: 0 · x₂: 12 · y₂: 1
Slope m0.083333
Grade 8.33%, angle 4.764° — the ADA maximum.
What do you know?: Two points · x₁: 0 · y₁: 3 · x₂: 7 · y₂: 3
Slope m0
Slope 0: y never changes.
Original analysis
Every chart below is generated from the same tested formula that powers the calculator above, so you can see the patterns behind a single result.
| Grade | Slope | Angle | Example |
|---|---|---|---|
| 1% | 0.01 | 0.57° | Drainage |
| 5% | 0.05 | 2.86° | Accessible path |
| 8.33% | 0.0833 | 4.76° | ADA ramp max (1:12) |
| 10% | 0.1 | 5.71° | Steep road |
| 15% | 0.15 | 8.53° | Very steep street |
| 25% | 0.25 | 14.04° | Stairs-like |
| 50% | 0.5 | 26.57° | Ski slope (expert) |
| 100% | 1 | 45° | 45° line |
A 100% grade is 45°, not 90°. Grades grow much faster than angles: an 8.33% ramp (1:12) is only 4.76°, while a 50% slope is 26.6°. Road signs use percent; geometry uses degrees.
Compute m from the two points, then b = y₁ − m·x₁. The equation is y = mx + b, shown in the result.
Another name for slope: rise is the vertical change (Δy), run is the horizontal change (Δx).
Divide the difference in y by the difference in x: m = (y₂ − y₁)/(x₂ − x₁).
The line goes down from left to right: y decreases as x increases.
Undefined, because the run is zero and you cannot divide by zero.
Take the arctangent: θ = tan⁻¹(m). A slope of 1 is 45°.
Calculators for the next question people usually ask after this one.
byBhuvanesh S. Runs through our automated test suite on every build.
Results are estimates. Double-check anything important before relying on it.