Home › Calculators › Average Rate of Change Calculator

Average Rate of Change Calculator

Type a function and an interval [a, b], two points, or a table of values to find the average rate of change. You also get f(a), f(b), the secant line equation, the percent change and a graph showing the secant line on the curve.

Last updated:

Input type

Use x, + − * / ^, parentheses, sqrt, sin, cos, tan, ln, log, exp, abs, pi, e. Example: 2x^3 - 5x or sqrt(x+1). Trig uses radians.

Leave blank to use the first row.

Leave blank to use the last row.

Enter your values to see the result.
Advertisement
Advertisement

How to use the Average Rate of Change Calculator

  1. Choose the input type: a function, two points or a data table.
  2. Enter the function and the interval, for example x^2 + 3x − 4 from a = 1 to b = 4.
  3. Or type the points or table rows as x, y pairs. Add units if you want a rate like miles per hour.
  4. Press Calculate rate to get the average rate of change, f(a), f(b) and the secant line.
  5. Check the graph and steps to see how the slope between A and B was found.

The average rate of change formula

For a function f on the interval [a, b]:

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

Geometrically, it is the slope of the secant line through A(a, f(a)) and B(b, f(b)). The secant line equation is y = m(x − a) + f(a), where m is the average rate of change. With units, the rate reads as "units of y per unit of x", such as miles per hour, dollars per year or degrees per minute.

Examples

Function or dataIntervalf(a), f(b)Average rate of change
f(x) = x² + 3x − 4[1, 4]0, 2424 ÷ 3 = 8
f(x) = x³[−1, 2]−1, 89 ÷ 3 = 3
f(x) = √x[4, 9]2, 31 ÷ 5 = 0.2
f(x) = 2ˣ[0, 3]1, 87 ÷ 3 ≈ 2.333
f(x) = 1/x[1, 2]1, 0.5−0.5 ÷ 1 = −0.5
Car trip: 0 mi at 0 h, 120 mi at 2.5 h[0, 2.5]0, 12048 miles per hour

Tips

  • Keep the order consistent: if you subtract f(a) from f(b) on top, subtract a from b on the bottom. Swapping both gives the same answer.
  • The average rate only depends on the two endpoints. Use the subinterval table to see how the rate changes inside the interval.
  • The difference quotient [f(x + h) − f(x)] ÷ h is the same formula with a = x and b = x + h. Letting h shrink to 0 gives the derivative.
  • For trigonometric functions, angles are in radians, so sin(x) on [0, π/2] has an average rate of 1 ÷ 1.5708 ≈ 0.6366.

Frequently asked questions

What is the average rate of change formula?

Average rate of change = [f(b) − f(a)] ÷ (b − a). It is the change in the output divided by the change in the input over the interval [a, b], which is the slope of the straight line joining the points (a, f(a)) and (b, f(b)).

How do you find the average rate of change of a function?

Evaluate the function at both endpoints, subtract to get the change in y, subtract the x-values to get the change in x, and divide. For f(x) = x² + 3x − 4 on [1, 4]: f(4) = 24 and f(1) = 0, so the rate is (24 − 0) ÷ (4 − 1) = 8.

Is average rate of change the same as slope?

Yes. It equals the slope of the secant line through the two endpoints. For a straight line the average rate of change is the same on every interval; for a curve it changes depending on the interval you choose.

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

The average rate uses two points and describes the overall change across an interval. The instantaneous rate is the derivative at a single point, the slope of the tangent line. As the interval shrinks toward one point, the average rate approaches the instantaneous rate.

How do I find the average rate of change from a table?

Pick the two rows for the start and end of the interval, then divide the difference in y-values by the difference in x-values. In table mode the calculator does this for your chosen rows and for every pair of consecutive rows.

What does a negative average rate of change mean?

It means the output decreased overall from a to b. For example, a temperature falling from 20° to 8° over 4 hours has an average rate of change of −3 degrees per hour.

Can the average rate of change be zero when the function changes?

Yes. If f(a) and f(b) are equal, the average rate is 0 even if the function goes up and down in between. For f(x) = x² on [−2, 2], both ends equal 4, so the average rate of change is 0.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Slope CalculatorSlope, angle, line equation y = mx + b and distance from two points, with a graph.Derivative CalculatorSymbolic derivative of any f(x) up to 5th order, with steps, slope at a point and a graph.Table of Values CalculatorMake an x/y table for any function with a start, end and step, then plot it or copy CSV.Percentage Change CalculatorPercent increase or decrease between two values, and reverse.Weighted Average CalculatorCalculate a weighted mean from values and weights, step by step.Average CalculatorMean, weighted average, median, sum, min and max of any list.Standard Deviation CalculatorStandard deviation, variance, mean, median, mode and quartiles.A/B Test Significance CalculatorCheck if your A/B test result is statistically significant.Z-Score CalculatorZ-score from a value, mean and SD, plus percentile and p-value; or the value from z.Probability CalculatorFind and, or, not, conditional and at-least-once probabilities from P(A) and P(B).Permutation and Combination CalculatorCalculate nPr and nCr, with or without repetition, as exact big numbers.Mean Median Mode CalculatorFind the mean, median, mode, range, min, max, sum and count of a list of numbers.Confidence Interval CalculatorConfidence interval and margin of error for a mean or a proportion, with steps.Sample Size CalculatorHow many survey responses you need for a given confidence level and margin of error.Percentile CalculatorValue at any percentile, percentile rank of a score, quartiles, IQR and outliers.Correlation Coefficient CalculatorPearson r and Spearman rank correlation with significance and interpretation.Average Order Value CalculatorAverage order value from revenue and orders, plus the revenue impact of raising AOV.Binomial Distribution CalculatorBinomial probabilities P(X = k), at most, at least or between, with mean, variance and chart.Normal Distribution CalculatorNormal probabilities P(X < x), between two values and inverse percentiles, on a shaded bell curve.Poisson Distribution CalculatorPoisson probabilities for a rate λ: exactly k, at most, at least or between, with a chart.T-Test CalculatorOne-sample, two-sample (Welch/pooled) and paired t-tests with p-value and CI.Chi-Square CalculatorChi-square goodness-of-fit and independence tests with p-value and expected counts.P-Value CalculatorOne- or two-tailed p-values from z, t, chi-square or F statistics, with critical values.Variance CalculatorSample and population variance and standard deviation with a step-by-step deviations table.Five Number Summary CalculatorMin, Q1, median, Q3, max, IQR and fences of a data set, with a box plot.Outlier CalculatorFind outliers with 1.5×/3× IQR fences, z-scores or modified z-scores; get the cleaned data.Geometric Mean CalculatorGeometric, harmonic, arithmetic and quadratic means compared, or average growth from % changes.Expected Value CalculatorExpected value, variance and standard deviation from outcomes and their probabilities.One-Way ANOVA CalculatorOne-way ANOVA for 2-10 groups: SS, df, MS, F statistic, p-value, effect size and full table.Bayes Theorem CalculatorPosterior P(A|B) from P(A), P(B|A) and P(B|not A), with a probability tree and table.Box Plot MakerPaste data to draw box-and-whisker plots with quartiles, IQR and outliers. Download PNG or SVG.Coefficient of Variation CalculatorCV % from a dataset (sample or population) with mean, SD and a two-dataset comparison.Critical Value CalculatorCritical values of z, t, chi-square and F for any alpha, tails and degrees of freedom.Dice Probability CalculatorOdds of rolling a sum (exactly, at least, at most) with any dice, plus the full distribution.Effect Size Calculator (Cohen's d)Cohen's d, Hedges' g and Glass's delta from two means, SDs and sample sizes, with CI.Frequency Table GeneratorMake a frequency, relative and cumulative frequency table from numbers or categories.Histogram MakerPaste numbers, choose bins and get a histogram, frequency table and PNG download.Margin of Error CalculatorSurvey margin of error from sample size, confidence and proportion, with population correction.Inverse Normal Distribution CalculatorinvNorm: find the x or z value for a left, right, central or two-tail area, with a shaded curve.Permutations GeneratorList all permutations of letters, words or items, with k-permutations and repeats, and export them.Statistical Power CalculatorPower or required sample size for t-tests, proportions and correlations, with a power curve.T Distribution CalculatorStudent's t probabilities and critical values for any df, with the area shaded on the curve.T-Table (Student's t Distribution)Interactive t-table: critical t-values for any df and α, p-values, and a printable full table.Z-Test CalculatorOne-sample, two-sample and proportion z-tests with z, p-value, decision and shaded curve.Shannon Entropy CalculatorEntropy of text, data or probabilities in bits, nats or hartleys with a frequency table.Moving Average CalculatorSimple, exponential and weighted moving averages of a data series, with table and line chart.Odds Ratio and Relative Risk CalculatorOdds ratio, relative risk, risk difference, 95% CIs and p-values from a 2x2 table.Standard Error CalculatorStandard error of the mean from data or SD and n, plus SE of a proportion, with CIs.Descriptive Statistics CalculatorPaste data and get mean, median, mode, quartiles, SD, skewness, kurtosis and a histogram.Empirical Rule Calculator68-95-99.7 rule ranges from a mean and standard deviation, with a shaded bell curve.Z-Table (Standard Normal Table)Interactive z-table: find the area for any z-score, or the z-score for a probability.Binomial Expansion CalculatorExpand (a + b)^n with the binomial theorem: every term, Pascal coefficients and any specific term.Combinations GeneratorList every k-combination of your items, with or without repetition, and copy or export them.Covariance CalculatorSample and population covariance of paired X and Y data, with a step table and scatter plot.Grouped Data CalculatorMean, median, mode, variance and standard deviation from class intervals and frequencies.
See all 52 Statistics & Probability Calculators →