# Derivative Calculator

> Free derivative calculator with steps. Get exact first and second derivatives, chain, product, quotient and ln rules explained, plus the slope at any point.

URL: https://allincalculators.com/derivative-calculator/

∂ / ∂x

# DerivativeCalculator


Instant symbolic differentiation
















Function


f =






order **1**












Keypad













···











✓ Differentiated







Simplified:




Evaluate at a point


x =






f'( ) =




















Recent

No calculations yet













Table of Contents
- [1How to Use the Derivative Calculator](#how-to-use-the-derivative-calculator)

- [2What Is a Derivative?](#what-is-a-derivative)

- [3Derivative Rules With Worked Examples](#derivative-rules-with-worked-examples)

- [4Derivatives of ln and log Functions](#derivatives-of-ln-and-log-functions)

- [5Second Derivative and What It Tells You](#second-derivative-and-what-it-tells-you)

- [6Partial Derivatives](#partial-derivatives)

- [7Implicit Differentiation](#implicit-differentiation)

- [8Finding the Derivative at a Point](#finding-the-derivative-at-a-point)

- [9How to Find a Derivative on a Calculator](#how-to-find-a-derivative-on-a-calculator)

- [10Common Mistakes to Avoid](#common-mistakes-to-avoid)

- [11Frequently Asked Questions](#frequently-asked-questions)

- [12Related Calculators](#related-calculators)

A derivative tells you how fast something changes at one exact point. Type a function above, choose the first or second derivative, and the calculator returns the exact answer with every step written out.

Each result is also checked numerically before it is shown, so you can trust it for homework, exam revision or a quick sanity check on your own working.

## How to Use the Derivative Calculator

Enter your function in the box using x as the variable, for example x^3*sin(x) or ln(x^2+1). Use ^ for powers and * for multiplication.

Use the order buttons to pick the first or second derivative. Switch the variable to t if your function is written in time, such as t^2*e^t.

Press Calculate. You get the simplified derivative, a step by step breakdown, and a box where you can find the value of the derivative at any point.

## What Is a Derivative?

The derivative of f(x) is the slope of its graph at a single point. Where the graph rises steeply the derivative is large; where it is flat the derivative is zero.

Formally, it is the limit of (f(x + h) − f(x)) / h as h shrinks to zero. In practice you rarely use the limit, because a short list of rules covers almost every function.

## Derivative Rules With Worked Examples

Every example below was checked with a computer algebra system, and you can paste any of them into the calculator to see the full steps.

### Power rule

Bring the power down and reduce it by one: d/dx xⁿ = n·xⁿ⁻¹. So 3x⁴ − 5x² + 7 becomes 12x³ − 10x. The constant 7 disappears because its slope is zero.

### Product rule

For two functions multiplied together, use (uv)′ = u′v + uv′. The derivative of x²·sin(x) is 2x·sin(x) + x²·cos(x).

### Quotient rule

For a fraction, use (u/v)′ = (u′v − uv′) / v². The derivative of (x + 1)/(x − 1) simplifies to −2/(x − 1)².

### Chain rule

For a function inside another function, differentiate the outside and multiply by the derivative of the inside. So sin(3x²) becomes 6x·cos(3x²).

## Derivatives of ln and log Functions

The natural log rule is d/dx ln(x) = 1/x. Combined with the chain rule, ln(x² + 1) has the derivative 2x/(x² + 1).

For a log in another base, divide by the natural log of that base. The derivative of log₁₀(x) is 1/(x·ln 10). In the calculator, type ln(x) for the natural log.

Logarithmic differentiation also handles awkward cases like xˣ. Take ln of both sides first; the result is xˣ(ln x + 1), which the calculator returns directly.

## Second Derivative and What It Tells You

The second derivative is the derivative of the derivative. It measures how the slope itself is changing, which tells you whether a curve bends up or down.

Take f(x) = x⁴ − 3x². Then f′(x) = 4x³ − 6x and f″(x) = 12x² − 6. Setting f′(x) = 0 gives x = 0 and x = ±√6/2.

At x = 0, f″ = −6, which is negative, so that point is a local maximum. At x = ±√6/2, f″ = 12, which is positive, so both are local minima.

In physics, if position is s(t), the first derivative is velocity and the second is acceleration. An object that falls s = 4.9t² metres is moving at 9.8t, which is 29.4 m/s after 3 seconds.

## Partial Derivatives

A partial derivative differentiates a function of several variables with respect to one of them, holding the others constant.

For f(x, y) = x²y, the partial derivative with respect to x is 2xy, because y is treated like a number. With respect to y, it is x².

This calculator works with one variable at a time, so it is best for single-variable functions. For a partial derivative, treat the other letters as constants and work through the steps the same way.

## Implicit Differentiation

Sometimes y is not written on its own, as in the circle x² + y² = 25. Differentiate both sides with respect to x and treat y as a function of x.

That gives 2x + 2y·(dy/dx) = 0, so dy/dx = −x/y. At the point (3, 4) the slope of the circle is −3/4.

## Finding the Derivative at a Point

After you calculate, enter a number in the evaluate box to get the slope at that x value. For x³·sin(x) at x = 2, the derivative is about 7.5824.

This value comes from a high-precision numerical method, so it is shown with the ≈ sign. The exact derivative above it is symbolic and needs no rounding.

## How to Find a Derivative on a Calculator

Many graphing and scientific calculators only give the numerical slope at one point. On a TI-84 Plus, for example, the nDeriv function in the MATH menu returns a decimal, not a formula.

A symbolic tool like this one gives you the full formula and the working, which is what most teachers want to see. Use the numerical value to check the formula, not to replace it.

## Common Mistakes to Avoid

Forgetting the chain rule is the most frequent error. If there is anything other than plain x inside a function, multiply by its derivative.

Write multiplication clearly when typing. Use 3*x or 3x, and wrap whole expressions in brackets, such as sin(2*x) instead of sin2x.

In the quotient rule, keep the order u′v − uv′. Swapping it flips the sign of the whole answer.

## Frequently Asked Questions

### What is the derivative of a constant?

Zero. A constant never changes, so its graph is a flat line with slope 0.

### What is the difference between a derivative and an integral?

A derivative gives the rate of change. An integral works the other way and adds up area or total change. They are inverse operations.

### Can I find a third derivative?

The calculator gives first and second derivatives. For a third, copy the second derivative back into the box and differentiate once more.

### Does it show the steps?

Yes. Press Show step-by-step under the answer to see which rule was used at each stage.

## Related Calculators

Find the slope between two points with the [Slope Calculator](/slope-calculator/), or solve equations with the [Quadratic Formula Calculator](/quadratic-formula-calculator/).

For other algebra work, try the [Log Calculator](/log-calculator/), [Square Root Calculator](/square-root-calculator/), [Fraction Calculator](/fraction-calculator/), [Matrix Calculator](/matrix-calculator/) and [Scientific Notation Calculator](/scientific-notation-calculator/).

For background reading, see the [derivative article on Wikipedia](https://en.wikipedia.org/wiki/Derivative).

## Link to this calculator

Teacher, blogger or student? Share this free Derivative Calculator with your readers or class by pasting this code into your website:

---
The interactive calculator runs in the browser at https://allincalculators.com/derivative-calculator/
