Browse All Calculators

Derivative Calculator

Free derivative calculator with steps. Differentiate any function, find higher-order derivatives, the slope at a point and the tangent line, with a live graph.

100% Free
No Sign-up
Instant Results
Works on Mobile

Derivative Calculator

Differentiate with respect to
Order of derivative
Point = 2
Step-by-step working
  1. Write the function: f(x) = x³ + 2x² + 5.
  2. Rules needed: Sum rule, constant rule, constant multiple rule, power rule.
  3. Differentiate with respect to x: f′(x) = 3x² + 4x.
  4. Substitute x = 2: f′(2) = 20.
f(x)f′(x)Tangent line
f′(x) =
3x² + 4x
Plain text: 3*x^2 + 4*x
f(2)
21
f′(2)
20
f″(2)
16
Tangent line
y = 20x − 19
Rules applied
  • Sum rule: differentiate each term on its own, then add the results.
  • Constant rule: a term with no variable has a derivative of 0.
  • Constant multiple rule: a number multiplying a function stays in front.
  • Power rule: the derivative of xⁿ is n·xⁿ⁻¹.
Check your answer
  • Numerical check at x = 2: the slope of f over a tiny step is about 20, which matches 20.
  • The tangent line touches the curve at (2, 21) with slope 20.
Quick note
The slope at x = 2 is 20, so the function is rising at that point.
Derivative Calculator - differentiate functions with steps, slope at a point and tangent line online on HighCalc

Derivative Calculator: Differentiate Any Function with Steps

This free derivative calculator works out the derivative of a function you type in and shows how it got there. It handles polynomials, fractions, roots, powers, trigonometric functions, exponentials and logarithms, and it can differentiate up to four times. Beside the answer you get the value of the function and its slope at a point of your choice, the equation of the tangent line and a graph that updates as you type.

Quick answer: the derivative of x³ + 2x² + 5 is 3x² + 4x. At x = 2 the slope is 20, the function value is 21 and the tangent line is y = 20x − 19.

What Is a Derivative?

A derivative tells you how quickly something changes. If a function describes the position of a car, its derivative is the speed. If it describes the cost of making goods, its derivative is the extra cost of one more unit. On a graph, the derivative at a point is the slope of the curve there, found by zooming in until the curve looks like a straight line.

Basic Differentiation Rules

Most derivatives come from a few rules that are combined. The power rule turns xⁿ into n·xⁿ⁻¹. The sum rule lets you differentiate a long expression one term at a time, and a number multiplying a function simply stays in front. The product rule handles two functions multiplied together, the quotient rule handles one divided by another, and the chain rule handles a function inside another function, such as sin(3x) or (x² + 1)³. The table shows a few examples of each.

FunctionDerivativeRule used
x⁴4x³Power rule
5x² + 3x10x + 3Sum and constant multiple
sin(x)cos(x)Trigonometric rule
e^(2x)2e^(2x)Exponential and chain rule
ln(x)1/xLogarithm rule
x² sin(x)x² cos(x) + 2x sin(x)Product rule
x/(x + 1)1/(x + 1)²Quotient rule
(x² + 1)³6x(x² + 1)²Chain rule

How to Enter a Function

Type the function the way you would write it on paper. Use ^ for powers, so x squared is x^2, and you can leave out the multiplication sign, so 3x and 2sin(x) both work. Write square roots as sqrt(x), the exponential function as e^x and pi for π. Functions such as sin, cos, tan, ln and log need brackets around their input. The buttons below the box insert common symbols without typing. Letters other than the chosen variable are treated as constants, so differentiating a·x² with respect to x gives 2a·x.

Higher-Order Derivatives

Differentiating the derivative gives the second derivative, which describes how the slope itself changes. A positive second derivative means the curve bends upward, a negative one means it bends downward, and a change of sign marks an inflection point. In physics, the first derivative of position is velocity and the second is acceleration. Pick the 2nd, 3rd or 4th order to repeat the process automatically.

Slope, Tangent Line and the Graph

Enter a point to see the slope of the curve there. The green dashed line on the graph is the tangent line, which touches the curve at that point and has the same slope. Where the slope is zero, the curve is flat, which often marks a highest or lowest point. For finding where a quadratic reaches its peak, the quadratic calculator is a useful partner, and the polynomial calculator helps with factoring and roots of higher-degree expressions. To go the other way, from a rate of change back to the original function, use the integral calculator.

Who Uses a Derivative Calculator?

Students in calculus and pre-calculus use it to check homework and to see each stage of the working. Engineers, economists and scientists use derivatives to find rates of change and to optimize a quantity. For arithmetic that comes up along the way, the scientific calculator and the math solver can help.

How to Use This Derivative Calculator

1

Type your function

Enter it in the box, or tap the shortcut buttons to insert powers, roots and functions.

2

Choose the variable and order

Pick x, y, z or t, then 1st to 4th derivative.

3

Set a point

Type a value or drag the slider to see the slope and tangent line there.

4

Read the results

See the derivative, the rules used, the step-by-step working and the graph.

Features

Instant Results
The answer updates as you type
Exact Answers
Symbolic results, checked numerically
Up to 4th Order
Repeat the derivative as many as four times
Live Graph
The function, its derivative and the tangent line
Step-by-Step Working
See the rules used and every stage
Mobile Friendly
Works smoothly on phones, tablets and desktops
Frequently Asked Questions
Common questions about the Derivative Calculator.
What is a derivative?
A derivative measures how fast a function changes. At any point it gives the slope of the curve, which is also the slope of the tangent line that just touches the curve there. For f(x) = x² the derivative is 2x, so at x = 3 the curve is rising with a slope of 6.
How do I find the derivative of x³ + 2x² + 5?
Use the power rule on each term and add the results. The derivative of x³ is 3x², the derivative of 2x² is 4x and the derivative of the constant 5 is 0. So the derivative is 3x² + 4x. At x = 2 the slope is 3(4) + 4(2) = 20, and the function value is 21, which gives the tangent line y = 20x − 19.
Which differentiation rules does the calculator use?
It applies the sum, constant multiple, power, product, quotient and chain rules, along with the standard derivatives of trigonometric, inverse trigonometric, hyperbolic, exponential and logarithmic functions. The Rules applied box lists the ones your function needed, and the working shows each stage.
How do I type a function?
Use ^ for powers, * for multiplication (or just write 2x), / for division, sqrt() for square roots, abs() for absolute value, e^x for the exponential and pi for π. Functions need brackets, such as sin(x), cos(2x), ln(x) or tan(x^2). Natural logarithm is ln and base 10 logarithm is log. The shortcut buttons under the box insert these for you.
What does the value at a point tell me?
It shows the function value, the slope and the second derivative at the point you choose, plus the equation of the tangent line. A positive slope means the function is rising there, a negative slope means it is falling and a slope of zero means the curve is flat, which is where peaks and dips usually occur.
What is a second derivative and how do I find it?
The second derivative is the derivative of the derivative. It shows how the slope itself is changing: a positive value means the curve bends upward and a negative value means it bends downward. Choose 2nd, 3rd or 4th under Order of derivative to differentiate repeatedly. For x³ + 2x² + 5 the second derivative is 6x + 4.