Average Rate of Change Calculator
Enter two coordinate pairs to find the average rate of change - or switch to function mode and provide an interval. The result is the slope of the secant line connecting the two points, a fundamental concept in calculus and algebra. The step-by-step panel shows every substitution, and the chart plots both points with the secant line so you can see the geometry instantly.
What is the average rate of change?
The average rate of change of a function f over an interval [a, b] measures how much the output changes per unit increase in the input across that entire interval. It is defined as (f(b) - f(a)) / (b - a), which is the slope of the straight line connecting the two points (a, f(a)) and (b, f(b)) on the graph. That connecting line is called the secant line. For a linear function like f(x) = 2x + 3 the average rate equals the slope of the line and is the same over every interval. For curved functions such as x squared or 1/x the average rate depends on which interval you choose.
Average rate of change formula and how to use it
The formula is AROC = [f(b) - f(a)] / (b - a) = delta y / delta x. To apply it, evaluate the function at both endpoints, subtract the y-values to get delta y, subtract the x-values to get delta x, then divide. In the two-points mode you supply the y-values directly, so the calculator skips the evaluation step and goes straight to the division. In function mode you supply an expression like x^2 or 3*x - 7 and the interval [a, b], and the calculator evaluates the expression at both endpoints before dividing. The result is always the slope of the secant line, regardless of how curved the function is between those two points.
Average rate of change vs. instantaneous rate of change
The average rate of change is computed over a finite interval and equals the secant slope. The instantaneous rate of change is the limit of the average rate as the interval length shrinks to zero, which is the derivative at a point. In practical terms, if you drive 120 km in 2 hours your average speed (average rate of change of distance) is 60 km/h, but your speedometer could read 80 km/h at one moment and 40 km/h at another. The average hides all of that variation. When you narrow the interval to a very small window around a specific moment, the average rate converges on the instantaneous speed at that moment.
Real-world examples and applications
Average rate of change appears throughout science and everyday life. In physics, it is average velocity (displacement over time) or average acceleration (velocity change over time). In economics, it is the average marginal cost between two production levels or the average growth rate of revenue from one quarter to the next. In biology it describes how quickly a population grows between two counts. In finance it is used to compute the average return on an investment over a holding period. Any time you compare how much something changes relative to some driving variable, you are computing an average rate of change.
Average rate of change of common functions
| Function f(x) | Interval [a, b] | f(a) | f(b) | Average Rate of Change |
|---|---|---|---|---|
| f(x) = 2x + 3 | [1, 4] | 5 | 11 | 2 |
| f(x) = x² | [1, 3] | 1 | 9 | 4 |
| f(x) = x² | [2, 5] | 4 | 25 | 7 |
| f(x) = x³ | [1, 2] | 1 | 8 | 7 |
| f(x) = sqrt(x) | [4, 9] | 2 | 3 | 0.2 |
| f(x) = 1/x | [1, 4] | 1 | 0.25 | -0.25 |
| f(x) = x² + 5x - 7 | [-4, 6] | -11 | 23 | 7 |
These are exact results for reference intervals. The average rate equals the instantaneous derivative only for linear functions.
Frequently asked questions
What is the difference between average rate of change and slope?
For a straight line they are the same thing: the slope equals (y2 - y1) / (x2 - x1) everywhere. For a curved function the slope of the curve varies from point to point, so "slope" by itself is ambiguous. The average rate of change over an interval is specifically the slope of the secant line connecting the two endpoints of that interval, giving a single number that summarises the overall change.
How do I find the average rate of change from a graph?
Identify the two points on the graph corresponding to the endpoints of your interval, read off their coordinates (x1, y1) and (x2, y2), then compute (y2 - y1) / (x2 - x1). Visually this is the steepness of the straight line you would draw connecting the two points, a steeper line means a larger (in absolute value) rate of change.
Can the average rate of change be negative?
Yes. A negative rate means the function decreases over the interval: the output is smaller at the right endpoint than at the left. For example, f(x) = -2x has an average rate of change of -2 over any interval, which means the output falls by 2 for every 1 unit increase in x.
What does an average rate of change of zero mean?
A rate of zero means the function returns the same output value at both endpoints, so there is no net change over the interval. The function could still rise and fall between those points; zero average rate just means the starting and finishing values are equal. A constant function has a rate of zero over every interval.
What is the unit of the average rate of change?
The unit is the unit of the output (y) divided by the unit of the input (x). If y is measured in metres and x in seconds the average rate is in metres per second. If both are unitless numbers (as in a pure math function) the result is also dimensionless.
How is average rate of change related to the derivative?
The derivative f'(c) at a point c is the limit of the average rate of change [f(c + h) - f(c)] / h as h approaches zero. In geometric terms, as the two points on the secant line are moved closer together, the secant line approaches the tangent line to the curve at that point. The average rate gives a practical approximation of the instantaneous rate when the interval is small.