🇺🇸 USC
Math & Conversion
📈

Rate of Change Calculator

Average rate of change between two points, over an interval or as a percent

Last updated September 2026

Method: The average rate of change uses the exact definition (y₂ − y₁) ÷ (x₂ − x₁), written for a function as (f(b) − f(a)) ÷ (b − a). Percent rates divide the change by the starting value; the compound rate is the constant per-period growth factor.

Included: Rate from two points as a fraction and a decimal, the line through both points, total and per-period percent change, simple and compound percent rates, a polynomial mode with f(a), f(b), the secant line, the derivative and a six-step interval table.

Not included: Trigonometric, exponential and logarithmic functions, implicit curves, and multivariable rates. The function mode accepts polynomials with whole-number powers up to 10.

📈 What are you measuring?

First point (x₁, y₁)
Second point (x₂, y₂)
The result updates automatically as you type.

Average rate of change

3y per unit of x
Increasing
Change in y (rise)
12
Change in x (run)
4
Total percent change
240%
Percent per unit of x
60%

🧮 Step by step

1. Change in y17 - (5) = 12
2. Change in x6 - (2) = 4
3. Rate = Δy ÷ Δx12 ÷ 4 = 3
4. Line through both pointsy = 3x - 1
Across this interval, y changes by 3 for every 1 unit that x increases.
Every result uses the standard definitions: the average rate of change is the change in the output divided by the change in the input, and the percent rate of change divides that change by the starting value. Decimals are rounded for display only.

Rate of change calculator: everything you need to know

The average rate of change is the change in the output divided by the change in the input: (y₂ − y₁) ÷ (x₂ − x₁). For the points (2, 5) and (6, 17) the output rises by 12 while the input rises by 4, so the rate of change is 12 ÷ 4 = 3. This calculator handles three versions of that question: two plain points, a polynomial function over an interval, and a percent rate of change per year, month, week or day.

Three neighboring tools answer closely related questions. The Slope Calculator uses the same arithmetic but frames the answer as the geometry of a line, with the y-intercept, the equation and the angle of incline. The Percentage Change Calculator gives the total percent difference between two numbers when there is no time axis at all. The CAGR Calculator is the finance-specific form of the compound rate below. Use this page when you want the rate itself, with the units and the interval attached.

The rate of change formula

Rate of change answers a single question: how much does the output move for each unit the input moves? The formula is the same whether you call the inputs x-values, hours, weeks or years:

Average rate of change = (y₂ − y₁) ÷ (x₂ − x₁)

Written for a function over the interval from a to b, exactly the same idea reads:

Average rate of change = (f(b) − f(a)) ÷ (b − a)

The numerator is often written as Δy (delta y, the change in the output) and the denominator as Δx (delta x, the change in the input), which is why the rate of change is also read aloud as "delta y over delta x" or "rise over run". Nothing about the formula assumes a straight line: it works on curves, on scattered readings and on a table of measurements, because it only ever looks at the two endpoints.

Worked example: two points

Take the points (2, 5) and (6, 17), the values loaded in the calculator above.

  1. Change in the output: 17 − 5 = 12.
  2. Change in the input: 6 − 2 = 4.
  3. Average rate of change: 12 ÷ 4 = 3.
  4. Line through both points: b = 5 − 3 × 2 = −1, so y = 3x − 1.

The plain reading is that y goes up by 3 units for every 1 unit that x goes up. Expressed as a percentage instead, the output grew from 5 to 17, a total increase of 240% across the interval, which is 60% per unit of x. The absolute rate and the percent rate answer different questions, so the calculator reports both.

Worked example: a function over an interval

Now take the quadratic f(x) = x² + 3x − 5 on the interval from a = 1 to b = 4.

  1. f(1) = 1 + 3 − 5 = −1.
  2. f(4) = 16 + 12 − 5 = 23.
  3. Change in the output: 23 − (−1) = 24.
  4. Width of the interval: 4 − 1 = 3.
  5. Average rate of change: 24 ÷ 3 = 8.

That 8 is the slope of the straight secant line joining the two points on the parabola, namely y = 8x − 9. The curve itself is nowhere near constant: its derivative is f′(x) = 2x + 3, which equals 5 at x = 1 and 11 at x = 4. The single number 8 is the honest average of that whole range, and for a quadratic it is reached exactly at the midpoint, x = 2.5, where f′(2.5) = 8.

Step rates across the same interval

Splitting the interval from 1 to 4 into six half-unit steps shows how much the curve speeds up on the way, even though the six step rates still average out to 8:

x f(x) = x² + 3x − 5 Rate over this step
1.0−1
1.51.755.5
2.056.5
2.58.757.5
3.0138.5
3.517.759.5
4.02310.5

The six step rates run from 5.5 up to 10.5, and their average is 48 ÷ 6 = 8, matching the overall figure. This is the single most useful habit when reading any rate: ask how wide the interval was before you trust the number.

Average versus instantaneous rate of change

Shrinking the interval toward one point turns the average rate into the instantaneous rate, which is what a derivative measures. Starting at x = 2 on the same quadratic, whose derivative there is f′(2) = 7:

Interval Width Average rate of change
2 to 318
2 to 2.50.57.5
2 to 2.10.17.1
2 to 2.010.017.01
2 to 2.0010.0017.001

The averages march steadily toward 7 without ever quite arriving, which is the whole idea behind a limit. In a calculus course the average rate of change is usually taught first precisely so this table makes sense later: the derivative is the value the secant slopes approach as the second point slides into the first.

Percent rate of change

Sometimes the absolute rate is less useful than the relative one. A gain of 100 units means something different starting from 200 than from 20,000. The percent rate of change divides the change by the starting value:

Total percent change = (End − Start) ÷ Start × 100

Spreading that total evenly gives the simple percent rate per period, while the compound rate is the constant percentage that, applied on top of itself each period, actually reproduces the ending value:

Compound rate = ((End ÷ Start)1/n − 1) × 100

The two answers differ, and the gap widens as the total change grows. Starting from 1,000 across 5 periods:

Ends at Change per period Total percent Simple % per period Compound % per period
900−20−10%−2%−2.09%
1,1002010%2%1.92%
1,2505025%5%4.56%
1,50010050%10%8.45%
1,80016080%16%12.47%
2,000200100%20%14.87%
2,500300150%30%20.11%

Doubling from 1,000 to 2,000 in five periods is 20% per period on a simple reading but only 14.87% compound, because each compound step is applied to a bigger base than the one before it. Quote the simple rate for a plain summary and the compound rate whenever the quantity grows on top of itself.

How to use this calculator

  1. Pick a mode. Two points for raw coordinates or two readings, Function f(x) for a polynomial over an interval, Percent change for a value tracked over time.
  2. Two points: type x₁, y₁, x₂ and y₂. The x-values are the inputs (time, distance, quantity) and the y-values are the outputs you measured.
  3. Function mode: type the polynomial using the caret for powers, such as x^2 + 3x - 5, then set the interval endpoints a and b.
  4. Percent mode: enter the starting value, the ending value and how many periods passed, then choose years, months, weeks or days.
  5. Read the headline number at the top of the result card, then check the step-by-step panel below it to see exactly which subtraction and division produced it.
  6. Scroll the table to see the interval broken into steps, or the value at each period under the compound rate.

Everything recalculates as you type, so changing one endpoint and watching the rate move is often more instructive than the single answer.

Who this calculator is for

  • Algebra and pre-calculus students checking homework on average rate of change over an interval.
  • Calculus students comparing the secant slope with the derivative and watching one approach the other.
  • Lab and science students turning a table of timed readings into a rate with the correct units attached.
  • Analysts and operators converting a before-and-after pair into a monthly or yearly rate they can quote.
  • Anyone tracking progress, from pounds per week to dollars per year, who wants the pace rather than the total.

Key terms explained

  • Average rate of change: the change in output divided by the change in input over an interval. Needs exactly two points.
  • Instantaneous rate of change: the rate at a single input, found as the derivative. It is the limit of the average rate as the interval shrinks to nothing.
  • Secant line: the straight line drawn through two points on a curve. Its slope is the average rate of change between them.
  • Tangent line: the line touching a curve at one point. Its slope is the instantaneous rate of change there.
  • Delta (Δ): shorthand for "change in". Δy is the change in the output, Δx the change in the input.
  • Interval: the stretch of inputs from a to b that the average covers. Written as [a, b] in textbooks.
  • Percent rate of change: the change expressed as a share of the starting value, then spread across the periods.

Rates of change in real units

The formula never changes, only the labels on the two axes. Each of these comes from the same division:

Situation Change in output Change in input Rate of change
Odometer 45 to 285 miles240 miles4 hours60 miles per hour
Air 52 °F to 78 °F26 °F9 hours2.89 °F per hour
Weight 186 lb to 171 lb−15 lb10 weeks−1.5 lb per week
Annual cost $1,200 to $1,560$3603 years$120 per year

The last row is a good illustration of why both rates matter: $120 per year is the absolute pace, the total increase is 30%, and the compound rate is 9.14% per year. All three describe the same pair of numbers.

What changes the result the most

  • The width of the interval. A wide interval smooths out everything that happened inside it. The step table above shows rates from 5.5 to 10.5 hiding behind a single average of 8.
  • Which two endpoints you pick. On a curve, moving one endpoint changes the answer even though the function did not change at all.
  • The starting value, for percent rates. The same absolute gain is a huge percentage off a small base and a rounding error off a large one.
  • Simple versus compound. For a doubling over five periods the two readings differ by more than five percentage points.
  • The units on each axis. Reading a rate per month when the inputs were weeks is off by a factor of about 4.3.

Tips for getting it right

  • Write the units into the answer immediately. "8" means little; "8 dollars per year" cannot be misread.
  • Keep the same point first in the numerator and the denominator. Flipping only one of them flips the sign.
  • Subtract carefully with negatives: 23 − (−1) is 24, not 22.
  • On a curve, quote the interval with the rate. "8 on [1, 4]" is a complete answer; a bare "8" is not.
  • When the data grows on top of itself, report the compound rate and say so, rather than dividing the total by the number of periods.
  • Sanity-check the sign before anything else. A falling quantity must produce a negative rate.

Limitations and assumptions

  • The average rate of change only looks at the two endpoints. Everything in between, including peaks, dips and reversals, is invisible to it.
  • The function mode accepts polynomials with whole-number exponents from 0 to 10. Trigonometric, exponential, logarithmic and rational functions are outside its range.
  • A rate is not a forecast. Extending it past the interval assumes the pattern continues, which the arithmetic itself never promises.
  • Percent rates need a non-zero starting value, and the compound rate needs both values to be positive, since a negative base has no real root.
  • Results are rounded for display. Internally the calculation carries full floating-point precision.

How it compares to related calculators

This page answers "how fast is the output changing per unit of input?" If your question is slightly different, a sister tool fits better:

Sources

Every figure on this page is deterministic mathematics rather than sourced data. The average rate of change, (f(b) − f(a)) ÷ (b − a), is an exact definition from algebra and calculus, as is the derivative used to compare the average with the instantaneous rate; both are computed here with standard arithmetic and need no external source. The percent and compound-rate formulas are likewise exact definitions. The worked examples, the step table, the shrinking-interval table and the percent table on this page were each computed directly from those formulas rather than quoted from anywhere. The one place external standards apply is the units in the real-world table: the mile, the pound and the degree Fahrenheit used there follow the U.S. customary definitions maintained by NIST Special Publication 811, Guide for the Use of the International System of Units. No market rates, tax figures or health guidelines are involved.

⚠️ Common mistakes & edge cases

Dividing the wrong way around

Rate of change is change in output divided by change in input, never the reverse. Swapping them turns 60 miles per hour into 0.0167 hours per mile. Writing the units down as you divide catches it instantly.

Mixing the order of the two points

Using y₂ − y₁ on top but x₁ − x₂ underneath flips the sign of the answer. Whichever point you call "second", keep it second in both the numerator and the denominator.

Treating an average as if it held everywhere

An average rate of 8 on [1, 4] does not mean the function grew at 8 the whole way. On f(x) = x² + 3x − 5 the actual rate runs from 5 at the left end to 11 at the right end.

Reading zero as "nothing changed"

The average rate of change of f(x) = x² from −2 to 2 is 0 because both endpoints equal 4, yet the function fell to 0 and climbed back in between. Zero only says the endpoints matched.

Dividing a total percentage by the number of periods

A 100% gain over 5 years is not 20% per year in any compounding sense. The rate that actually reproduces the ending value is 14.87% per year, and quoting 20% overstates the pace.

Forgetting that a vertical pair has no rate

If both readings share the same input, the denominator is 0 and the rate is undefined, not zero. Two measurements taken at the same instant cannot produce a rate of change.

Note: The average rate of change describes the interval you chose. Quote the interval alongside the number so the answer cannot be read as a permanent property of the data.

❓ Frequently asked questions

What is the average rate of change formula?

The average rate of change between two points is (y2 - y1) / (x2 - x1): the change in the output divided by the change in the input. Written for a function it is (f(b) - f(a)) / (b - a) over the interval from a to b. For the points (2, 5) and (6, 17) the change in y is 12 and the change in x is 4, so the average rate of change is 12 / 4 = 3.

How do I find the average rate of change of a function over an interval?

Evaluate the function at both endpoints, subtract, and divide by the width of the interval. For f(x) = x^2 + 3x - 5 on the interval from 1 to 4: f(1) = -1 and f(4) = 23, so the average rate of change is (23 - (-1)) / (4 - 1) = 24 / 3 = 8. That 8 is the slope of the straight line drawn through the two points on the curve.

Is the rate of change the same as the slope?

For a straight line, yes: the slope is the rate of change and it is the same everywhere on the line. For a curve, the average rate of change over an interval equals the slope of the secant line joining the two endpoints, but the curve itself is steeper in some places and flatter in others, so the single average does not describe every point.

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

The average rate of change measures the change across a whole interval, so it needs two points. The instantaneous rate of change measures how fast the output is changing at one single input, and it is the derivative. As you shrink the interval around a point, the average rate closes in on the instantaneous rate: for f(x) = x^2 + 3x - 5 the average rate from 2 to 3 is 8, from 2 to 2.1 it is 7.1, and from 2 to 2.001 it is 7.001, approaching the derivative value of 7 at x = 2.

How do I calculate the percent rate of change?

Divide the change by the starting value and multiply by 100 to get the total percent change, then divide by the number of periods for the simple percent rate per period. Going from 1,000 to 1,500 over 5 years is a total change of 50%, or 10% per year on a simple basis. The compound rate, which is the constant yearly percentage that actually turns 1,000 into 1,500, is 8.45% per year.

Can the average rate of change be negative?

Yes. A negative rate means the output falls as the input rises. If a weight drops from 186 pounds to 171 pounds over 10 weeks, the average rate of change is -15 / 10 = -1.5 pounds per week. The sign carries the direction and the number carries the size, so treat them as one answer rather than dropping the minus sign.

What does a rate of change of zero mean?

A rate of change of zero means the output ended exactly where it started, so the line through the two points is horizontal. Be careful with curves: the average rate of change of f(x) = x^2 from -2 to 2 is 0 because f(-2) and f(2) are both 4, even though the function drops and then rises in between. Zero average does not mean nothing happened.

Why is the rate of change undefined when the two x-values are the same?

The denominator of the formula is x2 - x1. If both points share the same input, that denominator is 0 and division by zero is undefined. On a graph this is a vertical line, and a vertical line has no defined slope. Check your inputs: two readings taken at the same moment cannot produce a rate.

What units does the rate of change have?

The units are always output units per input unit. Miles divided by hours gives miles per hour, dollars divided by years gives dollars per year, and degrees divided by hours gives degrees per hour. Carrying the units through is the fastest way to check that you divided the right way around: a rate of change of 60 mph makes sense, a rate of 0.0167 hours per mile usually does not.

How do I find the rate of change of a linear function like y = 3x + 7?

For a line written as y = mx + b, the rate of change is simply m, the coefficient of x, so y = 3x + 7 has a rate of change of 3 everywhere. The constant b shifts the line up or down but never changes its steepness, which is why the average rate of change of a linear function is the same over every interval you pick.

What is the average rate of change of f(x) = x^2 over an interval?

For f(x) = x^2 the average rate of change from a to b simplifies to a + b. From 1 to 2 it is 3, from 2 to 3 it is 5, and from 3 to 7 it is 10. That shortcut is a useful check on your arithmetic and it also shows why the rate keeps rising as you move to the right along the parabola.

Does the order of the two points matter?

No, as long as you stay consistent. If you put the second point first in the numerator, put it first in the denominator too. Both the numerator and the denominator flip sign, and the two sign changes cancel, so the rate is identical. Mixing the order, which means y2 - y1 over x1 - x2, flips the sign and gives the wrong answer.

Should I use the simple percent rate or the compound percent rate?

Use the simple rate when you want to spread a total change evenly across the periods for a plain-English summary. Use the compound rate when the quantity grows on top of itself, such as a balance, a population or a subscriber count, because that is the constant rate that actually reproduces the ending value. Growing 1,000 to 1,500 in 5 years is 10% per year simple but 8.45% per year compound.

Is this rate of change calculator free?

Yes. The calculator is completely free, needs no sign-up, and runs entirely in your browser, so nothing you type is sent anywhere. Switch between two points, a function over an interval, and a percent change over time as often as you like, and the result, the step-by-step working and the tables update instantly.

💡 Good to know

For f(x) = x², the average rate of change is just a + b

Because the squares factor neatly, the rate from a to b simplifies to a + b: from 1 to 2 it is 3, from 2 to 3 it is 5, and from 3 to 7 it is 10. It is a fast way to check your arithmetic on the most common textbook example.

A straight line has the same rate everywhere

For y = mx + b the average rate of change is m no matter which interval you pick, which is exactly what makes a line linear. If two intervals on your data give different rates, the relationship is not linear.

The average rate is hit exactly somewhere inside the interval

For a smooth curve there is always at least one point where the instantaneous rate equals the average rate. On f(x) = x² + 3x − 5 over [1, 4] that point is x = 2.5, where the derivative is exactly 8.

Related Calculators