Numerical Derivative Calculator

Evaluate the first and second derivative of any function f(x) at a point using high-accuracy finite differences.

Results

f(xβ‚€)β€”
fβ€²(xβ‚€)β€”
fβ€³(xβ‚€)β€”
Tangent lineβ€”

How to use the Numerical Derivative Calculator

  1. Enter or select: f(x), At x =.
  2. The results (f(xβ‚€), fβ€²(xβ‚€), fβ€³(xβ‚€), Tangent line) are calculated instantly as you type.
  3. Use β€œCopy link” to share the calculation with the same input values.

Formula

  • fβ€²(x) β‰ˆ [βˆ’f(x+2h) + 8f(x+h) βˆ’ 8f(xβˆ’h) + f(xβˆ’2h)] / 12h

About this tool

Uses fourth-order central differences.