ThisCalculator

Everyday

Rate of Change Formula Calculator for Graphs

Updated · Standard formula, shown below

Average rate of change 2.00 (y₂ - y�)/(x₂ - x�)
Change in y (Δy)
8.00
Result
Change in x (Δx)
4.00
Result
x�
1
You entered

Rate of Change Formula Calculator for Graphs

This calculator finds the average rate of change between two points on a graph. You enter the x- and y-coordinates of the two points, and it returns the slope of the straight line connecting them, which is the average rate of change over that interval. The result is a single number with the same units as y divided by x.

Formula

The average rate of change of a function y = f(x) between two points (x�, y�) and (x₂, y₂) is:

Average rate of change = (y₂ − y�) / (x₂ − x�)

This is exactly the slope of the secant line that passes through the two points. Each variable is:

  • x�, y� – coordinates of the first point (same units as the graph axes)
  • x₂, y₂ – coordinates of the second point
  • Δy = y₂ − y� – vertical change (rise)
  • Δx = x₂ − x� – horizontal change (run)

The result has units of y per x. For example, if y is distance in miles and x is time in hours, the rate is miles per hour.

Worked Example

Using the default values from the calculator: point 1 is (1, 3) and point 2 is (5, 11).

  1. Find Δy: 11 − 3 = 8
  2. Find Δx: 5 − 1 = 4
  3. Divide: 8 ÷ 4 = 2

The average rate of change is 2. This means that on average, for every 1 unit increase in x, y increases by 2 units. The calculator rounds to 2 decimal places, so it shows 2.00.

When to Use Average Rate of Change

Average rate of change is useful whenever you need a single number that summarises how a quantity changes over an interval. Common situations include:

  • Speed over a trip: total distance divided by total time (even if speed varied)
  • Population growth between two census years
  • Temperature change over a day
  • Stock price movement over a week (though this is not investment advice)
  • Velocity from a position-time graph

The key idea is that you are comparing two distinct points and ignoring everything that happens in between. The result is the slope of the straight line that would connect those two points on the graph.

How to Read the Result

A positive rate means y increases as x increases. A negative rate means y decreases as x increases. A zero rate means y did not change at all over the interval.

The magnitude tells you how steep the average change is. A rate of 5 means y changes 5 units per 1 unit of x; a rate of 0.2 means y changes only 0.2 units per 1 unit of x.

Remember that this is an average. The actual function could rise and fall many times between the two points; the average rate only describes the net change.

Common Mistakes and Pitfalls

  • Reversing the order: You must use the same point as “first� for both x and y. If you use (x�, y₂) and (x₂, y�), you get the wrong sign and often the wrong magnitude.
  • Unit mix-ups: If x is in minutes and y is in meters, the rate is meters per minute, not meters per second. Convert units before dividing if you need a different rate.
  • Dividing by zero: If x� = x₂, the denominator is zero. The average rate of change is undefined because you cannot divide by zero. On a graph, this would be a vertical line, which has no slope.
  • Rounding too early: Round only the final answer, not intermediate steps. Rounding Δy or Δx first can change the result noticeably.
  • Confusing with instantaneous rate: The average rate over an interval is not the same as the instantaneous rate at a point. The instantaneous rate is the limit of the average rate as the interval shrinks to zero (the derivative).

Limits of the Formula

This formula only works for two points. It cannot tell you anything about what happens between those points. If the function is not a straight line, the average rate is not the same as the slope at any particular point inside the interval.

The formula also assumes both coordinates are real numbers. If you are working with discrete data (like monthly sales figures), the average rate is still meaningful, but it represents the average change per time unit, not a continuous slope.

For a curved graph, the average rate of change over a large interval can be very different from the rate over a small interval. Always consider the size of the interval when interpreting the result.

How to Choose the Right Points

Choose points that represent the start and end of the period you care about. For example:

  • To find the average speed of a car trip, use the starting time and distance (often 0, 0) and the ending time and distance.
  • To find the average growth of a plant over a month, use the height at the beginning and end of the month.
  • To compare two years of data, use the values from those exact years.

If you want the average rate over several intervals, you can compute each pair separately, or use a regression line for the whole dataset. The average rate between two points is not the same as the average of multiple smaller intervals unless the function is linear.

Frequently Asked Questions

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

For a straight line, they are identical. For a curve, the slope at a point is the instantaneous rate of change (the derivative), while the average rate of change is the slope of the secant line between two points. The average rate is a single number for the whole interval; the slope at a point describes the behaviour at exactly that point.

Can the average rate of change be negative?

Yes. If y decreases as x increases, the numerator (y₂ − y�) will be negative while the denominator is positive, giving a negative rate. A negative rate means the quantity is declining on average over that interval.

What if the graph is not a straight line?

The formula still works – it gives the average rate over the interval, which is the slope of the straight line connecting the two points. That line is called a secant line. The actual function may curve above or below that line, but the average rate is still a valid summary of the net change.

What units does the result have?

The result has the units of y divided by the units of x. For example, if y is in dollars and x is in years, the rate is dollars per year. If y is in meters and x is in seconds, the rate is meters per second.

Why do I get an error when x� equals x₂?

Because the denominator becomes zero. Dividing by zero is undefined in mathematics. On a graph, this corresponds to a vertical line, which has no slope. You need two distinct x values to compute a rate of change.

How is this different from the derivative?

The derivative is the instantaneous rate of change at a single point, found by taking the limit of the average rate as the interval approaches zero. The average rate uses two fixed points and gives the overall change over that interval. The derivative is a limit, while the average rate is a simple ratio.

Related

Formula used
in x1 | x� | - | 1 | 0
in y1 | y� | - | 3 | 0
in x2 | x₂ | - | 5 | 0
in y2 | y₂ | - | 11 | 0
out roc | Average rate of change | (y₂ - y�)/(x₂ - x�) | (y2 - y1)/(x2 - x1) | 2
out dy | Change in y (Δy) | - | y2 - y1 | 2
out dx | Change in x (Δx) | - | x2 - x1 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.