🧮
🧮 Math & statistics

Average Rate of Change Calculator (function over an interval)

Results update as you type.

Your numbers

Understanding the average rate of change calculator — concept and principle

This calculator finds the average rate of change of a function between two x-values: the change in output divided by the change in input. It also shows both function values, Δy and Δx, the secant line through the two points and the percent change. Use it for algebra and precalculus homework or to describe how fast a quantity changed over an interval.

Slope of the secant on x² + 3xSlope of the secant on x² + 3x(1, 4)(4, 28)Δx = 3Δy = 24f(1), f(4)4, 28Δy ÷ Δx24 ÷ 3Secanty = 8x − 4Average rate8
The average rate is the slope of the straight line joining the two points.

How it is calculated

Average rate of change m = (f(x₂) − f(x₁)) ÷ (x₂ − x₁) = Δy ÷ Δx

Secant line: y = m x + b, with b = f(x₁) − m x₁

Percent change of f = (f(x₂) − f(x₁)) ÷ |f(x₁)| × 100

The principle

Over an interval, a function may speed up and slow down, but the average rate of change replaces it with a straight line that starts and ends at the same points. That line is the secant, and its slope is rise over run. The idea is the same as average speed: distance travelled divided by time taken, whatever happened in between. As x₂ moves closer to x₁, the secant approaches the tangent line and the average rate approaches the derivative, the instantaneous rate of change.

Worked example

Default inputs: f(x) = x² + 3x, from x₁ = 1 to x₂ = 4.

  1. f(1) = 1 + 3 = 4; f(4) = 16 + 12 = 28.
  2. Δy = 28 − 4 = 24; Δx = 4 − 1 = 3.
  3. Average rate of change = 24 ÷ 3 = 8.
  4. Secant: b = 4 − 8 × 1 = −4, so y = 8x − 4.
  5. Percent change of f = 24 ÷ 4 × 100 = 600 %.
How Average rate of change changes with Start of the interval x₁How Average rate of change changes with…77.588.590.250.50.7511.251.52Example: 8Start of the interval x₁
Each point is the calculator re-run with only “Start of the interval x₁” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Start of the interval x₁Average rate of change
0.257.25
0.57.5
0.757.75
18
1.258.25
1.58.5
29

How to read the result

A positive rate means the function rose on average, a negative one that it fell, and zero that it ended where it started. The units are output units per input unit, such as metres per second or won per month. Because it only uses the end points, the average rate says nothing about what happened in between: here the instantaneous rate grows from 5 at x = 1 to 11 at x = 4, and the average 8 lies between them.

Common mistakes

Keep in mind: For functions with breaks or vertical asymptotes inside the interval, the average rate can be misleading even if both end values exist.

Frequently asked questions

What is the average rate of change formula?

(f(b) − f(a)) ÷ (b − a), the slope of the line through the two points.

How is it different from the derivative?

The derivative is the limit of the average rate as the interval shrinks to zero.

Can the average rate of change be zero?

Yes, whenever f(x₂) = f(x₁), even if the function moved in between.

Sources: OpenStax, Algebra and Trigonometry 2e, §3.3 Rates of Change and Behavior of Graphs

Checked 9 Nov 2026. OpenStax, Algebra and Trigonometry 2e, §3.3 Rates of Change and Behavior of Graphs (average rate of change = Δy/Δx = (f(x₂) − f(x₁))/(x₂ − x₁)).

🧮 All math & statistics tools →🌍 Calculators by country →