Derivative Calculator
Symbolic first and second derivatives of f(x), evaluation at any point, and a live graph of f and f′ from −10 to 10.
How it works
-
Type a function of x — for example x^3 - 2*x + 1 or sin(x)/x.
-
Read the symbolic derivative f′(x), computed and simplified instantly.
-
Toggle the second derivative if you need f″(x) as well.
-
Enter a value of x to evaluate f, f′ (and f″) there, and check the graph preview.
Frequently asked questions
Which functions and notation are supported?
Polynomials, rational functions, powers (x^3), roots (sqrt), exponentials and logarithms (exp, log), trigonometric and inverse trigonometric functions (sin, cos, tan, asin…), hyperbolic functions, absolute value, and combinations of all of these. Use * for multiplication and ^ for powers.
Is the derivative symbolic or numeric?
Symbolic. The expression is parsed into a syntax tree and differentiated with exact calculus rules (product, quotient, chain rule), then simplified — so you get a formula, not just a number. Numeric values are only computed when you evaluate at a specific x.
Can I get the second derivative?
Yes — switch on the second-derivative toggle and f″(x) is computed by differentiating f′(x) again. The evaluation box then shows f, f′, and f″ at your chosen point.
Is my function sent to a server?
No. All calculations run entirely in your browser — nothing is uploaded. The symbolic math engine is downloaded once and runs locally on your device.
Related tools
Graph Plotter
Plot up to three functions of x on one grid — zoom, set the domain, and download the graph as a PNG.
Equation Solver
Solve polynomials up to cubic (with complex roots), 2×2/3×3 linear systems, and any f(x) = 0 numerically.
Scientific Calculator
Type full expressions with sin, cos, log, √, π and more — evaluated instantly, with history and an ans variable.
Matrix Calculator
Add, subtract, and multiply matrices up to 6×6 — with transpose, determinant, inverse, rank, and a linear-system solver.