Average Rate of Change Calculator
Hand the tool two points, such as the pair (1, 3) and (5, 11), and it returns the average rate of change for you. That figure is the slope of the straight line joining both points, so the page also lists the rise of 8, the run of 4 and the equation y = 2x + 1. Nothing leaves your browser.
| Average rate of change | |
| Rise (y2 minus y1) | |
| Run (x2 minus x1) | |
| Secant line | |
| Check at the first point | |
The average rate of change between two points is the slope of the straight line joining them. All calculations happen in your browser and nothing is uploaded.
Give the tool two points and read off the average rate of change between them, with the rise, the run and the secant line equation displayed beside it.
Key takeaways
- The average rate of change is rise over run: take (y2 minus y1) and divide by (x2 minus x1)
- Between the points (1, 3) and (5, 11) the rate is 8 divided by 4, which equals 2 units of y per unit of x
- The answer is the slope of the secant line that crosses the graph at both points
- A negative result means the output fell as the input grew, and a result of 0 means the output held steady
- Two points with the same x value give an undefined rate, since the run is 0 and division by 0 is impossible
On this page
- What the average rate of change tells you
- The formula and how to run it by hand
- Two worked examples with real units
- Secant lines, slope, and where the derivative begins
- Negative answers, zero, and the undefined case
- Reading the rate from tables, graphs and word problems
- Slips that scramble the answer
- What the calculator returns
What the average rate of change tells you
Drive 180 miles in 3 hours and the trip averaged 60 miles per hour, even if you crawled in traffic and sped up later. That 60 is an average rate of change: one number that summarizes how fast a quantity moved across an interval. Math takes two snapshots, an input of 0 hours with an output of 0 miles and an input of 3 hours with an output of 180 miles, and reports the net movement per unit of input.
The idea applies to anything measured against anything else. A savings balance measured in months, a plant measured in days, a temperature curve measured in hours: pick two points and the average rate of change answers how much the output swung for each single step of the input. It cannot tell you what happened between the snapshots, only the net result, which is exactly what the word average is there to admit. Paul's online notes at Lamar University introduce slope with the same two-point picture used here.
| Snapshot | Input | Output | Net change | Average rate |
|---|---|---|---|---|
| Drive | 0 to 3 hours | 0 to 180 miles | 180 miles | 60 mph |
| Savings | month 1 to month 6 | 1200 to 1740 dollars | 540 dollars | 108 per month |
| Temperature | 1 pm to 5 pm | 61 to 74 degrees F | 13 degrees | 3.25 per hour |
The formula and how to run it by hand
For two points (x1, y1) and (x2, y2), the average rate of change is (y2 minus y1) divided by (x2 minus x1). In function notation the same thing is written (f(b) minus f(a)) divided by (b minus a). The top of the fraction is the rise, the bottom is the run, and the quotient inherits its units from both: degrees per hour, dollars per month, miles per gallon.
Run one by hand to see the machinery. Points (2, 10) and (6, 26): the rise is 26 minus 10, or 16. The run is 6 minus 2, or 4. Divide 16 by 4 and the rate is 4, meaning the output gained 4 units for every 1 unit the input advanced. Subtract in the same order on top and bottom; mixing orders flips the sign. OpenStax's College Algebra, section 3.3 works this same quotient and then reads it off graphs.
| Step | Using (2, 10) and (6, 26) |
|---|---|
| 1. Subtract the outputs | 26 - 10 = 16 (the rise) |
| 2. Subtract the inputs | 6 - 2 = 4 (the run) |
| 3. Divide | 16 / 4 = 4 |
| 4. Attach units | 4 output units per 1 input unit |
Two worked examples with real units
First, temperature. A morning log reads 61 degrees at 1 pm and 74 degrees at 5 pm. The rise is 74 minus 61, or 13 degrees. The run is 5 minus 1, or 4 hours. The average rate of change is 13 divided by 4, or 3.25 degrees per hour. Between those snapshots the afternoon could have warmed, cooled and warmed again; the single number 3.25 reports only the net climb.
Second, money. A balance sits at 1200 dollars in January and 1740 dollars in June, five monthly statements later. The rise is 540 dollars over a run of 5 months, giving 108 dollars per month. If deposits and withdrawals bounced around in between, the average still lands on 108, because averages erase the wiggle. Both examples show why writing the units on the answer matters: 3.25 and 108 are meaningless until per hour and per month ride along.
| Example | Points | Rise | Run | Average rate |
|---|---|---|---|---|
| Temperature | (1, 61) and (5, 74) | 13 | 4 | 3.25 degrees per hour |
| Savings | (1, 1200) and (6, 1740) | 540 | 5 | 108 dollars per month |
| Plant height | (0, 4.5) and (14, 11.7) | 7.2 | 14 | 0.51 inches per day |
Secant lines, slope, and where the derivative begins
Draw a curve and mark the two points. The straight line through them is the secant line, and its slope is the average rate of change by definition. That is the bridge to the rest of calculus: slide the second point along the curve toward the first and the secant pivots until, in the limit, it becomes the tangent line. The slope of that tangent is the instantaneous rate of change, better known as the derivative.
So the two ideas differ only in how wide the interval is. The average rate covers a stretch, the instantaneous rate covers a moment. A car trip averaging 60 mph may never touch 60 on the speedometer; the derivative at each instant tells you what the needle read at that moment. Wolfram MathWorld's entry on slope collects the formal identities if you want the algebra behind the picture. For most practical questions, a secant across a sensible interval is the honest number anyway, since measurements themselves arrive as snapshots.
| Question | Average rate of change | Instantaneous rate |
|---|---|---|
| Interval | a stretch between two points | one single moment |
| Picture | secant line through both points | tangent line touching the curve |
| Tool | (y2 - y1) / (x2 - x1) | derivative of the function |
| Trip example | 60 mph for the whole drive | speedometer reading at each instant |
Negative answers, zero, and the undefined case
A negative result is information, not an error. A stock that slipped from 84 to 63 over 3 trading days has a rate of (63 minus 84) divided by 3, which is minus 7 dollars per day. The minus sign says the output fell while the input advanced. Zero is equally meaningful: a value pinned at 45 for every input has rise 0, run 5, and an average rate of 0, a flat line.
One input breaks the formula. Two points sharing the same x value, such as (3, 2) and (3, 9), produce a run of 0, and 7 divided by 0 has no answer. Geometrically that pair sits on a vertical line, whose slope is undefined rather than infinite. When the tool receives matching x values it reports the rise and run and flags the division instead of printing a number. Real data hits this case more than people expect, usually through a typo that duplicated an x value while the y values drifted.
| Points | Rise / Run | Result | Meaning |
|---|---|---|---|
| (0, 84) and (3, 63) | -21 / 3 | -7 | falling, 7 units down per step |
| (0, 45) and (5, 45) | 0 / 5 | 0 | flat, no net change |
| (3, 2) and (3, 9) | 7 / 0 | undefined | vertical, division by 0 |
Reading the rate from tables, graphs and word problems
Tables hand you the points for free: any two rows work, and the same pair must be used top and bottom. From rows (10, 32) and (25, 47), the rise is 15 and the run is 15, a rate of 1 output unit per input unit. Graphs require a steadier eye: find each point, count the vertical gap, count the horizontal gap, then divide. Counting beats estimating angles, because the eye judges steepness poorly.
Word problems hide the points in sentences. Grew from 4.5 inches to 11.7 inches over 14 days packs (0, 4.5) and (14, 11.7) into one line. Always ask what the input counts and what the output measures before dividing, because the units decide the label on the answer: inches per day, dollars per year, gallons per mile. A rate with units reads as a claim about the world; a bare number reads as nothing. This is also the fastest self-check, since a temperature answer labeled dollars per hour is a sign the subtraction went in the wrong order somewhere.
| Source | What to grab | Watch out for |
|---|---|---|
| Table | any two rows, same order top and bottom | rows listed out of order |
| Graph | count rise, then run, between marked points | miscounting grid squares |
| Word problem | the before and after values | unstated units on either axis |
Slips that scramble the answer
Order is the big one. The formula demands output-second minus output-first over input-second minus input-first. Compute (y1 minus y2) while keeping the run in the other order and the sign flips, turning a growth of 2 into a decline of 2. Subtraction in a fraction is not symmetric, so fix the order before touching the numbers.
The other slips are quieter. Swapping rise and run divides by the wrong base and reports 0.5 hours per degree instead of 2 degrees per hour. Mixing units, say minutes on one point and hours on the other, wrecks the quotient silently. And trusting the average across the middle is its own mistake: between (1, 3) and (5, 11) the graph might dip below 3 and spike above 11, and the average rate of 2 never mentions it. None of these breaks the arithmetic; each one breaks the story the number is supposed to tell.
| Slip | Looks like | Guard |
|---|---|---|
| Reversed subtraction | sign flipped | second minus first, both rows |
| Rise and run swapped | units inverted | outputs on top, inputs below |
| Mixed units | quotient off by 60 or 1000 | convert before dividing |
| Same x twice | division by 0 | check the two inputs match |
What the calculator returns
Enter x1, y1, x2 and y2, and the tool computes the rise, the run, and their quotient to six decimal places. It also writes the equation of the secant line through your two points, in y equals mx plus b form, so the average rate of change arrives attached to the line that carries it. Matching x values produce a flagged undefined result rather than a crash.
| Inputs | Rise / Run | Average rate | Secant line |
|---|---|---|---|
| (1, 3) and (5, 11) | 8 / 4 | 2 | y = 2x + 1 |
| (2, 10) and (6, 26) | 16 / 4 | 4 | y = 4x + 2 |
| (1, 61) and (5, 74) | 13 / 4 | 3.25 | y = 3.25x + 57.75 |
| (0, 84) and (3, 63) | -21 / 3 | -7 | y = -7x + 84 |
Use the line equation as a free check: plug either original point back in and the output should return whatever you started with. For (1, 3) and (5, 11), the line y = 2x + 1 sends 1 to 3 and 5 to 11, confirming both ends of the interval. If the check fails, one of the four inputs was typed wrong, and the mismatch will point at which one.
Frequently asked questions
What is the average rate of change?
It is the net change in the output divided by the net change in the input between two points. For (1, 3) and (5, 11), the output moves 8 while the input moves 4, so the rate is 2.
How do you calculate the average rate of change between two points?
Subtract the y values, subtract the x values in the same order, then divide. Between (2, 10) and (6, 26): (26 - 10) / (6 - 2) = 16 / 4 = 4.
What is the average rate of change of a car that travels 180 miles in 3 hours?
60 miles per hour. The points are (0, 0) and (3, 180), the rise is 180 miles and the run is 3 hours, so 180 / 3 = 60.
Is the average rate of change the same as slope?
For a straight line, yes, they are identical. For a curve, the average rate equals the slope of the secant line through the two chosen points, while the curve itself has a different slope at every single spot.
What does a negative average rate of change mean?
The output fell as the input rose. A stock dropping from 84 to 63 over 3 days gives (63 - 84) / 3 = -7, or a loss of 7 dollars per day.
Can the average rate of change be zero?
Yes. Points (0, 45) and (5, 45) have a rise of 0 and a run of 5, so the rate is 0, meaning the output held steady across the interval.
Why is the average rate of change undefined when the x values match?
Matching x values give a run of 0, and dividing by 0 is impossible. The two points sit on a vertical line, which has no defined slope.
How is the average rate of change different from the derivative?
The average rate spans an interval and matches the secant line's slope. The derivative measures one instant and matches the tangent line. Shrink the interval toward a single point and the average approaches the derivative.
What is the average rate of change from a table of values?
Pick any two rows and apply the formula. From rows (10, 32) and (25, 47): (47 - 32) / (25 - 10) = 15 / 15 = 1 output unit per input unit.
How do you find the average rate of change on a graph?
Mark the two points, count the vertical gap for the rise and the horizontal gap for the run, then divide rise by run. Counting grid squares beats eyeballing steepness.
What units should the answer carry?
The output's units over the input's units. A temperature graph gives degrees per hour, a bank balance gives dollars per month, and a fuel reading gives gallons per mile. A rate without units says nothing.
Can a function have different average rates over different intervals?
Yes, and on a curve it almost always does. The straight line through (1, 3) and (5, 11) holds a rate of 2 across every subinterval, but a curve passing through those same two points can climb fast at first and flatten later, so each smaller interval gets its own secant and its own number.
Why does the tool also show a line equation?
The average rate of change is the slope of the secant line through your two points, so the equation y = mx + b packages both together. Plugging either point back into the equation checks the whole calculation.
Spotted a wrong number or a broken result?
More Math tools
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.