AnsRioSmart tools. Clear answers.
Home / Calculus / Numerical derivative calculator - slope at x
Calculus

Numerical derivative calculator - slope at x

Estimate the derivative of f(x)=x2 at a selected point using a centered finite-difference method.

Enter your values ⌁ Runs on your device

Your inputs stay in this browser and are not saved to an account.

YOUR RESULT
Ready when you are.

Enter your values, then select Calculate.

QUICK ANSWER

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
1.9999999999992246

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.

↗
Private tools for everyday decisions.

No sign-up. Tool inputs stay on your device.

How we work