Average Rate of Change Calculator
The average rate of change calculator works out (f(b) − f(a)) ÷ (b − a) for a function between two x-values. For f(x) = x² from x = 1 to x = 4 it is 15 ÷ 3 = 5, the slope of the line through the two points.
Sources: OpenStax Precalculus 2e Updated
What the average rate of change measures
The average rate of change is the slope of the secant line joining two points on a curve: (f(b) − f(a)) ÷ (b − a). It gives the net change per unit of x across the interval and ignores what the function does in between.
It is not the instantaneous rate of change, the derivative at one point. OpenStax Precalculus introduces it as the step before that idea.
How to find the average rate of change of a function
Take f(x) = x² between a = 1 and b = 4.
- Work out f(a): f(1) = 1² = 1.
- Work out f(b): f(4) = 4² = 16.
- Divide the change in f by the change in x: (16 − 1) ÷ (4 − 1) = 15 ÷ 3 = 5.
That is the slope of the line between (1, 1) and (4, 16), the line the tool draws on its graph. Putting those two points into the slope calculator gives the same 5, and the distance between two points calculator gives the length of that line, √234 ≈ 15.30.
Function syntax the calculator accepts
Use x as the variable and ^ for powers, as in x^2 + 3*x. The functions sin, cos, tan, sqrt, abs, log (base 10), ln, exp and the constants pi and e also work.
Trigonometric functions use radians, so sin(x) at x = π/2 returns 1. For a quadratic's roots and vertex instead of a rate, use the quadratic formula calculator.
When the average rate of change misleads
The two x-values cannot be equal, because that divides by zero. An expression that is not a finite number at either end, such as 1/x at x = 0 or sqrt(x) for a negative x, gives an error instead of a result.
A jump or an asymptote between a and b still produces a number, because only the two end values are used. Graph the function first if it might break inside the interval. The midpoint calculator finds the halfway point of the secant, and more tools are on the algebra calculators page.
Average Rate of Change Calculator: FAQ
Is the average rate of change the same as the slope?
Yes, it is the slope of the secant line through (a, f(a)) and (b, f(b)). The slope calculator gives the same number from those two points.
Can the average rate of change be negative?
Yes. It is negative when f(b) is smaller than f(a), so the function went down overall. For f(x) = x² from −3 to −1 it is (1 − 9) ÷ 2 = −4.
What units does it have?
Units of f per unit of x. If f is distance in metres and x is time in seconds, the average rate of change is an average speed in metres per second.
Sources
- OpenStax Precalculus 2e, 1.3 Rates of Change and Behavior of Graphs — average rate of change of a function over an interval (checked October 16, 2026)