Slope, Rise Over Run & Linear Equations Guide
Learn the coordinate slope formula m = (y₂ − y₁) ÷ (x₂ − x₁), slope-intercept and point-slope line forms, parallel and perpendicular slopes, and road percent grade vs. inclination angles.
What Slope Measures in Mathematics & Engineering
Whether graphing linear functions in algebra, designing wheelchair access ramps, or rating mountain highway gradients, slope (m) measures steepness and direction—specifically how much vertical change (Δy, or rise) occurs for every single unit of horizontal change (Δx, or run).
Compute line equations, intercepts, distance, and inclination angles instantly in the UnitCompiler Slope Calculator, or visualize any line interactively in our 2D Function Grapher.
Why Zero Slope and Undefined Slope Are Opposite Extremes
A flat horizontal line (y = 5) has Δy = 0, giving slope 0 ÷ Δx = 0 (zero slope). A strictly vertical line (x = 5) has Δx = 0, attempting Δy ÷ 0 (undefined slope, never zero!).
Core Linear Equation & Slope Formulas
Keep point order consistent: if y₂ − y₁ is in the numerator, x₂ − x₁ MUST be in the denominator.
Where m is slope, b is the y-intercept (0, b), and (x₁, y₁) is any known point on the line.
Non-vertical perpendicular lines always have opposite-reciprocal slopes.
Note that a 100% slope (rise = run, m = 1) equals 45°, NOT 90°.
Slope Ratio, Percent Grade & Inclination Angle Reference Table
| Rise : Run Ratio | Decimal Slope (m) | Percent Grade (%) | Angle θ (Degrees) |
|---|---|---|---|
| 1 : 20 | 0.0500 | 5.00% | 2.86° (Accessible walkway) |
| 1 : 12 | 0.0833 | 8.33% | 4.76° (Max ADA ramp) |
| 1 : 10 | 0.1000 | 10.00% | 5.71° (Steep mountain road) |
| 1 : 4 | 0.2500 | 25.00% | 14.04° (3/12 roof pitch) |
| 1 : 2 | 0.5000 | 50.00% | 26.57° (6/12 roof pitch) |
| 1 : 1 | 1.0000 | 100.00% | 45.00° (12/12 pitch) |
Step-by-Step Worked Examples
Example 1: Finding the Line Through (2, 3) and (6, 11)
- Compute the slope
m:m = (11 − 3) ÷ (6 − 2) = 8 ÷ 4 = 2. - Plug point
(2, 3)into point-slope form:y − 3 = 2(x − 2). - Simplify to slope-intercept form:
y = 2x − 4 + 3→y = 2x − 1. - Check the second point
(6, 11):2(6) − 1 = 11✓.
Example 2: Finding a Perpendicular Line Through (4, 5)
Suppose a reference line is y = (2/3)x − 1, so its slope is m₁ = 2/3. What line crosses perpendicular to it at (4, 5)?
- Take the negative reciprocal:
m₂ = −1 ÷ (2/3) = −3/2 = −1.5. - Apply point-slope form:
y − 5 = −1.5(x − 4). - Expand and simplify:
y = −1.5x + 6 + 5→y = −1.5x + 11.
Example 3: Calculating Ramp Length & Angle for an 8% ADA Driveway Slope
Suppose a contractor needs a vertical rise of 0.60 meters at an 8% grade (m = 0.08):
- Horizontal run required:
run = rise ÷ m = 0.60 ÷ 0.08 = 7.50 meters. - True diagonal ramp surface length (via our Pythagorean Theorem Calculator):
√(7.50² + 0.60²) = √(56.25 + 0.36) = √56.61 = 7.524 meters. - Ramp angle above ground:
arctan(0.08) ≈ 4.57°.
Four Common Slope Mistakes in Algebra & Physics
- Reversing Subtract Order Between Top and Bottom: Writing
(y₂ − y₁) ÷ (x₁ − x₂)flips the sign (+mbecomes−m), turning an uphill line downhill. - Putting
ΔxOverΔy(Run Over Rise): Dividing horizontal change by vertical change computes1 ÷ m, not slope! Always put verticalyon top. - Confusing 45° with 50% Grade: Because slope equals
tan(θ), a45°triangle hasrise = run, givingm = 1.00 = 100%grade. A50%grade (m = 0.50) is only26.57°. - Assuming Roof Pitch Equals Percent Grade: US roofers express pitch over 12 inches of run (
4/12pitch =4 ÷ 12 = 33.33%grade,18.43°).
Physics Connection: Velocity & Tangent Slopes
In physics, the slope of a Position–Time graph equals velocity (Δx ÷ Δt), and the slope of a Velocity–Time graph equals acceleration (Δv ÷ Δt). Review derivative tangent slopes anytime in our Mathematics & Calculus Formulas Library.
Frequently Asked Questions
What happens when a slope calculation divides by zero (x₁ = x₂)?
The line is completely vertical (x = x₁), running parallel to the y-axis. Its slope is undefined (often informally described as infinite steepness), so it cannot be written in y = mx + b form.
How do I quickly find the x-intercept and y-intercept from Ax + By = C?
Set x = 0 to solve the y-intercept (0, C ÷ B), and set y = 0 to solve the x-intercept (C ÷ A, 0). You can also inspect unit conversions and graph points directly on our Graph Maker and verify math precision on Accuracy & Methodology.