The average rate of change tells you how fast a function rises or falls across an interval, and this calculator works it out for any function between any two x-values. Enter a function of x, the start and end points of the interval, and it returns the average rate of change along with the two function values and the changes in x and y, updating as you type. The idea is the foundation of calculus and one of the most useful in all of mathematics, because it answers a very natural question: over this stretch, how much does the output change for each unit of input? The answer is simply the change in y divided by the change in x, which is exactly the slope of the straight line, called the secant, that joins the two points on the graph. That is the same arithmetic as working out an average speed from distance and time, or an average growth rate from a starting and ending value, which is why the concept shows up far beyond the classroom. It is also the stepping stone to the derivative: shrink the interval until the two points almost touch, and the average rate of change becomes the instantaneous rate, the slope at a single point. The calculator accepts everyday function notation, with powers written using the caret and the usual functions like sin, cos, sqrt, exp and ln, so you can test polynomials, roots, exponentials and more. That makes it genuinely useful for students learning calculus and pre-calculus, for checking homework on slopes and secants, and for anyone needing an average rate from a formula. Because the result updates live, you can shorten the interval and watch the average rate approach the slope at a point. The formula and a worked example are explained clearly below.
Use x, ^ for powers, and functions like sin, cos, tan, sqrt, exp, ln, abs.
The average rate of change over the interval from a to b is f(b) minus f(a), divided by b minus a. This is the change in the output divided by the change in the input, which is the slope of the secant line connecting the points (a, f(a)) and (b, f(b)) on the graph of the function.
For f(x) = x squared from x = 1 to x = 4: f(1) is 1 and f(4) is 16. The change in y is 16 minus 1, which is 15, and the change in x is 4 minus 1, which is 3. The average rate of change is 15 over 3, which is 5.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About
Reviewed and maintained. Last reviewed 2026-06-05 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2019 to 2026 Calculate.co.nz. All rights reserved.