Math · free · step by step
Derivative Calculator
Differentiate any function and see every step: power, product, quotient and chain rules, written out and simplified. Get the slope and tangent line at a point, with a graph of f and f′.
Step by step
Graph of f and f′
Reference
Derivative rules
| Rule | Function | Derivative | Example |
|---|---|---|---|
| Power rule | x^n | n x^(n - 1) | |
| Constant multiple | c f(x) | c f′(x) | |
| Sum rule | f(x) + g(x) | f′(x) + g′(x) | |
| Product rule | f(x) g(x) | f′(x) g(x) + f(x) g′(x) | |
| Quotient rule | f(x)/g(x) | (f′(x) g(x) - f(x) g′(x))/g(x)^2 | |
| Chain rule | f(g(x)) | f′(g(x)) g′(x) |
Quick answers
Common derivatives
| f(x) | f′(x) |
|---|---|
More math
Other math tools
Questions
Derivative Calculator FAQ
Free, private and works offline: everything is worked out in your browser.
How do I find a derivative?
Type the function, for example x^2 sin(x), and press Enter or wait a moment. The answer appears with each rule used. For x^2 sin(x) the product rule gives 2x·sin(x) + x^2·cos(x).
Does it show the steps?
Yes, every step, free: which rule applies (power, product, quotient, chain…), what it turns the expression into, and the simplified answer.
Can it find second and third derivatives?
Yes. Choose 2nd or 3rd and each order is worked out in turn, with its own steps.
How do I find the slope or tangent line at a point?
Type the x value in “Slope at x =”. You get f′(a), the tangent line equation and both drawn on the graph. For x^2 at x = 3 the slope is 6 and the tangent is y = 6x - 9.
What is the chain rule?
Differentiate the outside function, keep the inside the same, then multiply by the derivative of the inside: d/dx f(g(x)) = f′(g(x))·g′(x). For sin(x^2): cos(x^2)·2x = 2x·cos(x^2).
What can I type?
Powers (x^3, x²), roots (sqrt, cbrt), trig and inverse trig, sinh/cosh/tanh, ln, log, e^x, |x|, fractions and products. Write 2x for 2·x. Variables other than x are treated as constants.
Is my work private?
Yes. Everything is worked out in your browser and nothing you type is sent anywhere.