Math

Average rate of change calculator

The average rate of change tells you how fast a quantity changes, on average, over an interval: the change in output divided by the change in input. Type a function such as x^2 + 3x with an interval [a, b], or enter two points directly. The average rate of change calculator evaluates f(a) and f(b), shows the working, gives the equation of the secant line, the percentage change and a short table of values across the interval.

Runs in your browser. Nothing you type is sent to us.

Average rate of change

8

(f(4) − f(1)) ÷ (4 − 1) = (28 − 4) ÷ 3 = 8

f(1)
4
f(4)
28
Δy
24
Δx
3
Secant line
y = 8x − 4
Percentage change
+600%

Values across the interval

xf(x)
14
1.67.36
2.211.44
2.816.24
3.421.76
428

Key facts

  • Average rate of change = (f(b) − f(a)) ÷ (b − a), the slope of the secant line through (a, f(a)) and (b, f(b)).
  • For f(x) = x² + 3x on [1, 4]: f(1) = 4, f(4) = 28, so the rate is (28 − 4) ÷ 3 = 8.
  • The secant line through those points is y = 8x − 4.
  • For a straight line the average rate of change is the same on every interval: it is the slope.
  • The units are output units per input unit, for example kilometres per hour or dollars per year.

The formula

Average rate of change = (f(b) − f(a)) ÷ (b − a)

With two points (x₁, y₁) and (x₂, y₂) it is the familiar slope formula, (y₂ − y₁) ÷ (x₂ − x₁). It is often written Δy/Δx, read "change in y over change in x".

How to use the average rate of change calculator

  1. Choose A function to type f(x), or Two points to enter the coordinates directly.
  2. For a function, enter the expression and the endpoints a and b. You can use ^ for powers, sqrt(), sin(), cos(), ln(), log(), exp() and implicit multiplication such as 3x.
  3. Read the rate, f(a) and f(b), Δy and Δx, the secant line and the percentage change.

Step-by-step examples: average rate of change

Example 1: a quadratic

f(x) = x² + 3x on [1, 4]. f(1) = 1 + 3 = 4 and f(4) = 16 + 12 = 28. Rate = (28 − 4) ÷ (4 − 1) = 24 ÷ 3 = 8. On average, f increases by 8 for each unit increase in x.

Example 2: a square root

f(x) = √x on [1, 9]. f(1) = 1, f(9) = 3. Rate = 2 ÷ 8 = 0.25.

Example 3: a road trip

A car's odometer reads 12,340 km at 9:00 and 12,610 km at 12:00. Average speed = 270 km ÷ 3 h = 90 km/h, even if the car stopped for coffee and sped up on the highway.

Example 4: a falling rate

A town had 52,000 residents in 2015 and 48,400 in 2024. Rate = (48,400 − 52,000) ÷ 9 = −400 people per year. A negative rate means the quantity decreased.

Example 5: comparing intervals

For f(x) = x², the rate on [0, 1] is 1, on [1, 2] it is 3 and on [2, 3] it is 5. The rate grows because the curve gets steeper.

The secant line

The line through (a, f(a)) and (b, f(b)) is the secant line, and its slope is the average rate of change. In Example 1 it passes through (1, 4) with slope 8, so y = 8x − 4. The calculator gives this equation and a table so you can compare the curve with the line across the interval.

Average versus instantaneous rate

The average rate covers a whole interval. Shrinking the interval toward a single point gives the instantaneous rate of change, which is the derivative in calculus. For f(x) = x² + 3x, the derivative is 2x + 3, so at x = 2.5 (the middle of [1, 4]) the instantaneous rate is 8. For a quadratic, the average rate over an interval always equals the instantaneous rate at its midpoint, which is a handy check.

Rate of change versus percentage change

The rate of change is an absolute amount per unit (+8 per unit of x). The percentage change compares the end value with the start: from 4 to 28 is +600%. Both are useful, but they answer different questions. The percentage change calculator focuses on the second.

Pitfalls with average rate of change

  • Subtracting in different orders, such as f(b) − f(a) over a − b, which flips the sign.
  • Dividing by the wrong difference: divide by the change in x, not by x itself.
  • Confusing average with typical: a rate of 90 km/h does not mean the car always went 90 km/h.

From average rate to the derivative

The average rate of change of a function over an interval is the slope of the secant line through two points on its graph: how much the output changed per unit of input. Average speed is the classic example: 300 km in 4 hours is 75 km/h on average, even if the car stopped and sped up along the way. The question of what happens as the interval shrinks to zero led Isaac Newton and Gottfried Wilhelm Leibniz, independently in the 1660s and 1670s, to the derivative, the instantaneous rate of change at the heart of calculus.

Average rates of change are the numbers behind many headlines: population growth per year from the US Census Bureau, change in global temperature per decade from NASA and NOAA, and quarterly growth in GDP. The mean value theorem, proved in its modern form by Augustin-Louis Cauchy in the 1820s, guarantees that a smooth function somewhere achieves its average rate as an instantaneous rate. In US high schools, Common Core standard F-IF.B.6 asks students to calculate and interpret the average rate of change of a function over an interval. On the graph of a linear relationship, the y-intercept is the starting value and the rate of change is the slope. For straight-line slope from two points, use the slope calculator; for percentage changes, the percentage change calculator; and for constant percentage growth, the CAGR calculator.

Related: the slope calculator, the linear interpolation calculator and the slope-intercept form calculator.

How this calculator works

  • Average rate of change = (f(b) − f(a)) ÷ (b − a), from a function and an interval or from two points.
  • Shows f(a) and f(b), the percent change and the equation of the secant line through the two points.
  • a = b is rejected because the interval has zero width.

Frequently asked questions

What is the average rate of change?

The change in a function’s output divided by the change in its input over an interval: (f(b) − f(a)) ÷ (b − a).

How do you find the average rate of change of a function?

Evaluate f at both endpoints, subtract, and divide by the length of the interval.

What is the average rate of change of x² + 3x on [1, 4]?

8, because f(1) = 4 and f(4) = 28, and 24 ÷ 3 = 8.

Is the average rate of change the same as slope?

Yes. It is the slope of the secant line through the two endpoints.

Can the average rate of change be negative?

Yes. A negative rate means the function decreased over the interval.

What are the units of a rate of change?

Output units per input unit, such as metres per second or dollars per month.

How is it different from the instantaneous rate of change?

The average rate covers an interval; the instantaneous rate is the limit as the interval shrinks to a point, which is the derivative.

What does a zero average rate of change mean?

f(a) = f(b): the function ended where it started, although it may have moved in between.

Sources

  1. OpenStax: College Algebra 2e, section 3.3 Rates of Change and Behavior of Graphs
  2. OpenStax: Calculus Volume 1, section 3.1 Defining the Derivative
  3. Wikipedia: Slope

Updated November 25, 2026. Formulas checked against published sources and worked examples.

Cite this page: CalcRoster. "Average rate of change calculator." calcroster.com/average-rate-of-change-calculator/. Updated November 25, 2026.

Results are estimates for general information. They are not financial, medical or legal advice. Check important decisions with a qualified professional.