Average Rate of Change Calculator

Average Rate of Change Calculator

Calculate average rate of change from two points, a data table, function values, or a function rule over an interval.

Secant slope over an interval

An average rate of change calculator finds how much a function changes between two points. It uses the formula [f(b) - f(a)] / (b - a). The result measures the slope of the secant line between x = a and x = b.

Use this calculator for points such as (2, 5) and (8, 17), a 2-10 point data table, function values such as f(1) and f(4), or a function rule such as x^2 + 3x - 1 over an interval.

The denominator cannot be zero because the two x-values must be different. The final answer is interpreted as output units per 1 input unit.

Choose the information you already have.

Controls rounded output.

Draws the endpoints and secant line.

Input value for the first point.

Output value for the first point.

Input value for the second point.

Output value for the second point.

Formula

(f(b) - f(a)) / (b - a)

Graph meaning

Slope of the secant line

Units

Output units per input unit

How to use the average rate of change calculator

  1. Choose an input method: Use two points, a data table, function values, or a function rule depending on what your problem gives you.
  2. Enter the interval: Type the first input value a or x1 and the second input value b or x2. In table mode, the first and last rows define the overall interval.
  3. Enter or generate outputs: For points, tables, and function values, enter y-values directly. For a function rule, the calculator evaluates f(a) and f(b).
  4. Calculate the result: The calculator finds the change in output, the change in input, and the ratio between them.
  5. Read the graph: The plotted line connects the endpoints and shows the secant slope visually.

Average rate of change formula

The average rate of change of a function on the interval [a, b] compares the total output change to the total input change. It is the same calculation as slope when you are given two points.

Average rate of change = (f(b) - f(a)) / (b - a)

Slope between two points = (y2 - y1) / (x2 - x1)

b cannot equal a

If the result is 4, the output increases by 4 units on average for every 1 unit increase in x. If the result is -2, the output decreases by 2 units on average for every 1 unit increase in x.

Formula reference: Wolfram MathWorld - Average Rate of Change.

What the result tells you

The sign and size of the average rate explain the overall movement from the first endpoint to the second endpoint. It does not describe every local turn inside the interval, but it does summarize the net change.

Positive rate

The final output is higher than the starting output. The function increased overall on the interval.

Negative rate

The final output is lower than the starting output. The function decreased overall on the interval.

Zero rate

The two endpoint outputs are equal. The net change is zero, even if the function moved between them.

Worked examples

Swipe to view the table
Problem type Given Calculation Result
Two points (2, 5) and (8, 17) (17 - 5) / (8 - 2) 2
Function values f(1) = 3, f(4) = 12 (12 - 3) / (4 - 1) 3
Function rule f(x) = x^2 on [1, 5] (25 - 1) / (5 - 1) 6
No net change f(0) = 4, f(6) = 4 (4 - 4) / (6 - 0) 0

Common mistakes to avoid

Most errors come from reversing one subtraction but not the other. If you use f(b) - f(a) in the numerator, use b - a in the denominator. If you reverse the numerator, reverse the denominator too.

Zero denominator

Two points with the same x-value do not have an average rate of change as a function interval.

Units

Write the answer as output units per input unit, such as dollars per month or meters per second.

Average vs instant

Average rate uses two endpoints. Instantaneous rate uses a derivative at one point.

Which input method should you use?

Average rate of change problems can be written as coordinates, a table, or a function equation. The calculation is the same, but the best input method depends on how the problem gives the x-values and y-values.

Swipe to view the table
What you have Best input method What to enter What to check
Two coordinates Two points x1, y1, x2, y2 The two x-values must be different.
A table of values Data table 2-10 ordered points The first and last rows define the overall interval; segment rates compare each pair.
A function rule Function rule f(x), a, and b Both endpoints must be in the function domain.
A word problem Usually function values Starting input/output and ending input/output Keep units attached to the final rate.

Units and real-world interpretation

The result is never just a bare number in an applied problem. It is a rate with output units divided by input units. Reading the units correctly often matters as much as getting the arithmetic right.

Distance over time

If distance changes from 20 miles to 140 miles between 1 hour and 4 hours, the average rate is 40 miles per hour.

Cost over quantity

If total cost changes by 75 dollars when quantity increases by 15 items, the average rate is 5 dollars per item.

Temperature over time

If temperature drops 12 degrees in 6 hours, the average rate is -2 degrees per hour.

Revenue over months

If revenue rises from 8,000 dollars to 14,000 dollars over 3 months, the average rate is 2,000 dollars per month.

Rate-of-change applications reference: Paul's Online Notes, Lamar University - Tangent Lines and Rates of Change.

Average rate of change vs related calculations

Several math ideas use similar words: slope, total change, percent change, and derivative. This table helps you choose the right calculation for the question being asked.

Swipe to view the table
Calculation Uses Formula idea Answer means
Average rate of change Two endpoints on an interval (f(b) - f(a)) / (b - a) Average output change per 1 input unit.
Slope of a line Any two points on a straight line (y2 - y1) / (x2 - x1) Constant rate of change for the whole line.
Instantaneous rate One exact x-value Derivative at that point Tangent slope at one moment or location.
Total change Only the outputs f(b) - f(a) Net increase or decrease, without dividing by interval length.
Percent change Relative change from a starting value (new - old) / old x 100% Change as a percentage of the starting output.

Derivative and rate comparison reference: University of Maryland Mathematics - The Derivative as a Rate of Change.

Frequently Asked Questions

What is an average rate of change calculator in math?

An average rate of change calculator is a math tool that finds how much a function changes on average over an interval. It compares the output difference to the input difference, so the result is the slope between two points on a graph. In algebra, this is often written as the equation (f(b) - f(a)) / (b - a), where a and b are the starting and ending x-values.

Is average rate of change the same as slope on a graph?

Yes, for two points it is exactly the slope between those points. For a nonlinear function, the average rate is the slope of the secant line across the interval, not the slope of the curve at one point. That is why the calculator draws the line through the two endpoint values instead of using a derivative.

How do I find average rate of change from a function formula?

Evaluate the function formula at the two endpoint inputs, then subtract the y-values and divide by the interval width. For example, if f(x) = x^2 on [1, 5], then f(1) = 1 and f(5) = 25, so the average rate is (25 - 1) / (5 - 1) = 6. This is the same difference quotient used to measure change over an interval.

What does a negative average rate of change mean for input and output?

A negative result means the output decreased overall as the input moved from the first x-value to the second x-value. It does not prove the function was decreasing at every moment inside the interval; it only describes the net change between the endpoints. On the graph, the secant line slopes downward from left to right.

Can the average rate of change of an equation be zero?

Yes. A zero average rate means the equation gives the same y-value at both endpoint inputs. The graph may still move up or down between those points, but the total change over the whole interval is zero. In slope language, the secant line through the endpoints is horizontal.

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

Average rate of change uses two endpoints and gives the secant slope across an interval. Instantaneous rate of change uses a derivative and gives the tangent slope at one exact input value. In many algebra and calculus problems, the average rate is a finite difference quotient, while the derivative is the limit of that quotient as the interval becomes smaller.

Disclaimer: This average rate of change calculator is for general educational and informational use only. It provides a numerical result based on the values or expression entered by the user. It may not match every classroom notation, rounding convention, domain restriction, textbook format, graphing convention, or instructor requirement. Always verify the formula, interval, units, and final answer format with your course materials, teacher, or assignment directions.

Last updated: May 20, 2026