The average rate of change tells you how fast a quantity changes, on average, over an interval. Between two inputs and , it is the change in the output divided by the change in the input: . Geometrically, it is the slope of the secant line joining the points and on the graph.
The idea appears everywhere. Distance over time is an average velocity; a price that went from 1.20 to 2.00 over eight years rose at an average of 0.10 per year; a temperature curve, a population count or a company’s revenue can all be summarised by how much they changed per unit of time. In calculus, the average rate of change is the difference quotient whose limit, as approaches , defines the derivative.
This calculator works in two ways. Type a function such as x^2, 4.9x^2 or sin(x) with an interval , and it evaluates and for you. Or enter two points from a table or a graph. You get the rate, , , the equation of the secant line, the total change as a percentage, and the steps.
How to use this calculator
- Choose The function f(x) if you have a formula, or Two points if you have data.
- For a function, type it with as the variable (,
x^3 - x,sqrt(x),exp(-x)…; trigonometric functions use radians), then enter and . - For data, enter the two points and , for example (year, price).
- Read the average rate of change, in output units per input unit (metres per second, dollars per year…), and the secant line.
The formula
For a function on the interval :
For two points and , it is , the same formula as a slope. The order of the points does not matter, as long as you keep it consistent in the numerator and the denominator.
The secant line through the two points has that slope:
Writing gives the difference quotient . Its limit as , when it exists, is the instantaneous rate of change .
The rate is undefined when (division by zero).
Worked example
A parabola. For on : , , so the average rate of change is $\dfrac{9 - 1}{3 - 1} = $ 4. The secant line is y = 4x − 3. Note that the derivative equals 4 at , the midpoint: for a parabola, the secant slope always matches the tangent slope at the midpoint.
Average velocity. A stone falls metres after seconds. Between and it goes from 4.9 m to 44.1 m, an average velocity of 19.6 m/s.
From data. A loaf cost 1.20 in 2015 and 2.00 in 2023: per year on average, a total rise of 66.67%.
A square root. on : , , rate .
Sine. on : .
Average rate of change versus instantaneous rate
An average hides what happens in between. For on , , so the average rate of change is 0, yet the function rises, falls and rises again inside the interval. A car that covers 120 km in 2 hours averages 60 km/h, whatever the speedometer showed at each moment.
The instantaneous rate of change, or derivative, is what you get by shrinking the interval. Try with and , then , then : the rates 4.1, 4.01, 4.001 approach . The mean value theorem guarantees that, for a smooth function, the average rate on equals the instantaneous rate at some point between and .
Units and sign
The units of the average rate of change are always output units per input unit: metres per second, euros per month, degrees per hour, people per year. A positive rate means the output increased overall, a negative one that it decreased, and zero that it ended where it started. When the input is time and the output a position, the rate is an average velocity. For a percentage view of the same change, see the percentage calculator; for growth by a constant percentage, see exponential growth.
Frequently asked questions
How do you calculate the average rate of change?
Subtract the starting output from the ending output, then divide by the difference of the inputs: (f(b) − f(a)) / (b − a). For f(x) = x² on [1, 3], that is (9 − 1) / 2 = 4.
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)). For a straight line it is the same on every interval; for a curve it depends on the interval chosen.
What is the difference between average and instantaneous rate of change?
The average rate covers a whole interval; the instantaneous rate is its limit as the interval shrinks to a single point, which is the derivative. For x² at x = 2, the average rates on ever smaller intervals approach 4.
Can the average rate of change be negative or zero?
Yes. Negative means the function decreased overall on the interval; zero means f(a) = f(b), even if the function went up and down in between.
What units does the average rate of change have?
Output units divided by input units: metres per second for distance against time, dollars per year for a price against time, and so on.
Sources
- OpenStax, Precalculus 2e — §1.3 Rates of Change and Behavior of Graphs
- OpenStax, Calculus Volume 1 — §3.1 Defining the Derivative (secant slopes and difference quotients)
- OpenStax, Calculus Volume 1 — §4.4 The Mean Value Theorem
Last updated: