Average Rate of Change:
Table of Contents
Average rate of change between two points
Enter two (x, y) pairs and this calculator returns the average rate of change — the slope of the line through them. Use it for growth rates, speed, inflation, learning curves, or any “how fast is y changing per unit of x” question.
The formula
The average rate of change between two points (x₁, y₁) and (x₂, y₂) is the change in y divided by the change in x:
ROC = (y₂ − y₁) / (x₂ − x₁)
- x₁, x₂ — the independent variable at the two points (often time).
- y₁, y₂ — the dependent variable at those points.
- Δy / Δx — the change in y per unit change in x. The units are y-units per x-unit.
This is also the slope of the secant line connecting the two points — for a straight line it equals the line’s slope; for a curve it’s the average slope between the points.
Worked example
The calculator’s defaults model a child’s height over time: at age 5 they were 40 inches; at age 10 they were 54 inches. To find their average growth rate:
- Change in height (Δy): 54 − 40 = 14 inches.
- Change in age (Δx): 10 − 5 = 5 years.
- Divide: 14 / 5 = 2.8.
So the average rate of change is 2.8 inches per year. Note: the calculator treats x₁, x₂ as the y-values (height) and y₁, y₂ as the x-values (age), then divides Δheight by Δage — the inputs are labelled to match how the underlying script computes the result.
Rate of change vs slope vs derivative
| Concept | What it measures | Where it applies |
|---|---|---|
| Average rate of change | Δy / Δx between two points | Any function, any two snapshots |
| Slope | Same as ROC, but specifically for a straight line | Linear functions |
| Instantaneous rate of change (derivative) | Limit as the two points merge into one | Differentiable functions, calculus |
Common applications
- Velocity. Distance over time. A car covering 240 km in 3 hours has an average speed of 80 km/h.
- Inflation rate. CPI change between two years, divided by the years elapsed, gives an annualised inflation rate.
- Learning curves. Test score versus hours studied: how many extra points per hour of study, on average?
- Sales velocity. Revenue per quarter divided by quarters; rate of change in active users between releases.
- Physics — acceleration. The rate of change of velocity with respect to time is acceleration (m/s²).
- Epidemiology. Case counts over days; a rising rate of change is what triggers public-health alerts.
Limitations & gotchas
- It’s an average. Between the two points the function may swing high and low — the average flattens that out.
- x must change. If x₁ = x₂ the formula is undefined.
- The result’s units are y-units per x-unit. Don’t drop them; they’re part of the answer.
- For non-linear data, picking different point pairs gives different rates of change. Choose pairs that bracket the period you care about.
Sources & references
- Weisstein, Eric W. “Slope.” Wolfram MathWorld.
- Britannica, “Derivative.” Encyclopaedia Britannica.
- Khan Academy, “Introduction to average rate of change.”
FAQs
It’s the change in one quantity divided by the change in another, between two specific points — the slope of the straight line connecting them on a graph. Formula: ROC = (y₂ − y₁) / (x₂ − x₁). The units come from y’s unit over x’s unit, e.g. metres per second, dollars per year, kilograms per week.
For a straight line they are identical. For a curve, the average rate of change between two points is the slope of the secant line, while the instantaneous rate of change at one point is the slope of the tangent line — the derivative. Average rate of change is what you compute when you only have two snapshots; the derivative needs a continuous function.
Yes. A negative result means y is decreasing as x increases — the line slopes downward. For example, if a city’s population goes from 50,000 in 2010 to 45,000 in 2020, the rate of change is −500 people per year.
The denominator becomes zero and the rate of change is undefined — you can’t have a rate of change of y if x didn’t change. Geometrically, two points with the same x form a vertical line, which has no slope.
Rate of change is the absolute change in y per unit change in x. Percent change is the relative change in y, ignoring x entirely. A 25% increase in stock price over a year is a percent change; $25/year is a rate of change. Different questions, different formulas.
The average rate of change is the discrete cousin of the derivative. As the two points move arbitrarily close, the average rate of change approaches the instantaneous rate — that limit is the derivative dy/dx. So a calculus class begins by asking what the slope means when the two points become one.