Derivative
Calculator
Instant symbolic differentiation
Struggling with calculus homework, or want to check your own working? This derivative calculator differentiates a function with respect to x and can show the step-by-step working, so you can see which rules were applied and why.
It handles polynomials, trigonometric, exponential and logarithmic functions, as well as higher-order derivatives, which makes it useful for students, teachers and anyone who needs a quick, reliable answer.
What Is a Derivative?
A derivative is the rate at which a function is changing at a given instant. It basically means the rate of change of a value at a point.
Derivatives, which are written as “dy/dx” or “f'(x),” are the starting point of calculus and are used in physics, engineering, economics, biology, and machine learning.
It is the slope of a tangent line to a graph that is responsible for the study of velocity, optimization of profit, and much more.
Derivative Formulas
Basic Rules
Formula | Name |
d/dx [c] = 0 | Constant Rule |
d/dx [xⁿ] = nxⁿ⁻¹ | Power Rule |
d/dx [cf(x)] = c·f'(x) | Constant Multiple Rule |
d/dx [f±g] = f’±g’ | Sum/Difference Rule |
d/dx [f·g] = f’g + fg’ | Product Rule |
d/dx [f/g] = (f’g − fg’) / g² | Quotient Rule |
d/dx [f(g(x))] = f'(g(x))·g'(x) | Chain Rule |
Exponential & Logarithmic
Formula | Name |
d/dx [eˣ] = eˣ | Natural Exponential |
d/dx [aˣ] = aˣ·ln(a) | General Exponential |
d/dx [ln x] = 1/x | Natural Log |
d/dx [log₁₀x] = 1/(x ln10) | Common Log |
d/dx [xˣ] = xˣ(1 + ln x) | Variable Exponent |
Trigonometric
Formula | Name |
d/dx [sin x] = cos x | Sine |
d/dx [cos x] = −sin x | Cosine |
d/dx [tan x] = sec²x | Tangent |
d/dx [sec x] = sec x·tan x | Secant |
d/dx [csc x] = −csc x·cot x | Cosecant |
d/dx [cot x] = −csc²x | Cotangent |
Inverse Trigonometric
Formula | Name |
d/dx [arcsin x] = 1/√(1−x²) | Inverse Sine |
d/dx [arccos x] = −1/√(1−x²) | Inverse Cosine |
d/dx [arctan x] = 1/(1+x²) | Inverse Tangent |
Hyperbolic
Formula | Name |
d/dx [sinh x] = cosh x | Hyperbolic Sine |
d/dx [cosh x] = sinh x | Hyperbolic Cosine |
d/dx [tanh x] = sech²x | Hyperbolic Tangent |
d/dx [arsinh x] = 1/√(x²+1) | Inverse Hyperbolic Sine |
d/dx [artanh x] = 1/(1−x²) | Inverse Hyperbolic Tangent |
Special
Formula | Name |
d/dx [√x] = 1/(2√x) | |
d/dx [∛x] = 1/(3x^⅔) | Cube Root |
d/dx [ | x |
Differentiation Rules Made Easy
Every function follows a specific differentiation rule. Our differentiation calculator automatically identifies and applies the correct rule for your function:
- Power Rule: d/dx [xⁿ] = nxⁿ⁻¹ the most frequently used rule for polynomial functions
- Product Rule: d/dx [f·g] = f’g + fg’ used when two functions are multiplied together
- Quotient Rule: d/dx [f/g] = (f’g − fg’) / g² used when one function divides another
- Chain Rule: d/dx [f(g(x))] = f'(g(x)) ·g'(x) applied to composite or nested functions
- Implicit Differentiation: used when y cannot be separated from x in an equation
Each rule is shown clearly in the step-by-step output so you can follow along and actually learn, not just get an answer.
What Functions Can It Handle?
Our dy/dx calculator handles virtually every function type you will encounter in calculus:
- Polynomials and rational functions
- Trigonometric: sin(x), cos(x), tan(x), sec(x), and more
- Inverse trigonometric: arcsin(x), arctan(x), arccos(x)
- Exponential and logarithmic: eˣ, ln(x), log₁₀(x)
- Hyperbolic and inverse hyperbolic functions
- Absolute value, square roots, and cube roots
- Multivariable functions via the partial derivative calculator
Higher-Order Derivatives
Our first-order calculator is extended to the 5th-order derivative of a function. The second derivative shows concavity and can be used to detect local maxima or minima.
The third derivative is the rate of change of acceleration, which is heavily used in physics and engineering. The higher-order derivatives are also needed in the expansions with the Taylor series.
Real-World Applications
Derivatives are not just a classroom topic. They power real-world applications across every field:
- Physics: velocity (1st derivative) and acceleration (2nd derivative) from a position function
- Economics: marginal cost, revenue, and profit analysis
- Engineering: stress, strain, and fluid dynamics modeling
- Machine Learning: gradient descent optimization relies entirely on derivatives
- Medicine: modeling drug concentration and reaction rates in the bloodstream
Why Use Our Free Derivative Calculator?
In contrast to other tools that require payment to reveal answers, our derivative calculator with steps is free and provides you with step-by-step working for all problems.
It includes implicit differentiation, partial derivatives, and higher-order and interactive graphs in a single place.
From high school student to university student or working professional, this product is designed to help save time and develop understanding.
Frequently Asked Questions
What is the derivative of a constant?
Zero. A constant never changes, so its rate of change is 0. For example, the derivative of 7 is 0, and the derivative of x² + 7 is simply 2x.
What’s the difference between a derivative and an integral?
They’re opposites. A derivative tells you how fast a function is changing at any point, which is the slope of its graph.
An integral works backwards from a rate of change to the original quantity, which is why integration is often called antidifferentiation.
How do I find the second derivative?
Differentiate the answer a second time. For f(x) = x³, the first derivative is 3x² and the second derivative is 6x. The second derivative tells you whether a curve is bending upwards or downwards.
How do I use a derivative to find a maximum or minimum?
Set the first derivative equal to zero and solve. For f(x) = x² − 4x + 1, f′(x) = 2x − 4, which is zero when x = 2.
The second derivative is 2, which is positive, so the curve has a minimum at x = 2, where f(2) = −3.
Which variable should I use?
This calculator differentiates with respect to x, so write your function in terms of x, for example sin(x) + 3x².
Related Calculators
More free tools from our Math Calculators collection:
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:

About the author
Tahir Mehmood
Tahir Mehmood is the founder of Digital Designs SEO LTD, a UK company, with five years of hands-on experience in SEO, content writing and web development. He builds and maintains the calculators on All in Calculators and keeps them up to date. Spotted an error? Contact us and we will fix it.
Last updated: 27 November 2026