Math calculators

Rate of Change Calculator

Updated Sep 1, 2026 By Infinity Calculator
Rate Formulas
Supported: +, -, *, /, ^, sin, cos, tan, ln, log, sqrt, abs, exp, π, e


Introduction

The rate of change tells you how fast one quantity changes compared to another. In algebra, this is often called the slope. It measures how much y goes up or down for every step x takes. If you've ever wondered how quickly a car speeds up, how fast a price rises, or how steep a hill is, you're already thinking about rate of change. The formula is simple: take the difference in y values, divide by the difference in x values, and you get your answer.

This Rate of Change Calculator makes the math quick and easy. It offers three ways to solve problems. First, you can enter two points and find the average rate of change between them. Second, you can type in a function like f(x) = x² and let the calculator find y values for you. Third, you can find the instantaneous rate of change at a single point, which tells you the exact slope at that moment rather than over a range. Every calculation comes with a step-by-step solution, a graph, and results shown as a fraction, decimal, and scientific notation, so you can see the answer in whatever form your homework or project needs.

How to Use Our Rate of Change Calculator

Enter two points, a function with x-values, or a function with a single point to find the average or instantaneous rate of change. The calculator will show you the result, a step-by-step solution, and a graph.

Input Mode: Choose how you want to calculate the rate of change. Select "Two Points" to enter coordinates directly, "Function f(x)" to type in a math function and two x-values, or "Instantaneous Rate" to find the rate of change at one specific point on a function.

x₁ and y₁ (Two Points mode): Enter the x and y values for your first point. You can type whole numbers, decimals, fractions like 1/2, or constants like π.

x₂ and y₂ (Two Points mode): Enter the x and y values for your second point. The x₂ value must be different from x₁ so the calculator can find the slope between the two points.

Function f(x) (Function mode): Type in your math function using x as the variable. You can use operations like +, -, *, /, ^ for exponents, and functions like sin, cos, tan, ln, log, sqrt, abs, and exp.

x₁ value and x₂ value (Function mode): Enter two different x-values. The calculator will plug these into your function to find the matching y-values and then compute the average rate of change between those two points.

Function f(x) and Point x (Instantaneous Rate mode): Enter a function and a single x-value. The calculator will estimate the derivative at that point, which tells you the exact rate of change at that one spot on the curve.

Angle Unit: Choose between Radians or Degrees. This setting matters when your function uses trigonometric operations like sin, cos, or tan.

Decimal Precision: Pick how many decimal places you want in your answer. You can choose anywhere from 2 to 10 decimal places.

Result Type: Select "Average Rate" to see the rate of change as a slope value, or choose "Percentage Change" to see the change expressed as a percent.

Quick Examples: Click any example button (Linear, Quadratic, Exponential, Trigonometric, Physics, or Economics) to load sample values into the calculator so you can see how it works.

What Is Rate of Change?

The rate of change tells you how much one quantity changes compared to another. In simple terms, it measures how fast or slow something is increasing or decreasing. If you track the temperature outside every hour, the rate of change tells you how many degrees the temperature rises or falls per hour.

The Rate of Change Formula

The most common formula for rate of change is:

Rate of Change = (y₂ − y₁) / (x₂ − x₁)

Here, (x₁, y₁) and (x₂, y₂) are two points on a line or curve. The top part of the formula, y₂ − y₁, is called the "change in y" (or Δy). The bottom part, x₂ − x₁, is the "change in x" (or Δx). You may recognize this as the slope formula, and that's exactly what it is. The rate of change between two points is the slope of the line that connects them.

Average Rate of Change vs. Instantaneous Rate of Change

There are two main types of rate of change:

  • Average rate of change looks at how a value changes over an interval. It uses two points and finds the slope of the straight line (called a secant line) between them. For example, if you drove 150 miles in 3 hours, your average rate of change in distance is 150 ÷ 3 = 50 miles per hour.
  • Instantaneous rate of change looks at how a value is changing at one exact moment. Instead of two points, it zooms in on a single point and finds the slope of the tangent line there. This is the idea behind derivatives in calculus. For example, your car's speedometer shows your instantaneous rate of change in distance: your speed right now, not your average speed for the whole trip.

How to Calculate Rate of Change

Follow these steps to find the average rate of change between two points:

  1. Identify your two points. Write them as (x₁, y₁) and (x₂, y₂).
  2. Subtract the y-values. Calculate y₂ − y₁ to find the change in the output.
  3. Subtract the x-values. Calculate x₂ − x₁ to find the change in the input.
  4. Divide. Divide the change in y by the change in x. The result is your rate of change.

For example, given the points (2, 5) and (6, 13):

  • Δy = 13 − 5 = 8
  • Δx = 6 − 2 = 4
  • Rate of change = 8 ÷ 4 = 2

This means y increases by 2 for every 1 unit increase in x.

Finding Rate of Change from a Function

If you have a function like f(x) = x², you can find the average rate of change between any two x-values. Just plug each x-value into the function to get the matching y-values, then use the formula. For f(x) = x² between x = 1 and x = 3:

  • f(1) = 1² = 1
  • f(3) = 3² = 9
  • Rate of change = (9 − 1) / (3 − 1) = 8 / 2 = 4

Positive, Negative, and Zero Rate of Change

The sign of the rate of change tells you the direction of the trend:

  • Positive rate of change: The value is going up. As x increases, y increases too.
  • Negative rate of change: The value is going down. As x increases, y decreases.
  • Zero rate of change: The value stays flat. There is no change in y, which means the graph is horizontal at that section.

Real-World Uses of Rate of Change

Rate of change shows up everywhere. In physics, velocity is the rate of change of position over time, and acceleration is the rate of change of velocity. In economics, the marginal cost is the rate of change of total cost as production increases. In biology, population growth rate measures how fast a population changes over time. Any time you need to understand how quickly something is shifting, you are working with rate of change.


Formulas used

Average Rate of Change
\text{Rate} = \frac{y_2 - y_1}{x_2 - x_1}
Average Rate of Change (Function)
\text{Rate} = \frac{f(x_2) - f(x_1)}{x_2 - x_1}
Instantaneous Rate of Change (Numerical Derivative)
f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x-h)}{2h}
Percentage Change
\text{Percentage Change} = \frac{y_2 - y_1}{|y_1|} \times 100\%

Frequently asked questions

What is the difference between rate of change and slope?

They are the same thing. The rate of change between two points is the slope of the line that connects them. Both use the formula (y₂ − y₁) / (x₂ − x₁). The term "slope" is used more often when talking about lines, while "rate of change" is used in broader contexts like science and economics.

What happens if x₁ and x₂ are the same number?

The calculator will show an error. When x₁ equals x₂, the formula divides by zero, which is undefined. You need two different x-values to calculate a rate of change. If x₁ = x₂, the line between the points would be vertical, and vertical lines have no defined slope.

When should I use radians vs degrees?

Use radians if your math class or problem uses radians, which is the default in most algebra and calculus courses. Use degrees if your problem gives angles in degrees, like 30° or 90°. This setting only matters when your function includes trig functions like sin, cos, or tan.

What does a rate of change of zero mean?

A rate of change of zero means the value is not changing. On a graph, this looks like a flat, horizontal line. For a function, it means the output stays the same even as the input changes over that interval. At a single point, it can mean you are at a peak or a valley of the curve.

How is percentage change different from average rate of change?

The average rate of change gives you the slope, or how many units y changes per unit of x. Percentage change tells you how much y changed relative to its starting value, shown as a percent. For example, if y goes from 50 to 75, the rate of change depends on Δx, but the percentage change is always 50% because (75 − 50) / 50 × 100 = 50%.

What does the exact form result mean?

The exact form shows your answer as a fraction when possible. For example, if the rate of change is 0.6667, the exact form would show 2/3. This is useful for homework where teachers want answers in fraction form instead of decimals.