Derivative Calculator

Differentiate a function of x and evaluate the derivative at any point. Works with powers, trig, exponentials and logs.

Use * for multiply, ^ for powers, sqrt(x), exp(x), log(x) for ln, sin, cos, tan.

What is a derivative?

The derivative f′(x) measures how fast a function changes – the slope of its graph at each point. If f(x) is position, f′(x) is velocity and f″(x) is acceleration.

Key differentiation rules

RuleFunctionDerivative
Powerxⁿn·xⁿ⁻¹
Constant multiplek·f(x)k·f′(x)
Sumf + gf′ + g′
Productf·gf′g + fg′
Quotientf / g(f′g − fg′) / g²
Chainf(g(x))f′(g(x))·g′(x)
Trigsin x, cos xcos x, −sin x
Exponential / logeˣ, ln xeˣ, 1/x

Example

f(x) = x³ + 2x² − sin x gives f′(x) = 3x² + 4x − cos x. At x = 1 the slope is 3 + 4 − cos 1 ≈ 6.4597.

Frequently asked questions

How do I type powers and functions?

Use ^ for powers (x^2), * for multiplication (3*x), and log(x) for the natural log.

Can it find the second derivative?

Yes. The second derivative f″(x) is shown under the first derivative.

Can I use a variable other than x?

Yes, type it in the Variable box, for example t.

Last updated 16 November 2026. Results are estimates for general information and are not financial, tax, legal or medical advice.

Related guides