1.9999999999992246
Use the inputs above for your own values. The result follows the method and assumptions shown below.
How it works
fprime(x) is approximately [f(x+h)-f(x-h)]/(2h) for f(x)=x2.
Input definitions
- Point x
- Enter the value in the labeled unit.
- Step size h
- Enter the value in the labeled unit.
A worked example
- Point x
- 1
- Step size h
- 0.0001
Assumptions & limits
This educational derivative uses a centered finite difference.
Sources & review
Maintained by AnsRio. Methods and examples are reviewed against the stated formula; this is not professional certification.
Method updated 2026-11-15. Reviewed against the stated method and example. Our verification approach.
Report an issue with this tool or suggest an improvement ↗
Common questions
How does the Numerical derivative calculator - slope at x work?
fprime(x) is approximately [f(x+h)-f(x-h)]/(2h) for f(x)=x2. The result is calculated locally from the values you enter.
What inputs does this calculator need?
Enter the labeled values, check the units and review the assumptions before using the result.
Are the results exact?
This educational derivative uses a centered finite difference. Results are calculated in your browser and displayed with suitable rounding.