Derivative Calculator

Free derivative solver with step-by-step solutions for polynomials, trig, exponentials, and logs.

Derivative Calculator AI is free and needs no sign-up. A computer-algebra system differentiates, integrates, and evaluates limits with full step-by-step work. Ask why a step is valid and an explanation answers, using AI when it is configured. Check an answer or practice a rule in English, Spanish, or Portuguese without an account.

Calculator comparison · Symbolab alternative

Embed this tool

Paste this iframe on your page. It loads the calculator itself, not a third-party script.

<iframe src="https://derivativecalculatorai.com/" title="Derivative Calculator AI" width="100%" height="640" style="border:0"></iframe>

Practice problem generator

Streak: 0

Pick a rule and a difficulty. A correct answer extends the streak. A miss resets it and is saved on this device.

Use this derivative solver when you need the derivative, the rule that produced it, and the steps in between. It is free, it does not ask you to create an account, and the same calculator runs in English, Spanish, and Portuguese.

How to calculate a derivative with this solver

A derivative is the instantaneous rate of change of a function. If f tells you a value at x, f′ tells you how fast that value is changing at x. On this page you type the function — x^2, sin(x), ln(x), or something longer — and press Solve. The calculator returns the derivative, names the rule it used, and lists the steps so you can check the work instead of copying a bare answer.

Common functions are differentiated with deterministic calculus rules: power, constant, sum, product, quotient, and chain, plus the standard derivatives of sine, cosine, tangent, exponentials, and logarithms. An explanation in words sits next to those steps. You can change the expression and solve again without reloading the page.

Write powers with ^, and put parentheses around anything that belongs together. sin(2*x) is unambiguous. sin2x is easy for both students and parsers to misread. Functions the solver recognizes include sin, cos, tan, sec, csc, cot, arcsin, arccos, arctan, ln, log, exp, and sqrt.

Derivative rules the solver uses

The power rule is the one you will use most: the derivative of x^n is n·x^(n−1). The derivative of x^2 is 2x. The derivative of x^3 is 3x^2. A constant has derivative 0, so the derivative of pi is 0 even though pi is written as a letter. The sum rule then says you may differentiate one term at a time: the derivative of x^2 + 1 is just 2x.

The product rule is for a product of two functions, (uv)′ = u′v + uv′. The derivative of x·sin(x) is sin(x) + x·cos(x). The quotient rule is for a fraction, (u/v)′ = (u′v − uv′) / v^2. That is why the derivative of 1/x is −1/x^2. Rewrite 1/x^2 as x^(−2) and the power rule gives −2x^(−3), which is −2/x^3. Both routes have to agree; if they do not, a sign was dropped.

The chain rule is for a function inside a function: the derivative of f(g(x)) is f′(g(x))·g′(x). The derivative of sin(2x) is cos(2x) times 2, which is 2 cos(2x). Skipping that inner 2 is the usual wrong answer.

Trigonometric derivatives worth memorizing: the derivative of sin(x) is cos(x), of cos(x) is −sin(x), of tan(x) is sec^2(x), of cot(x) is −csc^2(x), of sec(x) is sec(x)tan(x), and of csc(x) is −csc(x)cot(x). Inverse trig is a different family. The derivative of arcsin(x) is 1/√(1−x^2), of arccos(x) is −1/√(1−x^2), and of arctan(x) is 1/(1+x^2). Searches for sin^−1(x) or tan^−1(x) mean these inverse functions, not 1/sin(x).

Exponentials and logarithms: the derivative of e^x is e^x, of e^(2x) is 2e^(2x), of ln(x) is 1/x, and of ln(2x) is also 1/x because the constant factor 2 disappears into the chain rule. The derivative of x·ln(x) needs the product rule and equals ln(x) + 1.

Mistakes that change the derivative

Dropping the chain-rule factor. The derivative of sin(2x) is not cos(2x). The derivative of the inside, which is 2, has to multiply the outside derivative.

Treating a product as a sum. The derivative of x·sin(x) is not cos(x). Each factor contributes a term, and both terms stay.

Reading inverse trig as a reciprocal. arcsin(x) is not csc(x). The derivative of arcsin(x) is not the derivative of 1/sin(x). If a problem writes sin^−1(x), check whether the course means the inverse function. On these pages, arcsin means the inverse.

Differentiating a constant that looks important. pi, numeric coefficients standing alone, and e^0 all have derivative 0. e^x does not, because the exponent still depends on x.

Mixing up ln and log. Here ln(x) is the natural logarithm, base e, and its derivative is 1/x. If your class uses log for base 10, that derivative has an extra factor of 1/ln(10). Type the base you were given.

Integrals, limits, and the other tools

Differentiation answers “how fast is this changing?” An integral asks for an antiderivative, and a limit asks what the function approaches. Those are separate calculators: the integral calculator, the limit calculator, the matrix calculator for determinants and inverses, and the differential-equation solver for first- and second-order equations. The calculus wiki states the rules above as short articles when you want the definition without running another calculation.

If a result looks wrong, check parentheses and the variable first. The solver differentiates with respect to x. An expression with no x in it is a constant, and the derivative will be 0.

Worked derivatives students look up

Frequently asked questions

Is Derivative Calculator AI free?

Derivative Calculator AI is free and needs no sign-up. A computer-algebra system differentiates, integrates, and evaluates limits with full step-by-step work. Ask why a step is valid and an explanation answers, using AI when it is configured. Check an answer or practice a rule in English, Spanish, or Portuguese without an account.

What is a derivative calculator?

A derivative calculator differentiates a function you type and shows the resulting formula. This one also names the rule and lists the steps, so you can use it to check homework rather than only to copy a final expression.

How do I use the derivative solver?

Enter a function of x, such as x^2, sin(2*x), or ln(x), and press Solve. Powers use the ^ symbol. Parentheses keep the chain rule and the quotient rule attached to the right part of the expression.

What is the derivative of sin(x)?

The derivative of sin(x) is cos(x). The derivative of sin(2x) is not cos(2x); the chain rule multiplies by 2, so the answer is 2 cos(2x).

What is the derivative of 1/x^2?

Rewrite 1/x^2 as x^(−2). The power rule gives −2 x^(−3), which is −2/x^3.

Does the calculator show steps for free?

Yes. The step-by-step derivative, the integral calculator, and the limit calculator run without an account. You can solve again as many times as you need.

What is the derivative of a constant such as pi?

The derivative of any constant is 0. Pi, 5, and e^0 are constants. e^x is not a constant, and its derivative is e^x.