Derivative calculator
Type a function and get its exact derivative straight away. It understands the notation you use in class (sin, tan, ln, arctan, sqrt) and also works out second and third derivatives. Free, no sign-up.
The answer will show up here, written the way you'd write it on the board.
How to use the derivative calculator
Type the function with x as the variable and press "Differentiate". You can use the usual textbook notation: sin, cos, tan, ln (natural log), log (base 10), sqrt, arcsin and arctan. Multiply with * or by writing the factors next to each other (3x^2), and put exponents with more than one term in brackets, as in e^(2x).
The answer comes out simplified. For the first derivative it is also checked against a numerical approximation at several points. If something doesn't add up, you get a warning instead of a doubtful answer.
Three examples worked out with this calculator
- Product rule:
- Chain rule:
- Quotient rule:
For the tangent line to f at x = a you need f(a) and f'(a): type the function, enter the point in "Value at x =" and you have the slope. Going the other way? The integral calculator finds antiderivatives and definite integrals.
Frequently asked questions
How do I type the function?
Use x as the variable, ^ for powers and * (or nothing) to multiply: 3x^2, x^2*sin(x), e^(2x), ln(x), log(x) (base 10), sqrt(x), tan(x), arcsin(x), arctan(x). Put compound arguments and exponents in brackets: e^(2x), not e^2x.
Does the derivative calculator show the steps?
It gives the exact answer and checks it numerically, but it doesn't write out the working. To see which rule is used at each step (product, quotient, chain rule), press "See the step-by-step solution" and the problem opens in PhotoExamAI.
Can I find the second or third derivative?
Yes. Pick the order from the menu. You can also get the value of the derivative at a point, such as x = 0 or x = pi/2, which is the slope you need for a tangent line.
Is log the natural log or base 10?
As in most high school textbooks, ln is the natural logarithm and log is base 10. That's why the derivative of log(x) comes out as 1/(x ln 10). For the natural log, type ln(x).
More free tools
- Integral calculator
- Equation solver
- Matrix calculator
- AI math solver · photo and steps
