Derivative Calculator
Differentiate an expression with respect to a variable.
About this tool
Type a function and a variable to get its derivative. The derivative of x³ + 2x is 3x² + 2, and the derivative of ln(x² + 1) is 2x ÷ (x² + 1).
How to use
How it works
The tool applies the power, product, quotient and chain rules symbolically. The result is not always in its shortest form: the derivative of exp(2x)/x comes back as (2/x − (1/x)²) · exp(2x), which equals (2x − 1) · exp(2x) / x².
(xⁿ)′ = n·xⁿ⁻¹ (uv)′ = u′v + uv′ (f(g(x)))′ = f′(g(x))·g′(x)
Worked example
Product rule
- Input
- sin(x) * x^2
- Output
- cos(x) * x ^ 2 + 2 * sin(x) * x
- Walkthrough
- u = sin x, v = x². u′v + uv′ = cos(x)·x² + sin(x)·2x.
Limitations
- Output is not algebraically simplified, so expect extra brackets and factors.
- The derivative of abs(x) is shown as abs(x) / x, which is undefined at 0.
Questions
What is the derivative of x³ + 2x?
What is the derivative of ln(x² + 1)?
What is the derivative of |x|?
What is the derivative of x² sin x?
Features
- Product, quotient and chain rules
- Symbolic result
- Runs in your browser
Guides
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Definite integrals intro
Khan Academy
Definite integral basics for area-under-curve calculators.
Watch on YouTubeThe paradox of the derivative
3Blue1Brown
Deepens intuition beyond button-press differentiation.
Watch on YouTube
- Geometry Index
Math is Fun
Shape and formula index for geometry calculators.
- OpenStax Math
OpenStax
Free textbooks for algebra through calculus.