Rate of Change Calculator: Slope Between Two Points

Enter two points (x1, y1) and (x2, y2) to get the average rate of change, also called the slope.

Rate of change formula

The average rate of change tells you how much y changes for each one-unit change in x between two points. On a straight line it is the slope.

Rate of change = (y2 – y1) / (x2 – x1)

Worked example

Points (1, 2) and (5, 10). The change in y is 10 – 2 = 8 and the change in x is 5 – 1 = 4, so the rate of change is 8 / 4 = 2. The value of y grows by 2 for every 1 step in x. As a percent change from 2 to 10, y rises 400 percent.

Real examples

If a plant is 4 cm tall in week 1 and 16 cm in week 5, the rate of change is (16 – 4) / (5 – 1) = 3 cm per week. If a car is at mile 20 at 1:00 and mile 140 at 3:00, the rate of change is 120 / 2 = 60 miles per hour.

Positive, negative and zero

A positive rate means y increases as x increases. A negative rate means y falls. Zero means y is constant. If x1 equals x2 the line is vertical and the rate is undefined.

Rate of change in Excel

With x values in A2:A3 and y values in B2:B3, use =(B3-B2)/(A3-A2) or =SLOPE(B2:B3,A2:A3). For percent change use the percentage formula in Excel.

Frequently asked questions

What is the rate of change formula?

Subtract the first y from the second y, subtract the first x from the second x, then divide the first result by the second.

Is rate of change the same as slope?

For a straight line, yes. For a curve, the calculator gives the average rate of change between the two points.

Can the rate of change be negative?

Yes. A negative rate means the quantity is decreasing as x increases.

What if the change in x is zero?

The rate is undefined, because you cannot divide by zero. The two points form a vertical line.

Percent difference calculator · Proportion calculator · Percentage formula in Excel · All free calculators · How to Calculate Percent Change · How to Calculate Percent Difference · How to Calculate Slope

Estimates only. Results depend on the numbers you enter and are not financial, tax or legal advice.