Numerical Derivative Calculator
Finite-difference derivative of a polynomial, sin, or exp. Central, forward, or backward. Not symbolic d/dx. Runs locally.
Trust summary Engine tested · Specification checked · 9/9 tests · Production surface contract 2/2 · v1.0.0
- Input interpretation
- Enter values to calculate.
- Result
- —
- Model
- Finite-difference derivative of poly, sin, or exp at x.
- Scope
- Not symbolic CAS d/dx
- Verification
- Engine tested · 9/9 tests · Production surface contract 2/2 · Specification checked · v1.0.0
- Named expert review
- Optional · Not performed
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Evidence
- 2 golden · 2 boundary · 5 property · Production surface contract 2/2 · Artifact integrity PASS
- Production
- Embedded snapshot: unpublished · Build schema 1.0.0 ready · Semantic contract ✓ · Attestation report not published on origin · Live production status STALE (1 capability; 163 remain CURRENT) @ 2026-09-19T00:00:17.039Z
- Semantic contract
- PASS
Formulas
Core equations used by this calculator.
How to use
Choose difference and f
Poly needs coeffs. sin and exp are f(x)=sin x and eˣ. Central is usually more accurate.
Enter x and optional h
The exact derivative is shown beside the finite-difference approximation.
Example calculations
Common configurations with formula and result.
x² at 3
coeffs 0,0,1, central
sin at 0
central
Numerical Derivative calculator specification
Version 1.0.0 · Engine tested
- Engine tested 9/9 tests · Production surface contract 2/2
- Named expert review Not performed
- Calculation version 1.0.0
- Definition
- f′(x) is approximated by a forward, backward, or central difference with step h. Polynomial, sin, and exp have an exact derivative used as a check — not a CAS.
- What it calculates
- Finite-difference derivative of poly, sin, or exp at x.
- Inputs
- method
- integrand
- x
- h?
- coeffs?
- Outputs
- value
- exact
- abs_err
- Formula
forward / backward / central difference- Assumptions
- Not symbolic CAS d/dx
- Polynomial degree ≤ 8
- Units
- dimensionless
- Boundary conditions
- h ≤ 0 → VALUE_MUST_BE_POSITIVE
- h > 1 → VALUE_OUT_OF_RANGE
- unknown method (including autodiff) → INVALID_MODE
- Example
- central poly 0,0,1 at x=3 → 6
- Validation cases
2 published on this page · 9/9 tests · Production surface contract 2/2 · View evidence
- method=central integrand=poly coeffs=0,0,1 x=3 → exact=6
- method=autodiff integrand=sin x=0 → INVALID_MODE
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Calculation version
- 1.0.0
Related tools
Other calculators in this family: Brent Method Calculator, Definite Integral Calculator, Gauss Quadrature Calculator, Golden Section Search Calculator, Numerical Interpolation Calculator, Numerical Root Calculator, One-Dimensional Optimization Calculator, Simpson Rule Calculator . Explore all Numerical Calculus.
Frequently asked questions
Key distinctions behind the calculation.
Can this differentiate a symbolic expression?
No. Symbolic d/dx is out of scope. This page is a finite difference of poly, sin, or exp, with an exact check.
Where does this run?
Locally in the browser by default. REST and MCP call the same derivative engine.