Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

Average Rate of Change Calculator

How to use
  1. Type the function in the f(x)f(x) box, for example x2x^2 or x\sqrt{x}. Learn more about finding the rate
  2. Type the two ends of the interval in From a and To b.
  3. Read the rate under Average rate of change, worked out as f(b)−f(a)b−a\dfrac{f(b) - f(a)}{b - a} with your numbers filled in. Learn more about reading the answer
  4. On the graph the two points are marked and the secant line through them is drawn in amber. Its slope is the rate.
  5. How it was found shows Δy\Delta y, Δx\Delta x and their ratio, and compares the rate with the slope of the curve at the two ends.

Average rate of change
Average rate of change
f(3)−f(1)3−1=9−12=4\displaystyle \frac{f(3) - f(1)}{3 - 1} = \frac{9 - 1}{2} = 4
Change in x and in f
Δx=2,Δy=8\displaystyle \Delta x = 2, \qquad \Delta y = 8
Secant line
y=4x−3\displaystyle y = 4x - 3
How it was found

The two points: f(1)=1f(1) = 1 and f(3)=9f(3) = 9.

The change in the output is Δy=9−1=8\Delta y = 9 - 1 = 8; the change in the input is Δx=3−1=2\Delta x = 3 - 1 = 2.

Their ratio is the average rate of change: ΔyΔx=4\dfrac{\Delta y}{\Delta x} = 4. It is the slope of the amber secant line through the two points.

On average, ff rises by 44 for every unit that xx grows between 11 and 33.

The curve's own slope changes along the way: f′(1)=2f'(1) = 2 and f′(3)=6f'(3) = 6. The average rate smooths all of that into one number.

Drawn by the tool
secant: y=4x−3\text{secant: } y = 4x - 3read-only
f(x)=x2f\left(x\right)={x}^{2}
secant: y=4x−3\text{secant: } y = 4x - 3


Finding the average rate of change

DemoFind an average rate of change
Step 0 of 4
Type the function in the f(x)f(x) box and the two ends of the interval in From a and To b. The rate appears at once, together with the secant line on the graph.

The ends can be whole numbers, decimals, fractions such as 1/2, or multiples of π\pi typed as pi or pi/2. The order does not matter for the result: swapping aa and bb changes the sign of both Δy\Delta y and Δx\Delta x, and the ratio stays the same.

Both ends must be in the domain of ff, and they must be different numbers.

Reading the answer

The first box shows the whole calculation in one line: the formula, your numbers, and the result. For x2x^2 from 11 to 33 it reads f(3)−f(1)3−1=9−12=4\dfrac{f(3) - f(1)}{3 - 1} = \dfrac{9 - 1}{2} = 4.

The second box gives the two changes separately: Δx=b−a\Delta x = b - a and Δy=f(b)−f(a)\Delta y = f(b) - f(a).

The third box is the equation of the secant line, the straight line through the two points. Its slope is the average rate of change.

A positive rate means ff ends higher than it started, a negative rate lower, and 00 means it ends at the same height.

What the average rate of change is

The average rate of change of ff from aa to bb is the change in the output divided by the change in the input:

ΔyΔx=f(b)−f(a)b−a\frac{\Delta y}{\Delta x} = \frac{f(b) - f(a)}{b - a}


It tells how much ff changes per unit of xx, on average, across the interval. For f(x)=x2f(x) = x^2 from 11 to 33, the output goes up by 88 while the input goes up by 22: on average, 44 units of output for each unit of input.

Geometrically it is the slope of the secant line through (a, f(a))(a,\ f(a)) and (b, f(b))(b,\ f(b)).
x2x^2 from 11 to 33: the secant through (1,1)(1, 1) and (3,9)(3, 9) has slope 44.

What the average hides

The average looks at the two ends only. Whatever ff does in between is not seen.

For f(x)=x33−xf(x) = \dfrac{x^3}{3} - x from −2-2 to 11 the rate is exactly 00: both ends are at height −23-\dfrac{2}{3}. In between, the function climbs to a peak at x=−1x = -1 and comes back down. An average of 00 does not mean nothing happened.

For the same reason, a positive average does not mean the function rises all the way. It means only that it ends higher than it began.
x33−x\frac{x^3}{3} - x from −2-2 to 11: a level secant, although the curve rises and falls in between.

From average rate to instantaneous rate

DemoShrink the interval
Step 0 of 4
    Keep one end fixed and move the other one towards it. The secant line turns about the fixed point, and its slope settles on a number.

    For f(x)=x2f(x) = x^2 with a=1a = 1:

  • b=2b = 2: rate 33
  • b=1.5b = 1.5: rate 2.52.5
  • b=1.1b = 1.1: rate 2.12.1
  • b=1.01b = 1.01: rate 2.012.01

  • The rates close in on 22. That limit is the instantaneous rate of change at x=1x = 1, the derivative f′(1)f'(1), and the secant line becomes the tangent line.

    Written with h=b−ah = b - a, the average rate is the difference quotient f(a+h)−f(a)h\dfrac{f(a + h) - f(a)}{h}, and the derivative is its limit as h→0h \to 0.
Secants of x2x^2 from 11 to 22 and from 11 to 1.51.5, and the tangent at 11 (navy) they close in on.

Linear functions have one rate

For a straight line f(x)=mx+cf(x) = mx + c, the average rate of change is mm on every interval:

(mb+c)−(ma+c)b−a=m(b−a)b−a=m\frac{(mb + c) - (ma + c)}{b - a} = \frac{m(b - a)}{b - a} = m


That is what makes a line a line. For any other function the rate depends on which interval you choose, and comparing the rates on neighbouring intervals shows where the function is speeding up or slowing down.
On the line 2x−12x - 1 every pair of points gives the rate 22.

Where it is used

    Whenever one quantity depends on another, the average rate of change has a name of its own:

  • position against time: average velocity;
  • velocity against time: average acceleration;
  • cost against number of items: average cost of each extra item;
  • population against time: average growth per year.

  • If a car's position is s(t)=t2s(t) = t^2 metres after tt seconds, its average velocity between t=1t = 1 and t=3t = 3 is 9−13−1=4\dfrac{9 - 1}{3 - 1} = 4 metres per second. The units of the rate are always the units of the output divided by the units of the input.

Common mistakes

  • Subtracting in different orders. f(b)−f(a)a−b\dfrac{f(b) - f(a)}{a - b} has the wrong sign. Top and bottom must start from the same end.
  • Dividing the function values instead of subtracting. The rate is a difference over a difference, not f(b)f(a)\dfrac{f(b)}{f(a)}.
  • Averaging the two values. f(a)+f(b)2\dfrac{f(a) + f(b)}{2} is the average height at the ends, a different thing.
  • Forgetting brackets with negative numbers. f(−2)f(-2) for f(x)=x2f(x) = x^2 is (−2)2=4(-2)^2 = 4, not −4-4.
  • Using the derivative formula. f′(a)f'(a) is the rate at one point; the average rate needs two.