An average rate of change calculator finds how fast a quantity changes between two points: the change in y divided by the change in x. It also gives the absolute change, the percent change, the angle of the line and, for a polynomial function, the instantaneous rate of change at a point. Enter two points, or a function and the interval, and press the button. The rule follows the Wikipedia page on slope, and the work is done in your browser. It serves as an absolute change calculator too.
How to use the average rate of change calculator
- Choose to start from two points or from a function.
- Enter the coordinates, or the function and the values a and b.
- Press Calculate.
The formula
The Wikipedia page on slope gives the slope as the rise divided by the run: (y₂ − y₁)/(x₂ − x₁). The average rate of change of a quantity between two points is exactly this slope. For the points (1, 2) and (3, 8), the change in y is 6, the change in x is 2, and the average rate of change is 3. The page works through other examples: for (4, 15) and (3, 21) the slope is (21 − 15)/(3 − 4), which is −6, and for (2, 8) and (3, 20) it is 12. A positive value means that y rises as x rises, a negative value means it falls, and zero means no change.
Absolute change and percent change
The absolute change is the difference in the values, y₂ − y₁, in the units of y. The percent change compares it with the starting value. The page on percentages explains that a change of x percent means the new value is the old value times (1 + 0.01x). For a rise from 2 to 8, the change is 6, which is 300 percent of 2, and 2 × (1 + 3) is 8. If the starting value is 0, a percent change cannot be defined, and the calculator says so.
The angle of the line
The page also notes that the slope equals the tangent of the angle the line makes with the x-axis, so the angle is the arctangent of the slope. A slope of 12 corresponds to an angle of about 85.2 degrees, as the page states for the points (2, 8) and (3, 20). The calculator gives the angle in degrees, which is a quick way to picture how steep the change is. Keep in mind that the angle depends on the scales of the two axes, so it describes the line on a graph with equal scales.
Average rate of change of a function
For a function f, the average rate of change from x = a to x = b is (f(b) − f(a))/(b − a). Type the function as a polynomial, such as x^2, and enter a = 1 and b = 3. The values are f(1) = 1 and f(3) = 9, so the rate is (9 − 1)/2, which is 4. For the function x³ − 2x from 0 to 2, the values are 0 and 4, so the rate is 2. The calculator shows both function values.
Instantaneous rate of change
As the interval gets smaller, the average rate of change approaches the instantaneous rate at a point, which is the slope of the tangent line and equals the derivative. The slope page gives the example of y = x² at the point (−2, 4), where the tangent slope is −4. Enter x^2 and a = −2 with no b, and the calculator gives −4. For polynomials the derivative is exact, since each term c·xⁿ has the derivative n·c·xⁿ⁻¹.
Where rates of change appear
Speed is the rate of change of distance, acceleration the rate of change of speed, and growth rates describe the change in a population or a price. In business, the change in sales per month is a rate of change. Looking at the average rate over different intervals shows whether the change is steady or speeding up. If the average rates over equal intervals are all the same, the relationship is linear.
A worked example with a graph
Suppose a plant is 12 cm tall after 2 weeks and 30 cm tall after 5 weeks. The change in height is 18 cm over 3 weeks, so the average rate of change is 6 cm per week. The percent change is 18 divided by 12, which is 150 percent. If the plant grows steadily, you can predict its height at any time with the line y = 6x, and the calculator's angle shows how steeply it rises on the graph.
Typing tips
Type the function with ^ for powers, such as x^3 − 4x + 1, and use brackets for products, such as (x + 1)(x − 2). Leave the second x empty if you only want the instantaneous rate at a point.
Common mistakes
- Subtracting in a different order for x and y. Use the same order for both.
- Mixing up average and instantaneous rates. The first is over an interval, the second at a point.
- Using the same x twice. The change in x cannot be zero.
- Forgetting the units. The rate is in units of y per unit of x.
- Calculating percent change from the wrong base. Divide by the starting value.
What next
Use this often? Add Rate of Chan to your Home screen.
Frequently asked questions
What is an average rate of change calculator?
A tool that finds how much y changes per unit change in x between two points, which is the slope of the line through them.
What is the formula for the average rate of change?
(y₂ − y₁)/(x₂ − x₁), or (f(b) − f(a))/(b − a) for a function. For (1, 2) and (3, 8) it is 3.
What is the absolute change?
The difference y₂ − y₁ in the units of y. The percent change divides it by the starting value.
What is the instantaneous rate of change?
The slope of the tangent at a point, which is the derivative. For y = x² at x = −2 it is −4.
What does a negative rate of change mean?
That y decreases as x increases.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.