Home / Derivative Calculator

Derivative Calculator

Enter a polynomial like 3x^3 + 2x^2 - 5x + 7 to get its derivative with per-term power rule steps. Covers polynomials; for trig or exponential functions, see the learning resources below.

Chris Terry
By Chris Terry, Editor
Updated June 20, 2026

Enter a polynomial

Use the format: ax^n + bx^m + ... + c. Coefficients and integer exponents only. Example: 5x^4 - 3x^2 + x - 2

Result

f'(x)--
Enter a polynomial above to see the steps.

How polynomial differentiation works

The derivative of a function is its instantaneous rate of change. For polynomials, every term is differentiated independently using the power rule, then the results are combined.

Power rule: d/dx [ a * x^n ] = n * a * x^(n-1)

Derivative rules reference

RuleFormResultExample
Power rulea * x^nn * a * x^(n-1)d/dx[4x^3] = 12x^2
Constant rulec0d/dx[7] = 0
Constant multiplea * f(x)a * f'(x)d/dx[5x^2] = 5 * 2x = 10x
Sum rulef(x) + g(x)f'(x) + g'(x)Differentiate each term separately

Worked example: differentiate 3x^3 + 2x^2 - 5x + 7

This is the default expression in the calculator. Here is each step applied by hand.

Term 1: 3x^3 Apply the power rule: multiply coefficient by exponent, reduce exponent by 1.
3 * x^3 gives 3 * 3 * x^(3-1) = 9x^2

Term 2: 2x^2
2 * 2 * x^(2-1) = 4x

Term 3: -5x Treat as -5 * x^1.
1 * (-5) * x^(1-1) = -5 * x^0 = -5

Term 4: 7 This is a constant, so its derivative is 0.

Result: f'(x) = 9x^2 + 4x - 5

This matches the output of the calculator above. For a formal treatment of polynomial derivatives, see Wolfram MathWorld on the derivative and the MIT OpenCourseWare single-variable calculus notes.

This tool covers polynomials. For trig functions (sin, cos), natural log, or exponential functions, the chain rule and product rule also apply. Those topics are covered well at Paul's Online Math Notes (Lamar University).

Related calculators

Also on MathCalcTools: the integral calculator (reverse of differentiation) and the exponent calculator.

Good to know

Frequently asked questions

What is a derivative?

The derivative of a function measures its instantaneous rate of change at any point. For a polynomial f(x), the derivative f'(x) gives the slope of the tangent line at x. It is the foundation of differential calculus.

What is the power rule for derivatives?

The power rule states: d/dx[a * x^n] = n * a * x^(n-1). Multiply the coefficient by the exponent, then reduce the exponent by one. For example, the derivative of 4x^3 is 12x^2.

What is the derivative of a constant?

The derivative of any constant is zero. Constants do not change, so their rate of change is 0. For example, d/dx[7] = 0.

Can this calculator handle trig or exponential functions?

This tool handles polynomial expressions using the power rule. For trig, exponential, or composite functions, see a full symbolic CAS such as Wolfram Alpha or Symbolab.

What does the derivative calculator with steps show?

It shows each term, applies the power rule to that term, and lists the resulting derivative term. The final derivative expression is assembled from all terms.

Chris Terry
About the author
Chris Terry
Editor, Encore Editorial

Editor at Encore Editorial, Chris Terry sets the editorial standards here and turns dense topics into plain English. He has written widely on education, finance, and consumer markets.