Math calculators

Derivative Calculator

Updated Sep 1, 2026 By Infinity Calculator
Rate Formulas

DERIVATIVE RESULT
Step-by-Step Solution
Interactive Graph
Practice Mode

Find the derivative of:

Common Derivatives Reference
Function f(x) Derivative f'(x) Rule

Introduction

A derivative tells you how fast something is changing at any given point. It is one of the most important ideas in calculus. When you take the derivative of a function, you find its rate of change, much like how speed tells you how fast your position changes over time. This Derivative Calculator lets you type in any function and get the derivative right away. It handles common rules like the power rule, product rule, quotient rule, and chain rule so you don't have to work them out by hand. This tool makes finding derivatives simple and fast, so you can learn calculus for the first time or just check your work.

How to Use Our Derivative Calculator

Enter a math function and this calculator will find its derivative for you step by step.

Function f(x): Type the function you want to differentiate. Use "x" as your variable. For example, you can enter expressions like x^2, sin(x), 3x+5, or ln(x). You can also use parentheses to group terms, such as (x+1)^3.

Order of Derivative: Choose which derivative you want to find. Pick 1 for the first derivative, 2 for the second derivative, and so on. The first derivative tells you the slope or rate of change of your function. Higher-order derivatives give you the derivative of the derivative.

Point to Evaluate (optional): If you want to know the value of the derivative at a specific x-value, enter that number here. For instance, if you enter 3, the calculator will plug in x = 3 into the derivative and give you a numerical answer.

Once you have filled in your inputs, click the calculate button. The calculator will display the derivative expression, show the simplified result, and provide the evaluated value if you entered a specific point.

A derivative measures how a function changes as its input changes. In simple terms, it tells you the rate of change or the slope of a function at any given point. If you have a function that describes the position of a car over time, the derivative of that function gives you the car's speed. Derivatives are one of the two main ideas in calculus, and they show up everywhere in math, science, engineering, and economics.

How Derivatives Work

The derivative of a function f(x) is written as f'(x) or df/dx. It is found by looking at how much the output of the function changes when you make a tiny change to the input. For example, if f(x) = x², the derivative is f'(x) = 2x. This means that at x = 3, the slope of the curve is 6, and at x = 5, the slope is 10. The function gets steeper as x gets larger.

Key Derivative Rules

There are several important rules that make finding derivatives easier:

  • Power Rule: The derivative of xn is n·xn−1. For example, the derivative of x³ is 3x².
  • Constant Rule: The derivative of any constant number (like 5 or −3) is 0, because constants don't change.
  • Sum/Difference Rule: The derivative of a sum or difference is just the sum or difference of the individual derivatives. So d/dx(x² + 3x) = 2x + 3.
  • Product Rule: When two functions are multiplied together, the derivative is f'g + fg'. You differentiate one part at a time while keeping the other part the same.
  • Quotient Rule: For a fraction f/g, the derivative is (f'g − fg') / g².
  • Chain Rule: When a function is inside another function, like sin(x²), you multiply the outer derivative by the inner derivative. This is one of the most used rules in calculus.

Common Derivatives to Know

Some derivatives come up so often that they're worth memorizing. The derivative of sin(x) is cos(x). The derivative of cos(x) is −sin(x). The derivative of ex is ex (it's its own derivative, which makes it special). The derivative of ln(x) is 1/x. And the derivative of √x is 1/(2√x).

Higher-Order Derivatives

You can take the derivative of a derivative. The second derivative, written as f''(x), tells you how the rate of change itself is changing. Going back to the car example, if the first derivative is speed, the second derivative is acceleration. The third derivative and beyond also have uses in physics and engineering.

Why Derivatives Matter

Derivatives are used to find maximum and minimum values of functions, which is useful for optimization problems. Engineers use them to design structures, economists use them to model costs and profits, and scientists use them to describe how systems change over time. In physics, derivatives are essential for understanding concepts like force, momentum, and kinetic energy. Whenever you need to understand how something is changing at a specific moment, derivatives are the tool you reach for.

Evaluating Derivatives at a Point

Once you find the derivative formula, you can plug in a specific value to get the exact slope at that point. For example, if f(x) = x³ and f'(x) = 3x², then f'(2) = 3(4) = 12. This means the original curve has a slope of 12 when x equals 2. This is especially helpful for finding tangent lines and understanding the behavior of a function at a specific location on its graph.


Formulas used

Power Rule
\frac{d}{dx}x^n = n \cdot x^{n-1}
Product Rule
\frac{d}{dx}[f \cdot g] = f'g + fg'
Quotient Rule
\frac{d}{dx}\left[\frac{f}{g}\right] = \frac{f'g - fg'}{g^2}
Chain Rule
\frac{d}{dx}f(g(x)) = f'(g(x)) \cdot g'(x)
Exponential Rule
\frac{d}{dx}a^{g(x)} = a^{g(x)} \cdot \ln(a) \cdot g'(x)
Generalized Power Rule
\frac{d}{dx}f^g = f^g\left(g'\ln f + \frac{g f'}{f}\right)
Logarithm Rule
\frac{d}{dx}\ln(u) = \frac{1}{u} \cdot u'
Trigonometric (sin)
\frac{d}{dx}\sin(u) = \cos(u) \cdot u'

Frequently asked questions

Can I find the derivative with respect to a variable other than x?

Yes. Use the "Differentiate with respect to" dropdown menu to choose x, y, z, or t as your variable. The calculator will treat all other letters as constants.

What is the difference between the 1st, 2nd, and 3rd derivative?

The 1st derivative tells you the slope or rate of change of the original function. The 2nd derivative is the derivative of the 1st derivative, so it tells you how the slope itself is changing. The 3rd derivative takes it one step further. Each higher order gives you more detail about how the function behaves.

Does the Image Upload feature read my handwriting?

The image upload feature is currently simulated. It accepts PNG, JPG, GIF, or WebP files up to 1 MB, but it does not actually read the math from your image. For the most accurate results, type your expression directly or use the math keyboard.

How does Practice Mode work?

Practice Mode gives you a random derivative problem to solve on your own. Type your answer and click Check Answer. The calculator compares your answer to the correct one. If you get stuck, click Hint to see a tip. Click New Problem to try a different question.

How do I type square roots and cube roots?

For a square root, type sqrt(x). For a cube root, type cbrt(x). You can also use the math keyboard and click the button, or open the Roots submenu in the full keyboard for more options like fourth roots.

Can I use inverse trig functions like arcsin or arctan?

Yes. Type arcsin(x), arccos(x), or arctan(x). You can also find these buttons in the Trigonometric submenu when you turn on the Full Pad keyboard. The calculator knows the derivatives for all six inverse trig functions.