Average Rate of Change Calculator (Free, with Graph)
CalculusFreeNo sign-up
An average rate of change calculator divides the change in output by the change in input: (f(b) − f(a)) / (b − a). For f(x) = x² from x = 1 to x = 4, f(1) = 1 and f(4) = 16, so the rate is (16 − 1) / (4 − 1) = 15 / 3 = 5. That is the slope of the secant line.
The average rate of change of f(x) = x² from x = 1 to x = 4 is 5. On average, f increases by 5 for each 1 unit increase in x.
Show steps
- Evaluate f at the start: f(1) = 1² = 1.
- Evaluate f at the end: f(4) = 4² = 16.
- Change in output: Δy = f(b) − f(a) = 16 − 1 = 15. Change in input: Δx = b − a = 4 − 1 = 3.
- Divide: average rate of change = Δy / Δx = 15 / 3 = 5.
- This is the slope of the secant line through (1, 1) and (4, 16): y = 5x − 4.
- Compare with the instantaneous rate (the derivative): f'(1) ≈ 2 and f'(4) ≈ 8. The average rate 5 sits between how fast f changes at the two ends. By the Mean Value Theorem the tangent slope equals the average rate at x ≈ 2.5.
How to use the average rate of change calculator
- Choose what you have: a Function and an interval [a, b], Two points, or a Table of x and y values.
- Type the function with x as the variable, for example x^2 + 3x, sqrt(x), 2^x or sin(x). The endpoints can be whole numbers, fractions or values such as pi/2. For points and tables you can add units, such as miles and hour.
- Read the rate as an exact fraction and a decimal, with f(a), f(b), Δy, Δx and the secant line equation.
- Look at the graph: the curve, the secant line, the Δx and Δy legs and, for functions, the tangent line where the instantaneous rate equals the average rate.
- Open Show steps to see each substitution. In table mode you also get the rate on every interval and a check for a constant rate.
The average rate of change formula
Average rate of change = (f(b) − f(a)) / (b − a) = Δy / Δx. Here a and b are the start and end x-values, f(a) and f(b) are the outputs there, Δy is the change in output and Δx is the change in input. Between two points (x₁, y₁) and (x₂, y₂), the same formula reads (y₂ − y₁) / (x₂ − x₁).
Geometrically, the average rate of change is the slope of the secant line through (a, f(a)) and (b, f(b)). Its unit is “output units per input unit”, such as miles per hour or dollars per week. A positive rate means the function rose overall on the interval, a negative rate means it fell, and 0 means it ended where it started.
Worked examples
Example 1: a cubic function on an interval
Find the average rate of change of f(x) = 2x³ on [0, 2]. First f(0) = 2 · 0³ = 0 and f(2) = 2 · 2³ = 16. Then (16 − 0) / (2 − 0) = 16 / 2 = 8. On average, f rises by 8 for each unit of x, even though it rises slowly near 0 and quickly near 2.
Example 2: between two points
For the points (−1, 6) and (3, −2): Δy = −2 − 6 = −8 and Δx = 3 − (−1) = 4, so the rate is −8 / 4 = −2. The output drops 2 units for every unit increase in x.
Example 3: from a table of data
A plant’s height is measured each day.
| Day | 0 | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|
| Height (cm) | 2 | 4 | 7 | 11 | 14 | 17 |
From day 0 to day 5, the average rate is (17 − 2) / (5 − 0) = 15 / 5 = 3 cm per day. The day-by-day rates are 2, 3, 4, 3 and 3 cm per day. They are not all equal, so the growth is not linear, and 3 cm per day is the overall average.
Example 4: a fraction answer
For f(x) = √x on [1, 9]: f(1) = 1 and f(9) = 3, so the rate is (3 − 1) / (9 − 1) = 2/8 = 1/4. Average rates are often fractions; keep them exact unless a decimal is asked for.
Average rate of change for common functions
| f(x) | Interval | Average rate of change |
|---|---|---|
| 3x − 2 | any [a, b] | 3 (a line has a constant rate) |
| x² | [1, 4] | (16 − 1)/3 = 5 |
| x³ | [0, 2] | (8 − 0)/2 = 4 |
| 2ˣ | [0, 3] | (8 − 1)/3 = 7/3 |
| 1/x | [1, 4] | (1/4 − 1)/3 = −1/4 |
| sin x | [0, π/2] | 1/(π/2) = 2/π ≈ 0.6366 |
Average rate of change vs. instantaneous rate of change
The average rate describes a whole interval. The instantaneous rate describes a single point: it is the derivative f′(x), the slope of the tangent line. You can see the link in the difference quotient (f(a + h) − f(a)) / h, which is the average rate on [a, a + h]. As h shrinks toward 0, the secant line turns into the tangent line and the average rate becomes f′(a). Try it with the difference quotient calculator and the derivative calculator.
For f(x) = x² on [1, 4], f′(x) = 2x, so the instantaneous rate is 2 at x = 1 and 8 at x = 4, while the average rate is 5. The Mean Value Theorem says a smooth function has at least one point c between a and b where f′(c) equals the average rate. Here 2c = 5 gives c = 2.5, and the calculator draws that tangent line.
Average rate of change and slope
For a straight line, the average rate of change is the slope, and it is the same on every interval. That is why a constant average rate of change means the graph is a straight line. For a curve, the average rate depends on the interval you pick. The table mode checks this for you: equal rates on every interval mean the data are linear.
Common mistakes
- Mixing the order of subtraction. If you use f(b) − f(a) on top, use b − a on the bottom. Reversing only one of them flips the sign.
- Dividing the wrong way. The rate is Δy / Δx, output over input, not Δx / Δy.
- Subtracting x-values instead of outputs. The top is f(b) − f(a), not b − a and not f(b) − a.
- Losing a negative sign. Use parentheses: 3 − (−1) = 4, and (−1)² = 1, not −1.
- Rounding too early. Keep fractions such as 7/3 exact until the end.
- Dropping units. “3” is incomplete. “3 cm per day” answers the question.
Checking your homework
Solve the problem by hand, then compare. Before you calculate, estimate: if f goes from 1 to 16 over 3 units, the rate must be about 5. If your answer differs from the calculator’s, open the steps and find the first line where the two disagree. It is usually a sign error in f(a) or the order of subtraction.
Average rate of change practice quiz: 10 questions
Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.
f(2) = 4 and f(5) = 25, so (25 − 4)/(5 − 2) = 21/3 = 7. 21 is only the change in output.
A linear function changes at a constant rate equal to its slope, 3, on every interval.
(150 − 30)/(3 − 1) = 120/2 = 60 miles per hour. Dividing 120 by 3 or 150 by 3 uses the wrong numbers.
f(−1) = −1 + 1 = 0 and f(2) = 8 − 2 = 6, so (6 − 0)/(2 − (−1)) = 6/3 = 2.
(4 − 12)/(7 − 3) = −8/4 = −2. The output fell, so the rate is negative.
The average rate is (36 − 0)/6 = 6. Since f′(x) = 2x, 2c = 6 gives c = 3 (the Mean Value Theorem point).
The average rate is Δy/Δx between the two endpoints, which is the slope of the secant line joining them. The tangent slope is the instantaneous rate.
Quiz complete
Frequently asked questions
What is the average rate of change formula?
Average rate of change = (f(b) − f(a)) / (b − a), the change in output divided by the change in input. For f(x) = x² from x = 1 to x = 4, it is (16 − 1) / (4 − 1) = 5.
How do you calculate the average rate of change over an interval?
Evaluate the function at both endpoints, subtract the outputs, subtract the inputs in the same order, and divide. For 2x³ on [0, 2]: (16 − 0) / (2 − 0) = 8.
How do you calculate the average rate of change from a table?
Pick the two rows that match the interval, then divide the change in the y-column by the change in the x-column. A plant that grows from 2 cm on day 0 to 17 cm on day 5 grows at an average of 15 / 5 = 3 cm per day. Include the units in your answer.
How do you calculate the average rate of change between two points?
Use (y₂ − y₁) / (x₂ − x₁). For (−1, 6) and (3, −2), that is (−2 − 6) / (3 − (−1)) = −8 / 4 = −2.
Can the average rate of change be a fraction?
Yes. For √x on [1, 9], the rate is (3 − 1) / (9 − 1) = 2/8 = 1/4. It can also be negative or zero.
What is the average rate of change formula in calculus?
In calculus it is the slope of the secant line, (f(b) − f(a)) / (b − a), often written with h = b − a as (f(a + h) − f(a)) / h. Taking the limit as h approaches 0 gives the derivative, the instantaneous rate of change.
Related calculators
- Slope calculator
- Difference quotient calculator
- Derivative calculator
- Tangent line calculator
- Function grapher
- Percent change calculator
More calculus calculators
Related to This Article
More math articles
- Free Grade 3 Math PDFs for Kentucky KSA: 49 Single-Skill Worksheets with Step-by-Step Keys
- Free Grade 4 English Worksheets for ACT Aspire Students
- Mobilizing the Economy and the Home Front
- The Best Grade 7 Math Book for Massachusetts Students
- Timing, Stamina, and Test Day
- How to Master the Concept of Continuity over an Interval
- The Minnesota MCA Grade 5 Math Worksheet Set — 49 Free Printable PDFs to Print and Hand Over
- The Ultimate ALEKS Math Course (+FREE Worksheets & Tests)
- FREE 3rd Grade NYSE Math Practice Test
- From Tables and Graphs to Equations: How to Master Proportional Relationships






What people say about "Average Rate of Change Calculator: Function, Points, Table"?
No one replied yet.