This derivative calculator differentiates a function of x and shows the result, then lets you evaluate that derivative at any point. The derivative is the central idea of differential calculus: it measures how quickly a function is changing, which is the slope of its graph at each point, and it is used everywhere from physics, where it turns position into velocity and velocity into acceleration, to economics, biology and engineering. You type a function using x as the variable, and the calculator applies the standard rules of differentiation, the power rule, the product and quotient rules and the chain rule, together with the known derivatives of sine, cosine, tangent, the exponential function, the natural logarithm and the square root. Enter the function with a star for multiplication, a caret for powers, and brackets around function arguments, so a cubic is written 3*x^2 + 2*x and a composite is written something like sin(2*x) or exp(x^2); note that implicit multiplication such as 2x is not read, so always write 2*x. The calculator returns the derivative as an expression, and if you enter a value it also gives the numeric slope at that point, which is handy for finding gradients, rates of change and stationary points. Enter a function to see its derivative straight away.
Use * for multiply and ^ for powers. Functions: sin, cos, tan, asin, acos, atan, exp, ln, log, sqrt, abs. Estimate only.
The calculator reads your function into an expression tree, then differentiates it by applying the rules of calculus to each part. Sums are differentiated term by term, products use the product rule, quotients the quotient rule, and any function of a function uses the chain rule. To find the slope at a point, it substitutes your value into the derivative.
For 3*x^2 + 2*x, the power rule gives a derivative of 6*x + 2. At x equals 1, that slope is 6 times 1 plus 2, which is 8.
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.
© 2019 to 2026 Calculate.co.nz. All rights reserved.