01 / Rules
Rules named
Each step says which rule was used: power, product, quotient, chain, exponential or a standard derivative.
Free tool
Type a function to get its derivative, with each rule named in order: power, product, quotient, chain, exponential and log. Choose the variable and the order, add a point to get the exact slope, the tangent line and the normal line, or type an equation like x^2 + y^2 = 25 for implicit differentiation. Test your own answer, copy it as LaTeX, and see the function and its derivative drawn together. Exact answers, and no sign-up.
Need a custom tool, app or website? Contact us →Steps
Type like you would write it: 2x, x^2, sin x, sqrt(x), e^x, pi. Bars work for absolute value, like |x|. The line "Read as" shows how it was understood. log means base 10; ln is the natural log; log2(x) and log_5(x) work too. A leading "f(x) =" or "d/dx" is ignored.
Worked out in your browser. Nothing is sent anywhere.
The method
01 / Rules
Each step says which rule was used: power, product, quotient, chain, exponential or a standard derivative.
02 / Exact
Results stay exact, like 1/2 or ln(2), and show a decimal only next to a value at a point.
03 / Check
The function and its derivative are drawn together, so you can see the slope become the second curve.
Guide
A derivative calculator finds the derivative of a function: a new function that tells you the slope of the original at every point. This one shows the working, naming each rule as it is used, so you can follow it and check your own homework. It handles sums, products, quotients, powers, roots, exponentials, logs, trig and inverse trig functions, hyperbolic functions and absolute value, up to the tenth derivative. It also gives the exact value at a point with the tangent and normal lines, partial derivatives, implicit differentiation for an equation in x and y, and a test for your own answer.
x^3 sin(x). Multiplication can be left out, so 2x and x sin x both work. Use the symbol buttons to add a power, a root, pi or a function.The steps use these rules. They are the same ones taught in any calculus course.
| Function | Derivative |
|---|---|
| sin(x) | cos(x) |
| cos(x) | -sin(x) |
| tan(x) | sec(x)^2 |
| atan(x) | 1/(1 + x^2) |
| asin(x) | 1/sqrt(1 − x^2) |
| sinh(x) | cosh(x) |
| abs(x) | x/abs(x), which is 1 for positive x and -1 for negative x |
Take e^(2x) cos(x). It is a product, so use the product rule with f = e^(2x) and g = cos(x). The derivative of f needs the chain rule: the outside e^u gives e^(2x) and the inside 2x gives 2, so f' = 2e^(2x). The derivative of g is -sin(x). Put it together: f' g + f g' = 2e^(2x) cos(x) − e^(2x) sin(x). Type it in and the calculator shows the same pieces in the steps.
Type (x^2+1)/(x-1) and put 3 in Value at a point. The derivative is (x^2 − 2x − 1)/(x − 1)^2. At x = 3 the top is 9 − 6 − 1 = 2 and the bottom is 2^2 = 4, so the slope is 1/2. The calculator shows 1/2 exactly, then the decimal 0.5.
Type x^3-3x and put 2 in Value at a point. The derivative is 3x^2 − 3, so the slope at x = 2 is 9, and the function value is 8 − 6 = 2. The tangent line is y − 2 = 9(x − 2), which is y = 9x − 16. The normal line is perpendicular to it, with slope −1/9, so y = 20/9 − x/9. Both lines are drawn on the graph with the curve.
For a function of one letter the calculator also scans the graph range for points where the first derivative crosses zero, and uses the second derivative to say whether each is a local minimum or maximum. For x^3-3x it finds x = −1 (a local maximum, value 2) and x = 1 (a local minimum, value −2). These are found numerically in the range under Graph from and Graph to, so widen the range to look further out.
Type an equation with two letters, such as x^2 + y^2 = 25. The calculator moves everything to one side, differentiates with respect to x and to y, and gives dy/dx = −Fx / Fy. Here Fx = 2x and Fy = 2y, so dy/dx = −x/y. Put 3, 4 in Value at a point (x first, then y) and the slope is −3/4, with the tangent line y = 25/4 − 3x/4. Only the first derivative is given for an equation.
If the function has more than one letter, choose the letter under Variable, or leave it on Auto. The other letters are held constant, and the partial derivative for each of them is shown as well. For x^2 y^3 + sin(xy), the derivative with respect to x is 2x y^3 + y cos(xy), and with respect to y it is 3x^2 y^2 + x cos(xy).
Type your derivative in Check your own answer. The calculator compares it with its own at a dozen test points and says whether they match. Any equal form is accepted, for example (1 − ln(x))/x^2 and 1/x^2 − ln(x)/x^2. The test is numeric, so it shows that the two agree at those points.
Choose a higher Order to differentiate again. For x^4 the first derivative is 4x^3, the second is 12x^2, and the third is 24x. Each order is worked from the one before, and the steps show all of them.
It does not do limits, derivatives from the limit definition, second implicit derivatives, directional derivatives or functions defined in pieces. Implicit differentiation needs exactly two letters. If your function has a rule it cannot read, the box tells you what to change. Absolute value is differentiated away from 0 only, and the slope-is-zero scan only looks inside the graph range.
To draw the function on its own, use the graphing calculator. For the slope between two points, try the slope calculator, and for general sums the scientific calculator.
Questions
The derivative of a function gives its slope, or rate of change, at each point. If f(x) is a position, the derivative is the speed.
Yes. Every rule used is named and explained in order, from the sum rule to the chain rule, then the pieces are put together.
Yes. Choose 2nd under Order. You can go up to the 10th.
Yes, for an equation with two letters, like x^2 + y^2 = 25 or x^3 + y^3 = 6xy. It gives dy/dx with the steps. Give a point as x, y to get the slope and the tangent line there.
Yes. Type your derivative in Check your own answer. It is compared with the calculator's answer at a dozen test points, so any equal form passes.
Press Copy LaTeX. It copies the derivative as a LaTeX formula you can paste into a document.
Yes. Choose the letter under Variable, or leave it on Auto. Letters that are not the variable are treated as constants, so d/dy of x^2 y^3 is 3x^2 y^2, and the partial derivatives for the other letters are shown too.
Use ^ for powers, like x^2. Use sqrt(x) for a root, e^x or e^(2x) for the exponential, and pi for pi. The symbol buttons insert them.
Many forms of an answer are equal. Plug in the same number into both, or use Value at a point, to compare.
The engine applies exact rules. First and second derivatives of more than ninety functions were compared numerically with the computer algebra system SymPy (checked 24 Oct 2026). It is still a good habit to check homework answers against your textbook.
Yes. The layout stacks on a narrow screen and the buttons make typing symbols easier.
No. It is worked out in your browser. The last function you typed is remembered on this device only.