Derivative Calculator
This derivative calculator needs no sign-up: enter a function of x and it returns the simplified derivative together with the steps and the rules used. On request you also get the second and third derivative plus the function value, slope and tangent line at a chosen point.
Source: Differentiation rules: sum, constant factor, product, power and chain rule, plus derivatives of sin, cos, tan, exp, ln (standard calculus material). Updated: .
How it is calculated
The derivative of a function tells you how fast its value changes: at every point it is the slope of the tangent line. This tool differentiates functions of one variable symbolically, simplifies the result and shows which rule was applied to which part.
The main differentiation rules
- Power rule: (xⁿ)′ = n·xⁿ⁻¹, so (x³)′ = 3x².
- Constant factor and sum rule: a number in front stays, sums are differentiated term by term.
- Product rule: (u·v)′ = u′·v + u·v′, for example for x²·sin(x).
- Chain rule: for nested functions such as sin(2x) the outer derivative is multiplied by the inner one: 2·cos(2x).
- Standard functions: (sin x)′ = cos x, (cos x)′ = −sin x, (eˣ)′ = eˣ, (ln x)′ = 1/x.
Higher derivatives, slope and tangent line
The second derivative describes curvature, the third the change of curvature. If you enter a point x₀, the tool computes the function value, the slope f′(x₀) and the tangent line y = f′(x₀)·(x − x₀) + f(x₀). The core is checked in its tests against the difference quotient. You can see the shape of the function in the function plotter; for roots and powers use the exponent calculator and the quadratic equation solver.
Graph, extrema and cross-check
Below the fields the tool draws f (solid) and f′ (dashed) in one picture. Enter a point x₀ and the point of contact and the tangent line are added. You can see directly: where f′ crosses the x-axis, f has a horizontal tangent; where f′ is positive, f rises.
The line “Points where f′(x) = 0” lists these points between −10 and 10 and classifies them with the second derivative: f″ < 0 is a local maximum, f″ > 0 a local minimum. If f″ = 0 as well, only the sign change of f′ decides – the tool says so. The points are found numerically and rounded to 6 significant digits.
Before anything is shown, every derivative is compared in the background with the difference quotient at 24 points. If something does not match, you get a message instead of a result. Derivatives are now available up to the fifth order. Not supported are arcsin, arccos, arctan, sinh, cosh, absolute values and several variables – you get a clear message for those. For the reverse operation, the antiderivative, use the integral calculator.
Frequently asked questions
How do I calculate a derivative?
Split the function into parts and apply the matching rule to each: the power rule for xⁿ, sum and constant factor rules for sums and numbers in front, the product or chain rule for combinations. The tool shows exactly these steps.
Which functions are supported?
Sums, products, fractions and powers of x as well as sin, cos, tan, exp, ln and roots, plus the constants e and pi. Expressions such as 2^x or x^x work too. Several variables and integrals are not included.
How do I type fractions and roots?
Fractions with a slash, such as 1/x or (x+1)/(x-2). Roots with sqrt(x) or as a power x^(1/2). Decimal numbers work with a point or a comma: 0.5x^2.
What is the tangent line at a point?
The straight line that touches the graph at x₀ and has the same slope there. It is y = f′(x₀)·(x − x₀) + f(x₀). The tool fills in the numbers for you.
Why does my result look different from the textbook answer?
Equal derivatives can be written in different ways, e.g. 2sin(x)·cos(x) and sin(2x). To check, plug in the same value: if both forms give the same number, they are equivalent.
Sources and legal basis
- Differentiation rules: sum, constant factor, product, power and chain rule, plus derivatives of sin, cos, tan, exp, ln (standard calculus material)
- NIST Digital Library of Mathematical Functions – Elementary Functions (Ableitungen elementarer Funktionen)
As of: · Editorial policy
Related tools
- Integral CalculatorIntegral calculator with steps: antiderivatives by substitution, parts or partial fractions, definite integrals with a shaded graph and a derivative check.
- Double integral calculatorDouble integral calculator: integrate f(x, y) over rectangles, regions with curved limits or in polar coordinates – result, error estimate, area and average.
- Online graphing calculatorGraphing calculator online: plot up to three functions, zoom and pan, find roots, extrema and intersections, use a slider for a, save as PNG or SVG. Free.
- Exponent calculator with stepsCalculate powers, nth roots and logarithms with any base – step-by-step, with negative and fractional exponents, ln, log and scientific notation.
- Quadratic Formula CalculatorQuadratic formula calculator: solve ax² + bx + c = 0 with steps – roots, discriminant, exact radical form, vertex, factored form and complex roots.
- Square Root CalculatorSquare root calculator with steps: square, cube and nth roots, simplified radical form (√72 = 6√2), prime factorisation and the Babylonian method.
- Online CalculatorCalculator online, free and instant: type or tap and see the answer as you go – order of operations, brackets, percent, square root, steps and a history list.
- Easy grader for teachersEasy grader for teachers: enter the number of questions and how many were wrong to get the percentage and letter grade, plus a full grading chart to print.
- German Grade Converter: Convert Foreign Grades with the Bavarian FormulaGerman grade converter: turn foreign grades into German grades or back with the Bavarian formula, using your own limits, average and working. Free.