A derivative measures how a function changes as its input changes — it's the instantaneous rate of change at any point on a curve. Derivatives are foundational to calculus, powering everything from velocity and acceleration in physics to optimization in machine learning and economics. Whether you're finding the slope of a tangent line or maximizing profit, derivatives are the tool you reach for.
Computing derivatives by hand means memorizing dozens of rules — power rule, product rule, quotient rule, chain rule, trigonometric identities — and applying them without a single sign error. Our free derivative calculator gives you symbolic derivatives instantly, shows you exactly which differentiation rules were applied at each step, and plots both f(x) and f'(x) on an interactive graph so you can visualize the relationship between a function and its rate of change.
Enter any mathematical expression using standard notation — the calculator accepts variables, constants, arithmetic operators, and common functions like sin, cos, exp, ln, and sqrt. The symbolic computation engine powered by mathjs parses your expression, applies the appropriate differentiation rules, and returns the simplified derivative.
Beyond just the answer, the calculator shows you which rules were used at each step so you can follow the logic. It also plots both the original function f(x) and its derivative f'(x) on an interactive graph, letting you see how the slope of f(x) corresponds to the value of f'(x) at every point.
Input: x^3 + 2*x^2 - 5*x + 3
Output: 3x² + 4x - 5
The power rule is applied to each term: x³ becomes 3x², 2x² becomes 4x, -5x becomes -5, and the constant 3 drops out.
The calculator supports polynomials, trigonometric functions (sin, cos, tan, sec, csc, cot), exponential functions (e^x), natural logarithms (ln), square roots, and any combination of these using addition, subtraction, multiplication, division, and exponentiation. You can enter expressions like x^3 + sin(2*x) - e^x/ln(x).
After computing the derivative, the calculator displays which rules were applied — such as power rule, chain rule, product rule, or quotient rule — so you can follow the reasoning from the original expression to the final answer.
All computation happens entirely in your browser using the mathjs symbolic math library. Your expressions are never sent to a server, which means instant results and complete privacy.
The calculator currently computes derivatives with respect to x. For multivariable functions, you can treat other variables as constants and differentiate with respect to x to get the partial derivative ∂f/∂x.
You can compute higher-order derivatives by taking the output of the first derivative and entering it back into the calculator. For example, differentiate x⁴ to get 4x³, then differentiate 4x³ to get 12x² for the second derivative.
Yes, the derivative calculator is completely free with no usage limits. You can compute as many derivatives as you need for homework, studying, or professional work.
Let ChatGPT, Claude, or Perplexity do the thinking for you. Click a button and see what your favorite AI says about Formula Bot.
Calculate tips and split bills with ease.
Calculate your grade point average instantly.
Calculate area for any shape and convert between units.
Find square roots with step-by-step solutions.
Find out what you need on your final exam.
Solve quadratic equations step by step.
Find the missing side of a right triangle.
Calculate annuity payments and values.
Calculate dividend yield and income projections.
Solve long division with detailed steps.
Calculate your exact age in years, months, and days.
Find the slope and equation of a line.
Calculate how your investments grow over time.
Calculate sale prices and savings instantly.
Convert and calculate with scientific notation.
Calculate logarithms with any base.
Round numbers to any decimal place.
Calculate markup percentage and profit margins.
Add, subtract, multiply, and divide mixed numbers.
Calculate powers and exponents step by step.
Count and round significant figures.
Find the midpoint between two coordinate points.
Calculate percent error for experiments and data.
Find the GCF and LCM of any numbers.
Convert decimals to fractions in lowest terms.
Sign up for free and unlock unlimited calculations, saved history, and more.
Get Started Free