Quick answer
Average rate of change = (f(x₂) − f(x₁)) ÷ (x₂ − x₁). With f(1) = 2 and f(3) = 10, the rate is 8 ÷ 2 = 4.
Enter two x-values and their function values. The calculator returns the average rate of change.
Related tools: Slope Calculator: Slope, angle, distance and line equation through two points. LCM Calculator: Least common multiple of two or more numbers. Factor Calculator: List every factor of a positive whole number.
How to use the Average Rate of Change Calculator
- Enter x₁.
- Enter f(x₁).
- Enter x₂.
- Enter f(x₂).
- Press Calculate to see the result, and use Reset to start again.
| Input | What to enter | Allowed values |
|---|---|---|
| x₁ | A number | — |
| f(x₁) | A number | — |
| x₂ | A number | — |
| f(x₂) | A number | — |
Formula and method
Formula
(f(x₂) − f(x₁)) ÷ (x₂ − x₁)
IEEE-754 double precision; shown to at most 6 decimal places.
Slope of the secant line.
Worked examples
These examples are verified: each one is an automated test case that the live calculator must reproduce exactly.
Example 1
Inputs: x₁ = 1; f(x₁) = 2; x₂ = 3; f(x₂) = 10.
| Result | Value |
|---|---|
| Average rate of change | 4 |
Example 2
Inputs: x₁ = 0; f(x₁) = 5; x₂ = 2; f(x₂) = 1.
| Result | Value |
|---|---|
| Average rate of change | -2 |
The first line is the headline result (average rate of change). IEEE-754 double precision; shown to at most 6 decimal places.
Slope of the secant line
It is the slope of the line through the two points. For f(x) = x² + 1, f(1) = 2 and f(3) = 10, giving 4. As the interval shrinks, the average rate approaches the derivative.
Meaning
In speed problems it is the average velocity over the interval. The two x-values must differ. A negative rate means the function decreases on average.
How the result changes with x₁
Holding every other input at the first worked example, this table changes only x₁. It shows how sensitive the answer is to that one value; each row was produced by running this calculator.
| x₁ | Average rate of change |
|---|---|
| 0.5 | 3.2 |
| 1 | 4 |
| 2 | 8 |
| 4 | -8 |
What happens with invalid input
These messages are produced by the calculator itself, so you know what to fix.
- x₂: entering "2" shows "x₁ and x₂ must differ." beside that field and no result.
Choosing between the Average Rate of Change Calculator and similar calculators
Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.
| Calculator | You enter | It returns |
|---|---|---|
| [Slope Calculator](/math/slope-calculator/) | x₁, y₁ and x₂ | Slope |
| [LCM Calculator](/math/lcm-calculator/) | numbers | Least common multiple |
| [Factor Calculator](/math/factor-calculator/) | number | Factors |
| [Quadratic Formula Calculator](/math/quadratic-formula-calculator/) | a, b and c | Roots |
| [Log Calculator](/math/log-calculator/) | number x and base b | log base 2 of 8 |
Background: algebra
Many algebra calculators rest on the same ideas: write the problem in a standard form, identify the coefficients, apply the formula and check the answer by substituting it back. For a quadratic ax² + bx + c = 0 the roots are (−b ± √(b² − 4ac)) ÷ 2a, and the discriminant b² − 4ac decides the kind of roots: positive gives two real roots, zero gives one repeated root and negative gives two complex conjugate roots.
If a = 0 the equation is linear, not quadratic. A sign slip on the −b term shifts both roots by the same amount, so substitute your roots back to check.
Assumptions and limitations
- x₁ ≠ x₂
If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for x₂ to confirm this.
Frequently asked questions
Is it the same as the derivative?
No, the derivative is the instantaneous rate.
What are its units?
Output units per input unit.
Can it be zero?
Yes, if the values are equal.
What does the Average Rate of Change Calculator calculate?
Average rate of change between two points. It returns Average rate of change.
What formula does the Average Rate of Change Calculator use?
(f(x₂) − f(x₁)) ÷ (x₂ − x₁). Slope of the secant line.
What do I need to enter in the average Rate of Change Calculator?
You enter x₁, f(x₁), x₂ and f(x₂).
How is the result rounded or limited?
IEEE-754 double precision; shown to at most 6 decimal places. x₁ ≠ x₂.
What is an example of a average Rate of Change result?
With x₁ 1, f(x₁) 2, x₂ 3 and f(x₂) 10, the average rate of change is 4.
Related calculators
- Slope Calculator — Slope, angle, distance and line equation through two points.
- LCM Calculator — Least common multiple of two or more numbers.
- Factor Calculator — List every factor of a positive whole number.
- Quadratic Formula Calculator — Solve ax² + bx + c = 0, including complex roots.
- Log Calculator — Logarithm of a number to any base.
- GCF Calculator — Greatest common factor (greatest common divisor) of two or more numbers.
- Antilog Calculator — Inverse logarithm: raise a base to a power.
- Line Equation from Two Points Calculator — Equation of the line through two points.
- System of Equations Calculator — Solve two linear equations in two unknowns.
Sources
- OpenStax, Prealgebra 2e (Rice University): fractions, decimals, percents, ratios and rounding
Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.