ToolNimba

๐Ÿ“ Average Rate of Change Calculator with Steps

By ToolNimba Editorial Team ยท Updated 2026-06-24

Average rate of change
-
Secant line slope
-
Change in output, f(b) - f(a)
-
Change in input, b - a
-

Average rate of change = (f(b) - f(a)) / (b - a), the slope of the secant line.

This average rate of change calculator finds how fast a function changes on average between two points. Enter the interval endpoints a and b along with the function values f(a) and f(b), and it returns the average rate of change together with the change in output and the change in input. The result is exactly the slope of the secant line that joins the two points on the graph.

What is the Average Rate of Change Calculator?

The average rate of change of a function over an interval measures how much the output changes for each unit of change in the input, on average, across that interval. It is defined as the change in output divided by the change in input, written as (f(b) - f(a)) / (b - a). Some textbooks write the same idea as the difference quotient with the change in y over the change in x, that is (y2 - y1) / (x2 - x1), or with delta notation as delta y over delta x. All three are identical: you compare where the function ends with where it started, then divide by how far the input traveled.

Geometrically the average rate of change is the slope of the straight line, called the secant line, that passes through the two points (a, f(a)) and (b, f(b)) on the graph of the function. Whatever happens between those endpoints, the average rate of change only looks at where you start and where you end. This is why it is an average: a curve may rise, fall, and rise again, but the secant slope flattens all of that motion into one number that captures the net trend from a to b.

This idea generalizes the familiar notion of slope from straight lines to any function. For a linear function the average rate of change is the same on every interval and equals the line's slope, because a straight line changes at a constant rate everywhere. For a curve it varies from interval to interval, which is exactly why the word average matters. A positive value means the function rose overall on the interval and is increasing on average, a negative value means it fell and is decreasing on average, and zero means the endpoints have the same output even if the function moved up and down in between.

Units are part of the answer in real problems, and competitors often gloss over this. The average rate of change is always measured in output units per input unit. If distance is in kilometers and time is in hours, the average rate of change is kilometers per hour, which is average speed. If revenue is in dollars and the input is years, it is dollars per year. Always state the units, because a bare number like 5 means little until you can say five dollars per year or five meters per second. Reading the sign and the units together is how you interpret a word problem correctly.

The average rate of change is the discrete cousin of the derivative, which is the instantaneous rate of change. As you shrink the interval so that b moves closer and closer to a, the secant line tilts toward the tangent line, and the average rate of change approaches the derivative at a. In calculus this limit of the difference quotient is the formal definition of the derivative f'(a). That connection is the bridge between algebra and calculus, and it is why the average rate of change shows up so often in precalculus and introductory calculus courses before derivatives are introduced.

The one requirement is that a and b must be different. If b equals a the denominator b - a is zero, division by zero is undefined, and there is no interval to measure across. Order does not matter for the result: computing (f(b) - f(a)) / (b - a) gives the same value as (f(a) - f(b)) / (a - b), because flipping both the numerator and denominator leaves the ratio unchanged. What does matter is consistency, so the start input must pair with the start output and the end input with the end output.

When to use it

  • Finding the average rate of change of a function such as f(x) = x^2 over an interval for a precalculus or calculus assignment.
  • Computing average speed as the change in distance divided by the change in time between two moments.
  • Estimating an average growth rate, such as population, temperature, or revenue, between a start year and an end year.
  • Reading two points off a table or graph and finding the slope of the secant line between them.
  • Checking the slope of the secant line before studying the tangent line and the derivative in calculus.
  • Deciding whether a function is increasing or decreasing on average across an interval from the sign of the result.

How to use the Average Rate of Change Calculator

  1. Find your two points. If you have a function f(x), plug each x-value in to get f(a) and f(b). If you have a table or graph, read the output values directly.
  2. Enter a, the first x-value (the left endpoint of the interval), and f(a), the function value there.
  3. Enter b, the second x-value (the right endpoint), and f(b), the function value there.
  4. Read the average rate of change, which equals the slope of the secant line through the two points, along with the change in output and change in input.
  5. Attach the correct units (output units per input unit) and read the sign to see whether the function rose or fell on average.
  6. Use a sample button to load a worked example, or Clear to reset all four fields.

Formula & method

average rate of change = (f(b) - f(a)) / (b - a) = (y2 - y1) / (x2 - x1). This is the slope of the secant line through (a, f(a)) and (b, f(b)). The value is undefined when b = a, because the denominator becomes zero. Units are output units per input unit.

Worked examples

Find the average rate of change of f(x) = x^2 + 2 on the interval from x = 1 to x = 4.

  1. Compute f(a): f(1) = 1^2 + 2 = 3
  2. Compute f(b): f(4) = 4^2 + 2 = 18
  3. Change in output: f(b) - f(a) = 18 - 3 = 15
  4. Change in input: b - a = 4 - 1 = 3
  5. Divide: 15 / 3 = 5

Result: The average rate of change is 5, so the secant line has slope 5 and the function is increasing on average across the interval.

Evaluate the average rate of change of f(x) = x^2 - 5x on the interval 4 <= x <= 8.

  1. Compute f(a): f(4) = 4^2 - 5(4) = 16 - 20 = -4
  2. Compute f(b): f(8) = 8^2 - 5(8) = 64 - 40 = 24
  3. Change in output: f(b) - f(a) = 24 - (-4) = 28
  4. Change in input: b - a = 8 - 4 = 4
  5. Divide: 28 / 4 = 7

Result: The average rate of change is 7. Watching the signs in the numerator, 24 minus negative 4 becomes 28, is the step most students miss.

A car is at 10 km at t = 2 hours and at 4 km at t = 5 hours. Find the average rate of change of position (the average velocity).

  1. Change in output: f(b) - f(a) = 4 - 10 = -6 km
  2. Change in input: b - a = 5 - 2 = 3 hours
  3. Divide: -6 / 3 = -2

Result: The average rate of change is -2 km per hour, meaning the position decreased by 2 km each hour on average. The negative sign shows motion back toward the start.

Average rate of change for f(x) = x^2 over different intervals

Interval [a, b]f(a)f(b)Average rate of change
[0, 1]011
[1, 2]143
[2, 3]495
[1, 3]194
[0, 4]0164

What the sign of the average rate of change tells you

SignMeaning
PositiveThe function rose overall, output increased from a to b, increasing on average
NegativeThe function fell overall, output decreased from a to b, decreasing on average
ZeroThe endpoints have equal output, no net change across the interval
Undefinedb equals a, so the interval has zero width and the rate cannot be computed

Average rate of change compared with related concepts

ConceptWhat it measuresLine on the graphHow it is found
Average rate of changeNet change over an interval [a, b]Secant line(f(b) - f(a)) / (b - a)
SlopeSteepness of a straight lineThe line itselfRise over run
Instantaneous rate of changeRate at one exact pointTangent lineDerivative f prime of a
Percent changeRelative change as a fraction of the startNot a slope(f(b) - f(a)) / f(a) times 100

Common mistakes to avoid

  • Putting the change in input on top. The formula is change in output over change in input, that is (f(b) - f(a)) / (b - a). Flipping it to (b - a) / (f(b) - f(a)) gives the reciprocal, which is wrong.
  • Mismatching the order in the numerator and denominator. If you subtract a from b in the denominator, you must subtract f(a) from f(b) in the numerator. Mixing the order, such as f(a) - f(b) over b - a, flips the sign of the answer.
  • Mishandling a negative output value. When f(a) is negative, subtracting it adds. For f(b) - f(a) with f(a) = -4 and f(b) = 24, the numerator is 24 minus negative 4, which equals 28, not 20. A dropped sign here is the single most common error.
  • Forgetting the units. In a word problem the answer is output units per input unit, such as km per hour or dollars per year. A bare number is an incomplete answer and often costs points.
  • Confusing average rate of change with instantaneous rate of change. Average rate of change is the slope of the secant line across a whole interval. The instantaneous rate of change is the derivative, the slope of the tangent line at a single point. They are equal only in special cases.
  • Using an interval where b equals a. When b equals a the denominator is zero and the average rate of change is undefined. You need two distinct input values to measure change across an interval.

Glossary

Average rate of change
The change in a function's output divided by the change in its input over an interval, equal to (f(b) - f(a)) / (b - a).
Secant line
The straight line passing through two points on a graph. Its slope equals the average rate of change between those two points.
Tangent line
A line that touches a curve at a single point. Its slope is the instantaneous rate of change, the derivative, at that point.
Interval [a, b]
The set of input values from a to b over which the change is measured. The endpoints a and b must be different.
f(a) and f(b)
The output values of the function at the input values a and b, the two heights used to find the change in output.
Difference quotient
The expression (f(b) - f(a)) / (b - a), the same formula as the average rate of change. Its limit as b approaches a defines the derivative.
Slope
The steepness of a line, computed as rise over run. The average rate of change is the slope of the secant line.
Instantaneous rate of change
The rate of change at a single point, equal to the derivative. It is the limit of the average rate of change as the interval shrinks to zero.

Frequently asked questions

What is the average rate of change?

The average rate of change is how much a function's output changes per unit change in its input over an interval. It equals (f(b) - f(a)) / (b - a), which is the slope of the secant line through the two endpoints (a, f(a)) and (b, f(b)).

How do you calculate the average rate of change?

Subtract the output at the start from the output at the end to get the change in output, subtract the start input from the end input to get the change in input, then divide. For example, with f(a) = 3, f(b) = 15, a = 1, and b = 4, the result is (15 - 3) / (4 - 1) = 12 / 3 = 4.

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

Plug each endpoint of the interval into the function to get f(a) and f(b), then apply (f(b) - f(a)) / (b - a). For f(x) = 2x + 10 from x = 3 to x = 7, f(3) = 16 and f(7) = 24, so the average rate of change is (24 - 16) / (7 - 3) = 8 / 4 = 2.

Is the average rate of change the same as slope?

Yes, the average rate of change between two points is exactly the slope of the secant line that joins them. For a straight line it equals the line's slope on every interval, and for a curve it is the slope of the line connecting the two chosen points.

What is the difference between average and instantaneous rate of change?

Average rate of change measures the overall change across an interval and equals the slope of a secant line. Instantaneous rate of change measures the change at one exact point and equals the derivative, the slope of the tangent line. As the interval shrinks, the average rate approaches the instantaneous rate.

How do you find the average rate of change from a table or graph?

Pick the two points you want, read their input values for a and b and their output values for f(a) and f(b), then divide the change in output by the change in input. From a graph, this is the slope of the line you would draw connecting the two points.

Can the average rate of change be negative or zero?

Yes. A negative value means the function decreased overall and is decreasing on average across the interval, a positive value means it increased, and zero means the two endpoints have the same output even if the function moved up and down in between.

What are the units of the average rate of change?

The units are always output units per input unit. If distance is in kilometers and time is in hours, the average rate of change is kilometers per hour. If revenue is in dollars and the input is years, it is dollars per year. Always state the units in a word problem.

Why must a and b be different?

The formula divides by b - a. If b equals a, that denominator is zero, division by zero is undefined, and there is no interval to measure across. You always need two distinct input values to compute an average rate of change.

Is average rate of change the same as percent change?

No. Average rate of change divides the change in output by the change in input, giving units per unit such as dollars per year. Percent change divides the change in output by the starting output and multiplies by 100, giving a relative percentage that ignores the size of the input interval.