"Rise over run" is how slope is taught in U.S. algebra classes — and it's correct, but it doesn't tell you why slope matters. Slope is the rate of change of one quantity with respect to another, and it shows up in nearly every chart, physical measurement, and economic indicator you'll encounter outside class.
The basic idea
Given two points (x₁, y₁) and (x₂, y₂), the slope is:
m = (y₂ − y₁) / (x₂ − x₁) = Δy / Δx
Slope tells you: when x changes by 1 unit, how much does y change?
- Slope of 2: every unit right, y goes up 2.
- Slope of −0.5: every unit right, y goes down 0.5.
- Slope of 0: y doesn't change at all (horizontal line).
Slope as physical steepness
Most directly, slope describes how steep a line is in a coordinate plane. But it also describes physical steepness:
- Roof pitch: a "5/12 pitch" means rise 5 inches per 12 inches of horizontal run — a slope of 5/12 ≈ 0.417, or about 23°.
- Road grade: highway warning signs say "6% grade" — that's a slope of 0.06 (6 feet of rise per 100 feet of horizontal). The maximum allowable grade on U.S. interstates is around 6%.
- Wheelchair ramps: ADA Section 504 requires a maximum slope of 1:12 (rise:run), meaning slope ≤ 0.083 (or about 4.8°). Steeper is non-compliant.
- Mountain trails: a 1,000-foot gain over a 2-mile horizontal distance is a slope of 1000/10560 ≈ 0.095, or about 5.4°. Sustainably hikable.
Slope as rate of change in time
Whenever you plot something against time, the slope is a rate.
- Speed: on a distance-vs-time graph, slope = miles per hour. A driver going 60 mph for 2 hours covers 120 miles — that's a slope of 60.
- Acceleration: on a velocity-vs-time graph, slope = acceleration. Going from 0 to 60 mph in 6 seconds is an acceleration of 10 mph per second.
- Spending rate: on a balance-vs-day graph, slope = how fast you're spending. A negative slope means you're losing money over time.
- Heart rate response: on a heart-rate-vs-time graph during exercise, slope shows how quickly your HR is climbing.
Slope in economics
Almost every chart in an economics class has a meaningful slope:
- Demand curve: price vs quantity demanded. Negative slope — higher price = less demand.
- Supply curve: price vs quantity supplied. Positive slope — higher price = more supply.
- Marginal cost: the slope of the total-cost curve. How much extra does it cost to make one more unit?
- Tax rates: on a tax-owed vs income graph, slope = marginal tax rate. The U.S. progressive tax system creates a piecewise-linear curve with increasing slopes (brackets).
Slope in science
- Concentration vs absorbance in a Beer-Lambert plot: slope = molar absorptivity, used to identify or quantify chemical species.
- Voltage vs current in Ohm's law: slope = resistance.
- Force vs displacement in Hooke's law for springs: slope = spring constant.
- Population vs time: slope = growth rate (or death rate, if negative).
Slope in finance
- Stock price vs time: slope is the rate of return per day or per year.
- Yield curve: bond yields vs maturity time. The slope is a closely-watched economic indicator — a downward-sloping (inverted) yield curve has historically preceded recessions.
- Loan amortization: on a balance-vs-time graph, the slope at any point is how much principal you're paying down per month.
Why direction matters: positive vs negative slope
Positive slope: the two quantities move together. Higher x, higher y. Examples: more hours studying → higher test score. Higher temperature → more ice cream sales.
Negative slope: the quantities move opposite. Higher x, lower y. Examples: higher prices → lower demand. More cigarettes per day → lower lung capacity.
Zero slope: no relationship. Changes in x have no effect on y.
This is exactly the same idea as correlation in statistics — a linear relationship has positive, negative, or zero correlation depending on the slope of the best-fit line.
The unit matters
Every slope has units: rise per run. A slope of 2 in "miles per hour" is different from a slope of 2 in "dollars per pound." When reading a graph, always check the axis units before interpreting the slope. A "steep" line on a poorly-scaled axis can be misleading.
Putting it all together
Slope is everywhere because rate of change is everywhere. The next time you see a chart in a news article or scientific paper, pause to identify the slope and its meaning — that's usually the actual point of the chart.
Our slope calculator handles any two points and returns slope, y-intercept, the equation, and the angle of inclination. Use it to analyze your own data points or to verify intuitions about real-world rates.