Search
Menu

Average Rate of Change Calculator | Solve Instantly

Read average rate of change as a vertical difference divided by a horizontal difference, with units attached.

Quick Answer

Average rate of change is (f(b) − f(a)) ÷ (b − a). It gives the slope of the secant line between the endpoints, so report it in units of output per unit of input.

Secant connecting two points on a plotted curve
Free Algebra & Calculus Tool

Average Rate of Change Calculator

Use this Average Rate of Change Calculator to find the slope between two points, calculate the average rate of change of a function over an interval, compare change in output to change in input, and understand the secant-line formula used in algebra, precalculus, calculus, physics, economics, and real-world data analysis.

Calculate Average Rate of Change

Choose a mode. Enter two points directly, or enter a function with an interval. The calculator gives the average rate of change, slope, difference quotient, and step-by-step substitution.

Math rule: average rate of change is defined only when the two input values are different. If \(x_1=x_2\), the denominator is zero and the rate is undefined.

What Is an Average Rate of Change Calculator?

An Average Rate of Change Calculator is a math tool that measures how much one quantity changes, on average, compared with another quantity over a selected interval. In algebra and precalculus, it is commonly used to find the slope between two points. In calculus, it is used to describe the slope of a secant line across an interval. In real-world problems, it can represent speed, growth rate, cost change, revenue change, population change, temperature change, distance change, profit change, or any situation where an output changes as an input changes. Use the printable calculus worksheets to isolate one technique before trying mixed problems.

The core idea is simple: compare the change in output with the change in input. If the output is called \(y\) and the input is called \(x\), the average rate of change is \(\Delta y/\Delta x\). The Greek letter delta, \(\Delta\), means “change in.” So \(\Delta y\) means change in y, and \(\Delta x\) means change in x.

For example, if a car travels from 20 miles to 140 miles between hour 1 and hour 4, the change in distance is 120 miles and the change in time is 3 hours. The average rate of change is \(120/3=40\) miles per hour. The car may have traveled faster or slower at different moments, but across the whole interval, its average rate is 40 miles per hour.

This calculator is built for students, teachers, tutors, content creators, and anyone learning functions. It supports three practical modes. The two-point mode finds the rate from \((x_1,y_1)\) and \((x_2,y_2)\). The function mode calculates \(f(a)\), \(f(b)\), and the average rate over \([a,b]\). The table mode calculates the rate from selected data-table entries. Together, these modes cover most homework, classroom, and applied examples.

How to Use the Average Rate of Change Calculator

Use the Two Points tab when the problem gives two coordinates. Enter \(x_1\), \(y_1\), \(x_2\), and \(y_2\). The calculator subtracts the first y-value from the second y-value and the first x-value from the second x-value. Then it divides the two differences to return the average rate of change.

Use the Function Over Interval tab when the problem gives a function and an interval. Enter the function, such as x^2 + 2*x + 1, then enter the start value \(a\) and end value \(b\). The calculator evaluates the function at both endpoints, calculates \(f(b)-f(a)\), calculates \(b-a\), and divides. You may use expressions such as x^2, sqrt(x), sin(x), cos(x), tan(x), log(x), ln(x), abs(x), and common arithmetic operations.

Use the Data Table tab when you have a list of x-values and y-values. Enter both lists separated by commas, then choose the start and end index. For example, index 1 means the first pair in the table, and index 4 means the fourth pair. This is helpful for data analysis problems where values are given in table form rather than as a formula.

The result panel shows the average rate of change, change in y, change in x, formula used, and a simple secant-line visual. The graph is not a full graphing calculator; it is a clean educational visual showing two selected points and the line connecting them.

Average Rate of Change Formulas

The average rate of change between two points is:

Average rate of change from two points
\[\text{Average Rate of Change}=\frac{y_2-y_1}{x_2-x_1}\]

The same idea can be written using delta notation:

Delta notation
\[\text{Average Rate of Change}=\frac{\Delta y}{\Delta x}\]

When the values come from a function, use the function-output version:

Average rate of change of a function on \([a,b]\)
\[\text{AROC}=\frac{f(b)-f(a)}{b-a}\]

For a line, the average rate of change is the same on every interval because the slope is constant:

Linear function rate
\[f(x)=mx+c\quad\Rightarrow\quad \text{AROC}=m\]

For a nonlinear function, the average rate of change depends on the selected interval:

Nonlinear function interval dependence
\[\frac{f(b)-f(a)}{b-a}\text{ may change when }a\text{ and }b\text{ change}\]

Average Rate of Change and Slope

Average rate of change and slope are closely connected. When you have two points on a coordinate plane, the average rate of change is exactly the slope of the line passing through those points. This line may be the original line if the function is linear, or it may be a secant line if the function is curved. Use the linear functions and rates of change to compare a constant rate with a variable rate.

Slope measures steepness and direction. A positive rate means the output increases as the input increases. A negative rate means the output decreases as the input increases. A rate of zero means there is no net change in output across the interval. An undefined rate happens when the change in input is zero, because division by zero is not allowed.

If \(x_2-x_1\) is positive and \(y_2-y_1\) is positive, the graph rises from left to right. If \(x_2-x_1\) is positive and \(y_2-y_1\) is negative, the graph falls from left to right. If \(y_2-y_1=0\), the secant line is horizontal. These visual meanings help students connect formula work to graph interpretation.

Function Intervals and Secant Lines

For a function, the average rate of change over \([a,b]\) is the slope of the secant line through \((a,f(a))\) and \((b,f(b))\). A secant line is a straight line that intersects a curve at two points. It summarizes the overall change of the function across that interval.

This is important in calculus because average rate of change leads to instantaneous rate of change. Instantaneous rate of change is the derivative, which can be understood as the limit of average rates over smaller and smaller intervals. If \(b\) gets closer and closer to \(a\), the secant line approaches the tangent line at a point.

Derivative as a limiting average rate
\[f'(a)=\lim_{h\to0}\frac{f(a+h)-f(a)}{h}\]

Even before calculus, average rate of change is useful. It helps students understand how fast a function grows over a chosen interval. For example, a quadratic function may have a small average rate over one interval and a much larger average rate over another interval because the curve becomes steeper.

Real-World Meaning of Average Rate of Change

Average rate of change appears in many real situations. In motion problems, it can represent average speed or average velocity. If distance is measured in miles and time is measured in hours, the rate is miles per hour. In finance, it can represent average profit growth, cost increase, revenue change, or price change per month. In science, it can represent temperature change per minute, population growth per year, concentration change per second, or height change per day.

The units matter. If \(y\) is dollars and \(x\) is months, the result is dollars per month. If \(y\) is meters and \(x\) is seconds, the result is meters per second. If \(y\) is students and \(x\) is years, the result is students per year. Always write the rate with units because the number alone is incomplete.

The word “average” is important. The result summarizes the overall change between two endpoints. It does not necessarily describe what happened at every moment inside the interval. A runner might average 8 miles per hour over a race while speeding up, slowing down, stopping briefly, and accelerating again. A business might average 5,000 dollars per month in revenue growth while some months are higher and others are lower.

Average Rate of Change Examples

Example 1: Find the average rate of change between \((1,3)\) and \((5,15)\). The change in y is:

Example change in y
\[\Delta y=15-3=12\]

The change in x is:

Example change in x
\[\Delta x=5-1=4\]

The average rate of change is:

Example average rate
\[\frac{\Delta y}{\Delta x}=\frac{12}{4}=3\]

Example 2: Find the average rate of change of \(f(x)=x^2+2x+1\) on \([1,4]\). First evaluate the function at both endpoints:

Function endpoint values
\[f(1)=4,\quad f(4)=25\]

Then apply the formula:

Function average rate
\[\text{AROC}=\frac{25-4}{4-1}=\frac{21}{3}=7\]

Example 3: A company’s revenue increases from 80,000 dollars to 116,000 dollars over 6 months. The average rate of change is:

Revenue rate example
\[\frac{116000-80000}{6-0}=6000\text{ dollars per month}\]

Using Average Rate of Change with Tables

A table gives paired input and output values. To find the average rate of change from a table, choose two rows, identify the x-values and y-values, then use the same slope formula. The rows do not need to be adjacent, but the selected x-values must be different.

xyMeaning
01Starting value
25Output after 2 units
417Output after 4 units
637Output after 6 units

Using the first and fourth row, the average rate of change is \((37-1)/(6-0)=6\). Using the second and third row, it is \((17-5)/(4-2)=6\). In some tables, different intervals produce different rates. That usually indicates nonlinear behavior or uneven data.

Common Average Rate of Change Mistakes

The first common mistake is reversing only one subtraction. If you use \(y_2-y_1\), you must also use \(x_2-x_1\). Do not mix \(y_2-y_1\) with \(x_1-x_2\), because that changes the sign. The order must stay consistent.

The second mistake is dividing by zero. If the x-values are the same, there is no average rate of change as a real number. Graphically, the line through the two points would be vertical, and vertical lines have undefined slope.

The third mistake is forgetting units. A result of 12 could mean 12 meters per second, 12 dollars per month, 12 students per year, or 12 degrees per hour. The units come from the y-unit divided by the x-unit.

The fourth mistake is confusing average rate with instantaneous rate. Average rate uses two endpoints. Instantaneous rate uses one point and is usually found with a derivative or a limiting process. In a nonlinear function, these can be very different.

Average Rate of Change Calculator FAQs

What does an average rate of change calculator do?

It calculates how much an output changes per unit change in input between two points or across a function interval.

What is the average rate of change formula?

The formula is \(\frac{y_2-y_1}{x_2-x_1}\). For a function on \([a,b]\), the formula is \(\frac{f(b)-f(a)}{b-a}\).

Is average rate of change the same as slope?

For two points, yes. It is the slope of the line connecting the points. For a curved function, it is the slope of the secant line over the interval.

Can average rate of change be negative?

Yes. A negative result means the output decreases as the input increases over the selected interval.

When is average rate of change undefined?

It is undefined when the two x-values are equal, because the denominator becomes zero.

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

Average rate of change compares two endpoints. Instantaneous rate of change describes the rate at one point and is usually found using a derivative.

Important Note

This Average Rate of Change Calculator is for educational and general math use. It supports common algebraic expressions and numerical calculations, but users should still follow teacher instructions, textbook notation, required rounding rules, and formal graphing requirements for assignments and exams.

Advertisement

Compare two intervals on the same curve

Let the height in metres after t seconds be t squared. From one to three seconds the height rises from one to nine metres. The average rate is eight metres divided by two seconds, or four metres per second. From three to five seconds it rises from nine to twenty-five, giving eight metres per second. Equal time intervals on a nonlinear graph can have different secant slopes.

Calculating and Interpreting Slope

In the examples we have seen so far, we have had the slope provided for us. However, we often need to calculate the slope given input and output values. Given two values for the input, x 1 and x 2 , and two corresponding values for the output, y 1 and y 2 —which can be represented by a set of points, ( x 1 ,   y 1 ) and ( x 2 ,   y 2 ) —we can calculate the slope m, as follows
m= change in output (rise) change in input (run) = Δy Δx = y 2 − y 1 x 2 − x 1
where Δy is the vertical displacement and Δx is the horizontal displacement. Note in function notation two corresponding values for the output y1 and y2 for the function f, y1=f(x1) and y2=f(x2), so we could equivalently write
m= f( x 2 )–f( x 1 ) x 2 – x 1
diagram indicates how the slope of the line between the points, ( x 1, y 1 ) and ( x 2, y 2 ), is calculated. Recall that the slope measures steepness. The greater the absolute value of the slope, the steeper the line is.
Graph depicting how to calculate the slope of a line
The slope of a function is calculated by the change in y divided by the change in x. It does not matter which coordinate is used as the ( x 2, y 2 ) and which is the ( x 1 , y 1 ), as long as each calculation is started with the elements from the same coordinate pair.

Finding the Slope of a Linear Function

If f(x) is a linear function, and ( 3,−2 ) and ( 8,1 ) are points on the line, find the slope. Is this function increasing or decreasing?
Solution
The coordinate pairs are ( 3,−2 ) and ( 8,1 ). To find the rate of change, we divide the change in output by the change in input.
m= change in output change in input = 1−(−2) 8−3 = 3 5
We could also write the slope as m=0.6. The function is increasing because m>0.

Finding the Population Change from a Linear Function

The population of a city increased from 23,400 to 27,800 between 2008 and 2012. Find the change of population per year if we assume the change was constant from 2008 to 2012.
Solution
The rate of change relates the change in population to the change in time. The population increased by 27,800−23,400=4,400 people over the four-year time interval. To find the rate of change, divide the change in the number of people by the number of years.
4,400 people 4 years =1,100 people year
So the population increased by 1,100 people per year.

Writing the Point-Slope Form of a Linear Equation

Up until now, we have been using the slope-intercept form of a linear equation to describe linear functions. Here, we will learn another way to write a linear function, the point-slope form.
y− y 1 =m( x− x 1 )
The point-slope form is derived from the slope formula.
m= y− y 1 x− x 1 assuming x≠ x 1 m( x− x 1 )= y− y 1 x− x 1 ( x− x 1 ) Multiply both sides by ( x− x 1 ). m( x− x 1 )=y− y 1 Simplify. y− y 1 =m( x− x 1 ) Rearrange.
Keep in mind that the slope-intercept form and the point-slope form can be used to describe the same function. We can move from one form to another using basic algebra. For example, suppose we are given an equation in point-slope form, y−4=− 1 2 ( x−6 ) . We can convert it to the slope-intercept form as shown.
y−4=− 1 2 (x−6) y−4=− 1 2 x+3 Distribute the − 1 2 .       y=− 1 2 x+7 Add 4 to each side.
Therefore, the same line can be described in slope-intercept form as y=− 1 2 x+7.

Writing the Equation of a Line Using a Point and the Slope

The point-slope form is particularly useful if we know one point and the slope of a line. Suppose, for example, we are told that a line has a slope of 2 and passes through the point ( 4,1 ). We know that m=2 and that x 1 =4 and y 1 =1. We can substitute these values into the general point-slope equation.
y− y 1 =m( x− x 1 ) y−1=2( x−4 )
If we wanted to then rewrite the equation in slope-intercept form, we apply algebraic techniques.
y−1=2(x−4) y−1=2x−8 Distribute the 2.        y=2x−7 Add 1 to each side.
Both equations, y−1=2( x−4 ) and y=2x–7, describe the same line. See diagram.

Writing Linear Equations Using a Point and the Slope

Write the point-slope form of an equation of a line with a slope of 3 that passes through the point ( 6,–1 ). Then rewrite it in the slope-intercept form.
Solution
Let’s figure out what we know from the given information. The slope is 3, so m=3. We also know one point, so we know x1=6 and y1 =−1. Now we can substitute these values into the general point-slope equation.
      y− y 1 =m(x− x 1 ) y−(−1)=3(x−6) Substitute known values.         y+1=3(x−6) Distribute −1 to find point-slope form.
Then we use algebra to find the slope-intercept form.
y+1=3(x−6) y+1=3x−18 Distribute 3.        y=3x−19 Simplify to slope-intercept form.

Writing the Equation of a Line Using Two Points

The point-slope form of an equation is also useful if we know any two points through which a line passes. Suppose, for example, we know that a line passes through the points ( 0,1 ) and ( 3,2 ). We can use the coordinates of the two points to find the slope.
m= y 2 − y 1 x 2 − x 1    = 2−1 3−0    = 1 3
Now we can use the slope we found and the coordinates of one of the points to find the equation for the line. Let use (0, 1) for our point.
y− y 1 =m( x− x 1 ) y−1= 1 3 ( x−0 )
As before, we can use algebra to rewrite the equation in the slope-intercept form.
y−1= 1 3 (x−0) y−1= 1 3 x Distribute the  1 3 .       y= 1 3 x+1 Add 1 to each side.
Both equations describe the line shown in diagram.

Writing Linear Equations Using Two Points

Write the point-slope form of an equation of a line that passes through the points (5, 1) and (8, 7). Then rewrite it in the slope-intercept form.
Solution
Let’s begin by finding the slope.
m= y 2 − y 1 x 2 − x 1   = 7−1 8−5   = 6 3   =2
So m=2. Next, we substitute the slope and the coordinates for one of the points into the general point-slope equation. We can choose either point, but we will use (5,1).
y− y 1 =m( x− x 1 ) y−1=2( x−5 )
The point-slope equation of the line is y 2 –1=2( x 2 –5). To rewrite the equation in slope-intercept form, we use algebra.
y−1=2(x−5) y−1=2x−10       y=2x−9
The slope-intercept equation of the line is y=2x–9.

Writing and Interpreting an Equation for a Linear Function

Now that we have written equations for linear functions in both the slope-intercept form and the point-slope form, we can choose which method to use based on the information we are given. That information may be provided in the form of a graph, a point and a slope, two points, and so on. Look at the graph of the function f in diagram.
Graph depicting how to calculate the slope of a line
We are not given the slope of the line, but we can choose any two points on the line to find the slope. Let’s choose ( 0,7 ) and ( 4,4 ). We can use these points to calculate the slope.
m= y 2 − y 1 x 2 − x 1   = 4−7 4−0   =− 3 4
Now we can substitute the slope and the coordinates of one of the points into the point-slope form.
y− y 1 =m(x− x 1 ) y−4=− 3 4 (x−4)
If we want to rewrite the equation in the slope-intercept form, we would find
y−4=− 3 4 (x−4) y−4=− 3 4 x+3       y=− 3 4 x+7
If we wanted to find the slope-intercept form without first writing the point-slope form, we could have recognized that the line crosses the y-axis when the output value is 7. Therefore, b=7. We now have the initial value b and the slope m so we can substitute m and b into the slope-intercept form of a line.
So the function is f(x)=− 3 4 x+7, and the linear equation would be y=− 3 4 x+7.

Writing an Equation for a Linear Function

Write an equation for a linear function given a graph of f shown in diagram.
Graph of an increasing function with points at (-3, 0) and (0, 1).
Solution
Identify two points on the line, such as ( 0,2) and (−2,−4). Use the points to calculate the slope.
m= y 2 − y 1 x 2 − x 1   = −4−2 −2−0   = −6 −2   =3
Substitute the slope and the coordinates of one of the points into the point-slope form.
y− y 1 =m( x− x 1 ) y−( −4 )=3( x−( −2 ) ) y+4=3( x+2 )
We can use algebra to rewrite the equation in the slope-intercept form.
y+4=3(x+2) y+4=3x+6       y=3x+2

Writing an Equation for a Linear Cost Function

Suppose Ben starts a company in which he incurs a fixed cost of $1,250 per month for the overhead, which includes his office rent. His production costs are $37.50 per item. Write a linear function C where C(x) is the cost for x items produced in a given month.
Solution
The fixed cost is present every month, $1,250. The costs that can vary include the cost to produce each item, which is $37.50 for Ben. The variable cost, called the marginal cost, is represented by 37.5. The cost Ben incurs is the sum of these two costs, represented by C( x )=1250+37.5x.

Writing an Equation for a Linear Function Given Two Points

If f is a linear function, with f(3)=−2, and f(8)=1, find an equation for the function in slope-intercept form.
Solution
We can write the given points using coordinates.
f(3)=−2→(3,−2) f(8)=1→(8,1)
We can then use the points to calculate the slope.
m= y 2 − y 1 x 2 − x 1   = 1−(−2) 8−3   = 3 5
Substitute the slope and the coordinates of one of the points into the point-slope form.
    y− y 1 =m(x− x 1 ) y−(−2)= 3 5 (x−3)
We can use algebra to rewrite the equation in the slope-intercept form.
y+2= 3 5 (x−3) y+2= 3 5 x− 9 5       y= 3 5 x− 19 5

Drawing Angles in Standard Position

Properly defining an angle first requires that we define a ray. A ray consists of one point on a line and all points extending in one direction from that point. The first point is called the endpoint of the ray. We can refer to a specific ray by stating its endpoint and any other point on it. The ray in diagram can be named as ray EF, or in symbol form EF→.
Illustration of Ray EF, with point F and endpoint E.
An angle is the union of two rays having a common endpoint. The endpoint is called the vertex of the angle, and the two rays are the sides of the angle. The angle in diagram is formed from ED → and EF → . Angles can be named using a point on each ray and the vertex, such as angle DEF, or in symbol form ∠DEF.
Illustration of Angle DEF, with vertex E and points D and F.
Greek letters are often used as variables for the measure of an angle. table is a list of Greek letters commonly used to represent angles, and a sample angle is shown in diagram.
θ φorϕ α β γ
theta phi alpha beta gamma
Illustration of angle theta.
Angle theta, shown as ∠θ
Angle creation is a dynamic process. We start with two rays lying on top of one another. We leave one fixed in place, and rotate the other. The fixed ray is the initial side, and the rotated ray is the terminal side. In order to identify the different sides, we indicate the rotation with a small arc and arrow close to the vertex as in diagram.
Illustration of an angle with labels for initial side, terminal side, and vertex.
As we discussed at the beginning of the section, there are many applications for angles, but in order to use them correctly, we must be able to measure them. The measure of an angle is the amount of rotation from the initial side to the terminal side. Probably the most familiar unit of angle measurement is the degree. One degree is 1 360 of a circular rotation, so a complete circular rotation contains 360 degrees. An angle measured in degrees should always include the unit “degrees” after the number, or include the degree symbol °. For example, 90 degrees = 90°.
To formalize our work, we will begin by drawing angles on an x-y coordinate plane. Angles can occur in any position on the coordinate plane, but for the purpose of comparison, the convention is to illustrate them in the same position whenever possible. An angle is in standard position if its vertex is located at the origin, and its initial side extends along the positive x-axis. See diagram.
Graph of an angle in standard position with labels for the initial side and terminal side.
If the angle is measured in a counterclockwise direction from the initial side to the terminal side, the angle is said to be a positive angle. If the angle is measured in a clockwise direction, the angle is said to be a negative angle.
Drawing an angle in standard position always starts the same way—draw the initial side along the positive x-axis. To place the terminal side of the angle, we must calculate the fraction of a full rotation the angle represents. We do that by dividing the angle measure in degrees by 360°. For example, to draw a 90° angle, we calculate that 90° 360° = 1 4 . So, the terminal side will be one-fourth of the way around the circle, moving counterclockwise from the positive x-axis. To draw a 360° angle, we calculate that 360° 360° =1. So the terminal side will be 1 complete rotation around the circle, moving counterclockwise from the positive x-axis. In this case, the initial side and the terminal side overlap. See diagram.
Side by side graphs. Graph on the left is a 90 degree angle and graph on the right is a 360 degree angle. Terminal side and initial side are labeled for both graphs.
Since we define an angle in standard position by its initial side, we have a special type of angle whose terminal side lies on an axis, a quadrantal angle. This type of angle can have a measure of 0°, 90°, 180°, 270° or 360°. See diagram.
Four side by side graphs. First graph shows angle of 0 degrees. Second graph shows an angle of 90 degrees. Third graph shows an angle of 180 degrees. Fourth graph shows an angle of 270 degrees.
Quadrantal angles are angles in standard position whose terminal side lies along an axis. Examples are shown.

Drawing an Angle in Standard Position Measured in Degrees

  1. ⓐ Sketch an angle of 30° in standard position.
  2. ⓑ Sketch an angle of −135° in standard position.
Solution
  1. ⓐ Divide the angle measure by 360°.
    30° 360° = 1 12
    To rewrite the fraction in a more familiar fraction, we can recognize that
    1 12 = 1 3 ( 1 4 )
    One-twelfth equals one-third of a quarter, so by dividing a quarter rotation into thirds, we can sketch a line at 30° as in diagram.
    Graph of a 30 degree angle.
  2. ⓑ Divide the angle measure by 360°.
    −135° 360° =− 3 8
    In this case, we can recognize that
    − 3 8 =− 3 2 ( 1 4 )
    Negative three-eighths is one and one-half times a quarter, so we place a line by moving clockwise one full quarter and one-half of another quarter, as in diagram.
    Graph of a negative 135 degree angle.