Derivative Calculator

Enter a function and get its derivative with the rules used shown step by step. You can also evaluate the derivative at a point. Powers of x, trigonometric, exponential and logarithm functions are supported. The working appears below the answer and is included when you save as PDF or image.
Derivative f′(x)

How to type your function

^power, e.g. x^2 is x squared
*multiply, e.g. 3*x (write the star)
/divide, e.g. 1/x
sqrt(x)square root
sin(x) cos(x) tan(x)trigonometric functions (radians)
e^x or exp(x)exponential
ln(x) log(x)natural log, log base 10
pi, econstants 3.14159..., 2.71828...
✉ Email me this result
</> Embed this calculator

Paste this into any website or blog post. It is free — the small "powered by" link must stay visible.

How it works

Common rules: power rule d/dx xⁿ = n·xⁿ⁻¹, product rule (uv)′ = u′v + uv′, quotient rule (u/v)′ = (u′v − uv′)/v², chain rule f(g(x))′ = f′(g(x))·g′(x).

Frequently Asked Questions

What can I differentiate?
Polynomials, roots, trigonometric, exponential and logarithm functions, and combinations of them using +, -, *, / and ^.
Does it show the steps?
Yes. It shows the original function, the derivative, a simplified form and the rules that apply, so you can follow the working and include it in a PDF or image.
Are angles in degrees or radians?
Radians, which is standard for calculus. Convert degrees to radians by multiplying by pi/180 if needed.