Before there are derivatives, there is this: how fast did something change, on average, between here and there? Divide the change in the output by the change in the input and you have the average rate of change — the slope of the secant line, the speedometer reading of a whole trip compressed into one number. This average rate of change calculator handles it two ways: pick a function and an interval, or enter two points directly, and get the rate with the full Δy over Δx working shown.
The Formula and Its Meaning
Average rate of change of f on [a, b] = ( f(b) − f(a) ) ÷ ( b − a ). The numerator is the total change in output; the denominator is the total change in input; the quotient is output-per-input, carrying units like metres per second, dollars per month, or degrees per hour. Geometrically it is the slope of the secant line through the two points on the graph — the straight line pretending the function behaved linearly between them. Every average velocity, average growth rate, and average cost in applied mathematics is this one quotient.
Worked Example 1: f(x) = x² on [1, 3]
f(1) = 1 and f(3) = 9, so the average rate is (9 − 1) ÷ (3 − 1) = 8 ÷ 2 = 4. The curve steepens across the interval — its instantaneous slope runs from 2 to 6 — and the average of 4 lands mid-journey, as it must: the secant from (1, 1) to (3, 9) has slope 4, and the Mean Value Theorem guarantees some point in between where the tangent matches it exactly (here x = 2, where the derivative 2x equals 4).
Worked Example 2: Two Points, No Function
A tank held 2 thousand litres at hour 1 and 14 thousand at hour 4 — points (1, 2) and (4, 14). The average fill rate is (14 − 2) ÷ (4 − 1) = 12 ÷ 3 = 4 thousand litres per hour. Note what the average hides: the pump may have surged and idled; the average rate reports the net effect only. That is not a flaw but the definition — averaging compresses a possibly wild ride into the constant rate that would have achieved the same net change.
Average vs Instantaneous: The Road to the Derivative
Shrink the interval and the average rate homes in on the instantaneous rate — the derivative. For x² on [1, 3] the average is 4; on [1, 2] it is 3; on [1, 1.1] about 2.1; the limit as the interval closes is 2, the derivative at x = 1. This calculator is deliberately the "before" picture of calculus: every derivative you will ever compute is an average rate of change whose interval was allowed to vanish. If your problem asks for the rate at a point, it wants the derivative; over an interval, it wants this.
Negative, Zero, and Undefined Cases
A negative average rate means the output fell over the interval — a cooling object's temperature, a draining tank. Zero means the endpoints match in height however the journey wiggled (a round trip's average velocity is the displacement-based cousin: total displacement zero). Undefined happens only when b = a (division by zero — an interval of no width, flagged by the calculator) or when the function is undefined at an endpoint, as √x below zero or 1/x at zero — domain errors the calculator names rather than papering over.
Common Mistakes
Swapping the order in one bracket but not the other — (f(a) − f(b)) ÷ (b − a) flips the sign wrongly; the subtractions must run the same direction. Evaluating the function at the wrong endpoints, particularly with two-points data where the y values must pair with their own x's, is the data-entry classic. Reporting an average rate without units loses the meaning (4 what per what?). And expecting the average to describe the middle of the interval on wild data — it describes the endpoints only, by construction.
Related Tools
Keep going in the Math Calculators hub — the Percentage Increase Calculator is this same change-over-base idea in percentage clothing, and the Subset Calculator covers the combinatorics wing.
Frequently Asked Questions
How do you find the average rate of change?
Divide the change in output by the change in input: ( f(b) − f(a) ) / ( b − a ). For x squared from 1 to 3 that is (9 − 1) / 2 = 4.
What is the average rate of change of x squared on [1, 3]?
4. The function rises from 1 to 9 while x rises from 1 to 3 — a gain of 8 over a run of 2. It equals the slope of the secant line through (1, 1) and (3, 9).
How is average rate of change different from slope?
It is slope — of the secant line joining two points of a (possibly curved) function. For a straight-line function the average rate over any interval equals the line's constant slope.
Can the average rate of change be negative?
Yes — it is negative whenever the function's value falls across the interval, and zero when the endpoints are level, regardless of the path between them.
What is the difference between average and instantaneous rate of change?
The average is taken over an interval; the instantaneous rate is the limit as that interval shrinks to a point — the derivative. A car's trip-average speed versus its speedometer reading at one moment.
Why does the calculator refuse a = b?
The denominator b − a becomes zero and the rate is undefined. A single point has an instantaneous rate (a derivative), not an average — the interval is what makes averaging possible.
What units does the average rate of change have?
Output units per input unit: if f gives metres and x gives seconds, the rate is metres per second. Always report the units — the bare number 4 could be litres per hour or dollars per year.