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. For more on percentage-based calculations, try our Percent Change Calculator.
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. For a dedicated tool that focuses on slope in all its forms, check out our Slope Calculator.
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. Our Derivative Calculator can help you explore this concept further. 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:
- Identify your two points. Write them as (x₁, y₁) and (x₂, y₂).
- Subtract the y-values. Calculate y₂ − y₁ to find the change in the output.
- Subtract the x-values. Calculate x₂ − x₁ to find the change in the input.
- 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. You can also use our Distance Calculator and Midpoint Calculator to explore other properties of these two points.
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
For quadratic functions specifically, our Quadratic Formula Calculator can help you find roots and other key features of the parabola.
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. If you're comparing measured values against expected ones, our Percent Error Calculator and Percentage Calculator are also helpful companions to this tool.