Derivative Calculator
Differentiate a function of x and evaluate the derivative at any point. Works with powers, trig, exponentials and logs.
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
| Rule | Function | Derivative |
|---|---|---|
| Power | xⁿ | n·xⁿ⁻¹ |
| Constant multiple | k·f(x) | k·f′(x) |
| Sum | f + g | f′ + g′ |
| Product | f·g | f′g + fg′ |
| Quotient | f / g | (f′g − fg′) / g² |
| Chain | f(g(x)) | f′(g(x))·g′(x) |
| Trig | sin x, cos x | cos x, −sin x |
| Exponential / log | eˣ, ln x | eˣ, 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.