Derivative Calculator With Steps

Type a function or snap a photo of it. The AI finds the derivative and names the rule at every line: power, product, quotient, chain, or implicit.

The free extension shows the answer and steps on the page you're studying on: 5 answers + 5 chat messages a day.

Updated November 2026

3 free solves a day — no account, no credit card. Photos and typed questions both work.

This derivative calculator differentiates your function and shows every step, free, with no sign-up needed. Type the function, paste a screenshot from WebAssign or MyLab, or upload a photo of the worksheet, and the AI identifies the structure first (a product, a quotient, a function inside a function), names the rule that fits, and applies it one line at a time until the derivative is simplified.

How to use the derivative calculator

Enter the function above, typed or as a photo, and press Solve. You get the derivative at the top and the working underneath: which rule applies to which part of the function, each line of the differentiation, and the simplification at the end. Ask for a second derivative, a derivative at a point, or the tangent line, and the steps continue from the first derivative.

Type powers with ^ and wrap inputs in parentheses, so e^(3x^2) rather than e^3x^2. For implicit equations, write the whole equation and ask for dy/dx. If the function is already on your screen in a homework platform, a screenshot is faster than retyping it, and the AI reads fractions, roots, and exponents as they're rendered.

Derivative rules, with an example of each

The rules every derivative on this page is built from. The calculator names whichever one it applies.

RuleFormulaExample
Constantd/dx [c] = 0d/dx [7] = 0
Powerd/dx [x^n] = n·x^(n-1)d/dx [x^5] = 5x^4
Constant multipled/dx [c·f] = c·f'd/dx [3x^2] = 6x
Sum and difference(f ± g)' = f' ± g'd/dx [x^3 + x] = 3x^2 + 1
Product(f·g)' = f'·g + f·g'd/dx [x·e^x] = e^x + x·e^x
Quotient(f/g)' = (f'·g - f·g') / g^2d/dx [x/(x + 1)] = 1/(x + 1)^2
Chaind/dx [f(g(x))] = f'(g(x))·g'(x)d/dx [sin(2x)] = 2cos(2x)

Names the rule at each line

Power, product, quotient, chain, or implicit: every line says which rule produced it, so you can apply the same move on the test.

Reads the function from a photo

Snap a worksheet or paste a screenshot. Fractions, roots, nested parentheses, and exponents are read as rendered, so there's no retyping.

Beyond the first derivative

Second and higher derivatives, derivatives at a point, tangent and normal lines, and the limit definition of the derivative.

Implicit and logarithmic

Implicit differentiation solved for dy/dx, and logarithmic differentiation for functions like x^x.

Free every day

Three solves a day with no account. A free account adds five answers and five chat messages a day across SnapGPT.

Simplified, but not hidden

The solver aims to finish with a simplified, factored answer; if your own work stops at an unsimplified line, compare it with the line just before the final one.

How to find a derivative, with steps

Worked the way the solver works them — the method first, then the answer.

Power rule, term by term

Differentiate each term separately: bring the exponent down, subtract one, and a constant term goes to zero.

f(x) = 5x^4 - 3x^2 + 7x - 2
f'(x) = 5·4x^3 - 3·2x + 7·1 - 0
f'(x) = 20x^3 - 6x + 7

Product rule

Two functions multiplied: derivative of the first times the second, plus the first times the derivative of the second.

y = x^2 sin(x)
u = x^2, v = sin(x) -> u' = 2x, v' = cos(x)
y' = u'v + uv'
y' = 2x sin(x) + x^2 cos(x)

Quotient rule

Low d-high minus high d-low, over low squared. Expand the numerator before you simplify.

y = (x^2 + 1)/(x - 3)
y' = [2x(x - 3) - (x^2 + 1)(1)] / (x - 3)^2
y' = (2x^2 - 6x - x^2 - 1) / (x - 3)^2
y' = (x^2 - 6x - 1) / (x - 3)^2

Chain rule with an exponential

Differentiate the outside function, keep the inside unchanged, then multiply by the derivative of the inside.

f(x) = e^(3x^2)
outer: e^u, inner: u = 3x^2, u' = 6x
f'(x) = e^(3x^2) · 6x
f'(x) = 6x e^(3x^2)

Implicit differentiation

Differentiate both sides with respect to x, use the product rule on xy, then collect the dy/dx terms.

x^2 + xy + y^2 = 7
2x + (y + x·dy/dx) + 2y·dy/dx = 0
dy/dx·(x + 2y) = -(2x + y)
dy/dx = -(2x + y)/(x + 2y)

Second derivative

Differentiate once with the chain rule, then again with the quotient rule.

f(x) = ln(x^2 + 1)
f'(x) = 2x/(x^2 + 1)
f''(x) = [2(x^2 + 1) - 2x·2x] / (x^2 + 1)^2
f''(x) = (2 - 2x^2)/(x^2 + 1)^2

Derivative from the limit definition

When the question says 'use the definition', expand f(x + h), cancel, divide by h, and let h go to 0.

f(x) = x^2
f'(x) = lim h->0 [(x + h)^2 - x^2]/h
= lim h->0 (2xh + h^2)/h
= lim h->0 (2x + h) = 2x

Tangent line at a point

The derivative at the point is the slope; the point-slope form gives the line.

y = √x at x = 4, so the point is (4, 2)
y' = 1/(2√x), y'(4) = 1/4
y - 2 = (1/4)(x - 4)
y = x/4 + 1

A note on checking your answer

A derivative is easy to check without redoing it. The steps above each answer show which rule was applied where, so a slip shows up as a line that doesn't follow from the one before.

  • Check numerically: for y = x^2 sin(x), [f(1.001) - f(0.999)]/0.002 should match f'(1) = 2 sin 1 + cos 1 to several decimals.
  • Read the graph: wherever f is increasing, f' should be positive; at a peak or valley f' should be 0.
  • Simplify before comparing: an unsimplified quotient-rule line and the factored answer are the same derivative written two ways.

Common derivatives

Memorize these and most problems reduce to combining them with the rules above.

FunctionDerivativeNote
sin xcos xRadians only
cos x-sin xNote the sign
tan xsec^2 xQuotient rule on sin/cos
sec xsec x·tan x
e^xe^xIts own derivative
a^xa^x·ln aa > 0
ln x1/xx > 0
log_a x1/(x·ln a)Change of base
√x1/(2√x)Power rule with n = 1/2
arcsin x1/√(1 - x^2)-1 < x < 1
arccos x-1/√(1 - x^2)-1 < x < 1
arctan x1/(1 + x^2)All real x

More about derivatives

Notation: f'(x), dy/dx, and d/dx

Prime notation f'(x) and Leibniz notation dy/dx mean the same thing: the instantaneous rate of change of the function with respect to x. Leibniz notation is easier to read in the chain rule (dy/dx = dy/du · du/dx) and in related rates, so solutions usually use it when a problem has several variables. Second derivatives are written f''(x) or d²y/dx².

Which rule to use

Look at the outermost operation. If the function is a sum, differentiate term by term. If two expressions are multiplied, use the product rule; if divided, the quotient rule (or rewrite with a negative exponent). If one function sits inside another, like sin(3x) or (x^2 + 1)^5, the chain rule applies, often on top of one of the others. Most mistakes come from missing an inner function, which is why each step here says which function is the inside.

Where derivatives show up next

Derivatives feed related rates, optimization, curve sketching, and linear approximation, and the reverse process is the integral. For applied problems and anything beyond a single derivative, the calculus calculator shows the setup before the calculus. To go the other way, the integral calculator finds antiderivatives with steps, and the limit calculator covers the limits that define the derivative in the first place.

Partial derivatives

For a function of several variables, a partial derivative treats every other variable as a constant: for f(x, y) = x^2 y + y^3, ∂f/∂x = 2xy and ∂f/∂y = x^2 + 3y^2. Type the function and say which variable, and the steps show what was held constant.

On your homework platform

Derivative sets in WebAssign, MyLab, and WeBWorK randomize the coefficients, so a posted answer rarely matches yours. The free SnapGPT extension reads the problem off the page and works your numbers with the same steps, on desktop Chrome or Firefox. The free extension shows the answer for you to enter; Plus adds Autopilot, which enters it for you.

How the free solver works

1

Upload a photo or type the question

Drag in a photo of your worksheet, paste a screenshot straight from your clipboard, or type the problem out. No account needed for your first solves of the day.

2

The AI reads the whole thing

Vision AI reads the question exactly as it appears — the wording, every answer choice, and any graph, table, or diagram attached to it.

3

Read the answer and the steps

The final answer is highlighted up top, with each step of the working underneath so you can follow the method — and reuse it on the next problem.

4

Take it to your real homework

The free SnapGPT extension does this on the page you're studying on — one click, no uploading — with 5 free answers every day.

Need more than a few solves a day?

The solver above is free forever. The SnapGPT extension adds screenshot answers on any website.

Free

$0 forever

5 screenshot answers and 5 chat messages every day, on every website. No credit card required.

Plus

$7.99 /week · or $9.99/mo · $89.99/yr

Unlimited answers, unlimited AI chat and explanations, SmartScan for free-response questions, Autopilot, and reasoning models.

Use it where your homework lives

The SnapGPT extension answers questions directly on your course platforms — and side by side with the tools you already know.

Derivative calculator: FAQ

Is there a calculator that solves derivatives?

Yes, this one. Type the function or upload a photo, and it returns the derivative with each step and the rule behind it. Graphing calculators with a computer algebra system and symbolic tools also differentiate; what this calculator adds is the explanation in words at every line, plus the ability to read the problem from a picture.

How do you calculate a derivative?

Find the outermost operation and apply its rule: term by term for a sum, the product rule for a product, the quotient rule for a quotient, and the chain rule when one function is inside another. Each piece then reduces to a basic derivative from the table above (x^n, e^x, ln x, sin x, and so on). Simplify at the end.

What is the derivative of 2x?

2. By the constant multiple and power rules, d/dx [2x] = 2 · d/dx [x] = 2 · 1 = 2. A linear function has a constant slope, and the derivative is that slope.

Can it do implicit differentiation and second derivatives?

Yes. For an equation like x^2 + xy + y^2 = 7 it differentiates both sides with respect to x and solves for dy/dx. For second and higher derivatives it differentiates again from the simplified first derivative, and for implicit equations it substitutes dy/dx back in.

Can it find the derivative at a point or the tangent line?

Yes. Give the function and the x-value, and it evaluates the derivative there; ask for the tangent line and it finishes with point-slope form, as in the √x example above.

Is this a symbolic derivative calculator?

It's an AI solver, not a computer algebra system. A vision model reads the problem as written, chooses the method, and writes out each step in words, which is what makes it useful for learning and for problems that arrive as photos or screenshots. Like any AI it can slip on a long calculation, so every answer comes with the working, and the checks below take seconds.

Can I take a photo of a derivative problem?

Yes. Upload a photo of the worksheet or paste a screenshot from your homework site. The AI reads the function as rendered, including fractions, roots, and exponents, and differentiates it with the steps.

Is the derivative calculator free?

Yes. Three solves a day here with no account and no card. A free SnapGPT account adds 5 answers and 5 chat messages a day, shared by this solver, the web app, and the browser extension; Plus ($7.99/week, $9.99/month, or $89.99/year) has no daily cap.

More calculus calculators

Every calculus tool shows the steps, from a photo or a typed problem.

Derivatives with every rule named

Free steps here, and on WebAssign, MyLab, and WeBWorK with the SnapGPT extension.