Average Rate of Change Calculator
Compute [f(b)−f(a)]/(b−a) for a function.
About this tool
Enter a function and an interval to get the slope of the secant line across it. For f(x) = x² on [1, 3], the average rate of change is (9 − 1) ÷ 2 = 4.
How to use
How it works
The average rate of change is the change in output divided by the change in input, which equals the slope of the line through (a, f(a)) and (b, f(b)). As b moves toward a, it approaches the derivative.
(f(b) − f(a)) ÷ (b − a)
Worked example
A cubic with a linear term
- Input
- f(x) = x^3 − 2*x on [0, 2]
- Output
- 2
- Walkthrough
- f(0) = 0 and f(2) = 8 − 4 = 4, so the rate is (4 − 0) ÷ (2 − 0) = 2.
Limitations
- a and b must be different numbers.
- Write products with *, like 2*x.
Questions
What is the average rate of change of x² from 1 to 3?
What is the average rate of change of x³ − 2x from 0 to 2?
Is it the same as the derivative?
Features
- Any function of x
- Secant slope
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Finding a percentage
Khan Academy
Percentage basics used across many calculator pages.
Watch on YouTubeVariables, expressions, and equations
Khan Academy
Expression language for scientific and expression calculators.
Watch on YouTube
- Scientific Notation
Math is Fun
Powers of ten for scientific calculator displays.
- Order of Operations
Math is Fun
PEMDAS/BODMAS when expression calculators surprise you.